1 | <?php |
||
11 | class DoctrineStorage implements StorageInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var EntityManagerInterface |
||
15 | */ |
||
16 | private $entityManager; |
||
17 | |||
18 | /** |
||
19 | * @var TaskRepository |
||
20 | */ |
||
21 | private $taskRepository; |
||
22 | |||
23 | 33 | public function __construct(EntityManagerInterface $entityManager, TaskRepository $taskRepository) |
|
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | 30 | public function store(TaskInterface $task) |
|
56 | |||
57 | 3 | /** |
|
58 | * {@inheritdoc} |
||
59 | 3 | */ |
|
60 | 3 | public function findScheduled() |
|
69 | |||
70 | 3 | /** |
|
71 | * {@inheritdoc} |
||
72 | 3 | */ |
|
73 | 3 | public function findAll() |
|
82 | 6 | ||
83 | /** |
||
84 | 6 | * {@inheritdoc} |
|
85 | 6 | */ |
|
86 | 6 | public function persist(TaskInterface $task) |
|
94 | 30 | ||
95 | /** |
||
96 | * {@inheritdoc} |
||
97 | */ |
||
98 | public function clear() |
||
103 | |||
104 | private function setTask(TaskEntity $entity, TaskInterface $task) |
||
112 | } |
||
113 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.