Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update doc block comments #214

Merged
merged 1 commit into from
Feb 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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