Skip to content

Commit be297b9

Browse files
committed
Narrow return types for AbstractQuery::getSingleScalarResult()
1 parent 4e137f7 commit be297b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Doctrine/ORM/AbstractQuery.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ public function getSingleResult($hydrationMode = null)
10101010
*
10111011
* Alias for getSingleResult(HYDRATE_SINGLE_SCALAR).
10121012
*
1013-
* @return mixed The scalar result.
1013+
* @return bool|float|int|string The scalar result.
10141014
*
10151015
* @throws NoResultException If the query returned no result.
10161016
* @throws NonUniqueResultException If the query result is not unique.

0 commit comments

Comments
 (0)