You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am guessing that the best solution for this, as well as possibly other locations to change the boolean false to null and mark the method to return ?object instead
HydratingResultSet
current()
method is specified in the DocBlock block that is should return an object as seen here:https://github.com/zendframework/zend-db/blob/ec0e9b51a09fc44f81af77fb949808fb4552c1cf/src/ResultSet/HydratingResultSet.php#L93
The method however could also return a boolean
false
:https://github.com/zendframework/zend-db/blob/ec0e9b51a09fc44f81af77fb949808fb4552c1cf/src/ResultSet/HydratingResultSet.php#L103
I am guessing that the best solution for this, as well as possibly other locations to change the boolean
false
tonull
and mark the method to return?object
insteadOriginally posted by @twmobius at zendframework/zend-db#316
The text was updated successfully, but these errors were encountered: