Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d951aa0

Browse files
authored
Merge pull request #10721 from phansys/query_single_result
2 parents 4e137f7 + be297b9 commit d951aa0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Doctrine/ORM/AbstractQuery.php

Lines changed: 1 addition & 1 deletion
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)