Commit 97f423a4 authored by Marco Pivetta's avatar Marco Pivetta Committed by GitHub

Merge pull request #2437 from mnapoli/patch-1

Improve the phpdoc in Connection
parents 0348953f 8e004142
...@@ -502,7 +502,7 @@ class Connection implements DriverConnection ...@@ -502,7 +502,7 @@ class Connection implements DriverConnection
* @param array $params The query parameters. * @param array $params The query parameters.
* @param array $types The query parameter types. * @param array $types The query parameter types.
* *
* @return array * @return array|bool False is returned if no rows are found.
*/ */
public function fetchAssoc($statement, array $params = array(), array $types = array()) public function fetchAssoc($statement, array $params = array(), array $types = array())
{ {
...@@ -517,7 +517,7 @@ class Connection implements DriverConnection ...@@ -517,7 +517,7 @@ class Connection implements DriverConnection
* @param array $params The prepared statement params. * @param array $params The prepared statement params.
* @param array $types The query parameter types. * @param array $types The query parameter types.
* *
* @return array * @return array|bool False is returned if no rows are found.
*/ */
public function fetchArray($statement, array $params = array(), array $types = array()) public function fetchArray($statement, array $params = array(), array $types = array())
{ {
...@@ -533,7 +533,7 @@ class Connection implements DriverConnection ...@@ -533,7 +533,7 @@ class Connection implements DriverConnection
* @param integer $column The 0-indexed column number to retrieve. * @param integer $column The 0-indexed column number to retrieve.
* @param array $types The query parameter types. * @param array $types The query parameter types.
* *
* @return mixed * @return mixed|bool False is returned if no rows are found.
*/ */
public function fetchColumn($statement, array $params = array(), $column = 0, array $types = array()) public function fetchColumn($statement, array $params = array(), $column = 0, array $types = array())
{ {
......
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