Skip to content

Commit

Permalink
Merge pull request #7603 from creocoder/patch-1
Browse files Browse the repository at this point in the history
`AbstractQuery::getSingleScalarResult()` never conditionally returns `null`: corrected docblock accordingly
  • Loading branch information
Ocramius authored Feb 11, 2019
2 parents ed61f0e + 5e3db26 commit 97e275f
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 @@ -766,7 +766,7 @@ public function getSingleResult($hydrationMode = null)
*
* Alias for getSingleResult(HYDRATE_SINGLE_SCALAR).
*
* @return mixed The scalar result, or NULL if the query returned no result.
* @return mixed
*
* @throws NonUniqueResultException If the query result is not unique.
* @throws NoResultException If the query returned no result.
Expand Down

0 comments on commit 97e275f

Please sign in to comment.