Skip to content

Commit 3e6ec3b

Browse files
authored
Merge pull request #18 from andrejvrabec/fix/apcu_cache
Fixing apcu cache in ApcuFactory
2 parents 02bc805 + 2bf1069 commit 3e6ec3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/DI/ZendFramework2/Service/CacheFactory/ApcuFactory.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
namespace DI\ZendFramework2\Service\CacheFactory;
88

9-
use Doctrine\Common\Cache\ApcCache;
9+
use Doctrine\Common\Cache\ApcuCache;
1010

1111
/**
1212
* Class RedisFactory
@@ -18,11 +18,11 @@ final class ApcuFactory implements CacheFactoryInterface
1818

1919
/**
2020
* @param array $config
21-
* @return ApcCache
21+
* @return ApcuCache
2222
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
2323
*/
2424
public function newInstance(array $config)
2525
{
26-
return new ApcCache();
26+
return new ApcuCache();
2727
}
2828
}

0 commit comments

Comments
 (0)