src/Factory/Authentication/StorageFactory.php
public function createService(ServiceLocatorInterface $serviceLocator)
    {
        /* @var $options AuthenticationOptionsInterface */
        $options = $serviceLocator->get(ModuleOptions::class);

        return new DefaultStorage($serviceLocator->get('MapperManager')->get($options->getUserEntityClass()));
    }
public function createService(ServiceLocatorInterface $serviceLocator)
    {
        /* @var $options AuthenticationOptionsInterface */
        $options = $serviceLocator->get(ModuleOptions::class);

        return new DefaultStorage($serviceLocator->get('MapperManager')->get($options->getUserEntityClass()));
    }
{@inheritDoc}

@return DefaultStorage