Skip to content

Commit

Permalink
Update PDOStatement::fetchAll @throws phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
BC-SEven authored and isfedorov committed Oct 28, 2024
1 parent 057d28e commit 08ee6c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion PDO/PDO.php
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,10 @@ public function fetchColumn(#[LanguageLevelTypeAware(['8.0' => 'int'], default:
* all of the remaining rows in the result set. The array represents each
* row as either an array of column values or an object with properties
* corresponding to each column name.
* An empty array is returned if there are zero results to fetch, or false on failure.
* An empty array is returned if there are zero results to fetch.
* </p>
* @throws PDOException <b>PDOStatement::fetchAll</b> throws on failure if the
* attribute <b>PDO::ATTR_ERRMODE</b> is set to <b>PDO::ERRMODE_EXCEPTION</b>.
* </p>
* <p>
* Using this method to fetch large result sets will result in a heavy
Expand Down

0 comments on commit 08ee6c0

Please sign in to comment.