Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'serializer-renamed-interfaces' of https://github.com/pr…
Browse files Browse the repository at this point in the history
…olic/zf2 into feature/zen27-serializer
  • Loading branch information
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Storage/Plugin/PluginOptions.php
Expand Up @@ -22,7 +22,7 @@
namespace Zend\Cache\Storage\Plugin;

use Zend\Cache\Exception,
Zend\Serializer\Adapter as SerializerAdapter,
Zend\Serializer\Adapter\AdapterInterface as SerializerAdapter,
Zend\Serializer\Serializer as SerializerFactory,
Zend\Stdlib\Options;

Expand Down Expand Up @@ -241,7 +241,7 @@ public function setSerializer($serializer)
{
if (!is_string($serializer) && !$serializer instanceof SerializerAdapter) {
throw new Exception\InvalidArgumentException(sprintf(
'%s expects either a string serializer name or Zend\Serializer\Adapter instance; '
'%s expects either a string serializer name or Zend\Serializer\Adapter\AdapterInterface instance; '
. 'received "%s"',
__METHOD__,
(is_object($serializer) ? get_class($serializer) : gettype($serializer))
Expand Down

0 comments on commit 730da5d

Please sign in to comment.