Browse Source

refactoring database connection.

Taylor Otwell 13 years ago
parent
commit
ca8883d727
1 changed files with 1 additions and 4 deletions
  1. 1 4
      laravel/database/connection.php

+ 1 - 4
laravel/database/connection.php

@@ -25,10 +25,7 @@ class Connection {
 	 * @param  PDO   $pdo
 	 * @return void
 	 */
-	public function __construct(PDO $pdo)
-	{
-		$this->pdo = $pdo;
-	}
+	public function __construct(PDO $pdo) { $this->pdo = $pdo; }
 
 	/**
 	 * Execute a SQL query against the connection and return a scalar result.