Skip to content

Fix PDOStatement::fetchAll() return type#5317

Merged
muglug merged 1 commit intovimeo:masterfrom
morozov:pdo-statement-fetch-all-false
Mar 5, 2021
Merged

Fix PDOStatement::fetchAll() return type#5317
muglug merged 1 commit intovimeo:masterfrom
morozov:pdo-statement-fetch-all-false

Conversation

@morozov
Copy link
Copy Markdown
Contributor

@morozov morozov commented Mar 3, 2021

From the PHP documentation:

public PDOStatement::fetchAll (int $fetch_style = ?, mixed $fetch_argument = ?, array $ctor_args = array()): array|false

[…]

An empty array is returned if there are zero results to fetch, or false on failure.

@muglug muglug merged commit 9bde1d9 into vimeo:master Mar 5, 2021
@morozov morozov deleted the pdo-statement-fetch-all-false branch March 5, 2021 05:09
This was referenced Mar 15, 2021
This was referenced Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants