Skip to content

Commit

Permalink
Merge pull request #10 from idmarinas/master
Browse files Browse the repository at this point in the history
Use interface for avoid error with instance passed
  • Loading branch information
Bukashk0zzz authored May 20, 2021
2 parents 7ce7050 + 6af422b commit 2c8c5c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Service/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Bukashk0zzz\FilterBundle\Service;

use Bukashk0zzz\FilterBundle\Annotation\FilterAnnotation;
use Doctrine\Common\Annotations\CachedReader;
use Doctrine\Common\Annotations\Reader;
use Doctrine\Common\Util\ClassUtils;
use Laminas\Filter\AbstractFilter;
use Laminas\Filter\FilterInterface;
Expand All @@ -14,16 +14,16 @@
class Filter
{
/**
* @var CachedReader Cached annotation reader
* @var Reader Cached annotation reader
*/
protected $annotationReader;

/**
* Filter constructor.
*
* @param CachedReader $annotationReader
* @param Reader $annotationReader
*/
public function __construct(CachedReader $annotationReader)
public function __construct(Reader $annotationReader)
{
$this->annotationReader = $annotationReader;
}
Expand Down

0 comments on commit 2c8c5c6

Please sign in to comment.