Remove an unneeded parameter from Query Builder and fix some docs

This commit is contained in:
Timothy Warren 2014-04-02 11:52:55 -04:00
parent 405ff86cbc
commit 9c55ed51c0
3 changed files with 3 additions and 4 deletions

View File

@ -407,7 +407,7 @@ abstract class Abstract_Driver extends PDO implements Driver_Interface {
/**
* Method to simplify retreiving db results for meta-data queries
*
* @param string $sql
* @param string|array|null $sql
* @param bool $filtered_index
* @return array
*/

View File

@ -148,7 +148,7 @@ final class Connection_Manager {
}
// Create the Query Builder object
$conn = new Query_Builder($db, $params);
$conn = new Query_Builder($db);
// Save it for later
if (isset($params->alias))

View File

@ -177,9 +177,8 @@ class Query_Builder implements Query_Builder_Interface {
* Constructor
*
* @param Abstract_driver $db
* @param ArrayObject $params - the connection parameters
*/
public function __construct(Driver_Interface $db, ArrayObject $params)
public function __construct(Driver_Interface $db)
{
$this->db = $db;