Skip to content

Commit

Permalink
Fix return type of getSingleScalarResult (#10870)
Browse files Browse the repository at this point in the history
  • Loading branch information
whatUwant authored Aug 9, 2023
1 parent 6de4b68 commit 6b220e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Doctrine/ORM/AbstractQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -1010,9 +1010,8 @@ public function getSingleResult($hydrationMode = null)
*
* Alias for getSingleResult(HYDRATE_SINGLE_SCALAR).
*
* @return bool|float|int|string The scalar result.
* @return bool|float|int|string|null The scalar result.
*
* @throws NoResultException If the query returned no result.
* @throws NonUniqueResultException If the query result is not unique.
*/
public function getSingleScalarResult()
Expand Down

0 comments on commit 6b220e3

Please sign in to comment.