Renamed fetchRow() to fetchAssoc() as marked as a TODO.
This commit is contained in:
parent
e2766ca636
commit
ba6ed43afa
@ -290,9 +290,8 @@ class Connection implements DriverConnection
|
||||
* @param string $statement The SQL query.
|
||||
* @param array $params The query parameters.
|
||||
* @return array
|
||||
* @todo Rename: fetchAssoc
|
||||
*/
|
||||
public function fetchRow($statement, array $params = array())
|
||||
public function fetchAssoc($statement, array $params = array())
|
||||
{
|
||||
return $this->executeQuery($statement, $params)->fetch(PDO::FETCH_ASSOC);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user