Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Listener/PreSerializeListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Radmas\VichJmsIntegrationBundle\Listener;

use Doctrine\Common\Annotations\FileCacheReader;
use Doctrine\Common\Annotations\Reader;
use JMS\Serializer\EventDispatcher\EventSubscriberInterface;
use JMS\Serializer\EventDispatcher\ObjectEvent;
use Metadata\ClassMetadata;
Expand All @@ -30,7 +30,7 @@ class PreSerializeListener implements EventSubscriberInterface {
private $logger;
private $visited = array();

function __construct(UploaderHelper $vich, FileCacheReader $annotations, Logger $logger)
function __construct(UploaderHelper $vich, Reader $annotations, Logger $logger)
{
$this->annotations = $annotations;
$this->vich = $vich;
Expand Down