Skip to content

Commit

Permalink
Narrow return types for AbstractQuery::getSingleScalarResult()
Browse files Browse the repository at this point in the history
  • Loading branch information
phansys committed May 23, 2023
1 parent 8fba9d6 commit 6b70699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/AbstractQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ public function getSingleResult($hydrationMode = null)
*
* Alias for getSingleResult(HYDRATE_SINGLE_SCALAR).
*
* @return mixed The scalar result.
* @return bool|float|int|string The scalar result.
*
* @throws NoResultException If the query returned no result.
* @throws NonUniqueResultException If the query result is not unique.
Expand Down

0 comments on commit 6b70699

Please sign in to comment.