Skip to content

Commit

Permalink
Merge pull request #214 from harikt/3x-return-type
Browse files Browse the repository at this point in the history
update doc block comments
  • Loading branch information
koriym authored Feb 28, 2022
2 parents 1134687 + 503231d commit ce1ac37
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/AbstractExtendedPdo.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ abstract public function disconnect();
*
* Gets the most recent error code.
*
* @return mixed
* @return string
*
*/
#[\ReturnTypeWillChange]
Expand Down Expand Up @@ -206,7 +206,7 @@ public function errorInfo()
*
* @param string $statement The SQL statement to prepare and execute.
*
* @return int The number of affected rows.
* @return int|false The number of affected rows.
*
* @see http://php.net/manual/en/pdo.exec.php
*
Expand Down Expand Up @@ -343,7 +343,7 @@ public function fetchGroup(
*
* @param array $args Arguments to pass to the object constructor.
*
* @return object
* @return object|false
*
*/
public function fetchObject(
Expand Down Expand Up @@ -527,7 +527,7 @@ public function isConnected()
* @param string $name The name of the sequence to check; typically needed
* only for PostgreSQL, where it takes the form of `<table>_<column>_seq`.
*
* @return string
* @return string|false
*
* @see http://php.net/manual/en/pdo.lastinsertid.php
*
Expand Down Expand Up @@ -576,7 +576,7 @@ public function perform($statement, array $values = [])
* @param array $options Set these attributes on the returned
* PDOStatement.
*
* @return PDOStatement
* @return PDOStatement|false
*
* @see http://php.net/manual/en/pdo.prepare.php
*
Expand Down Expand Up @@ -606,7 +606,7 @@ public function prepare($statement, $options = [])
*
* @param array $values The values to bind to the statement, if any.
*
* @return PDOStatement
* @return PDOStatement|false
*
* @see http://php.net/manual/en/pdo.prepare.php
*
Expand Down Expand Up @@ -645,7 +645,7 @@ public function prepareWithValues($statement, array $values = [])
*
* @param mixed ...$fetch Optional fetch-related parameters.
*
* @return PDOStatement
* @return PDOStatement|false
*
* @see http://php.net/manual/en/pdo.query.php
*
Expand All @@ -671,7 +671,7 @@ public function query($statement, ...$fetch)
*
* @param int $type A data type hint for the database driver.
*
* @return string The quoted value.
* @return string|false The quoted value.
*
* @see http://php.net/manual/en/pdo.quote.php
*
Expand Down

0 comments on commit ce1ac37

Please sign in to comment.