Commit ca8883d7 authored by Taylor Otwell's avatar Taylor Otwell

refactoring database connection.

parent 68b0d291
...@@ -25,10 +25,7 @@ class Connection { ...@@ -25,10 +25,7 @@ class Connection {
* @param PDO $pdo * @param PDO $pdo
* @return void * @return void
*/ */
public function __construct(PDO $pdo) public function __construct(PDO $pdo) { $this->pdo = $pdo; }
{
$this->pdo = $pdo;
}
/** /**
* Execute a SQL query against the connection and return a scalar result. * Execute a SQL query against the connection and return a scalar result.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment