1 | <?php |
||
13 | class TaskManager |
||
14 | { |
||
15 | /** |
||
16 | * @var ManagerRegistry |
||
17 | */ |
||
18 | protected $doctrine; |
||
19 | |||
20 | /** |
||
21 | * @param ManagerRegistry $doctrine |
||
22 | */ |
||
23 | public function setDoctrine($doctrine) |
||
27 | |||
28 | /** |
||
29 | * @param string $service |
||
30 | * @param \DateTime|null $executeAt |
||
31 | * @param array|null $params |
||
32 | * @return QueuedTaskInterface |
||
33 | */ |
||
34 | public function queue(string $service, \DateTime $executeAt = null, array $params = null) |
||
41 | |||
42 | /** |
||
43 | * @param QueuedTaskInterface $run |
||
44 | */ |
||
45 | public function start(QueuedTaskInterface $run) |
||
50 | |||
51 | /** |
||
52 | * @param string $service |
||
53 | * @param array $params |
||
54 | * @return QueuedTaskInterface |
||
55 | */ |
||
56 | public function run(string $service, array $params = null) |
||
67 | |||
68 | /** |
||
69 | * @param QueuedTaskInterface $run |
||
70 | * @param $response |
||
71 | */ |
||
72 | public function success(QueuedTaskInterface $run, $response) |
||
77 | |||
78 | /** |
||
79 | * @param QueuedTaskInterface $run |
||
80 | * @param $response |
||
81 | */ |
||
82 | public function failure(QueuedTaskInterface $run, $response) |
||
87 | |||
88 | /** |
||
89 | * @param QueuedTaskInterface $run |
||
90 | * @param string $service |
||
91 | */ |
||
92 | private function populateSchedule(QueuedTaskInterface $run, $service) |
||
104 | } |
||
105 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.