Fixed
-
gesdinet:jwt:clearcrashed witharray_map(): Argument #2 ($array) must be of type array, Doctrine\ODM\MongoDB\Iterator\CachingIterator givenwhen using the MongoDB ODM.The ORM repository returns an array, but the ODM one returns a
CachingIterator, andRefreshTokenManager::revokeAllInvalid()passed it straight through to the command. It now always returns theRefreshTokenInterface[]documented byRefreshTokenManagerInterface, whatever the repository returns.
Reported in #424 by @melkamar.
Full Changelog: v1.5.0...v1.5.1