Closed core23 closed 7 years ago
According to the phpdoc, the methods could return a null response.
null
The used getSingleResult method will throw an exception, if there was no or more than one result which is wrong. http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html#query-result-formats
getSingleResult
Looks nice, thank you.
Is there a chance to get a new patch release @stephpy ? The last release is from 2015
According to the phpdoc, the methods could return a
null
response.The used
getSingleResult
method will throw an exception, if there was no or more than one result which is wrong. http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/dql-doctrine-query-language.html#query-result-formats