diff --git a/src/AbstractExtendedPdo.php b/src/AbstractExtendedPdo.php index 2c6ed6b..604d0c2 100644 --- a/src/AbstractExtendedPdo.php +++ b/src/AbstractExtendedPdo.php @@ -176,7 +176,7 @@ abstract public function disconnect(); * * Gets the most recent error code. * - * @return mixed + * @return string * */ #[\ReturnTypeWillChange] @@ -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 * @@ -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( @@ -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 `__seq`. * - * @return string + * @return string|false * * @see http://php.net/manual/en/pdo.lastinsertid.php * @@ -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 * @@ -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 * @@ -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 * @@ -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 *