1 | <?php |
||
20 | class UnitListUseCase implements ResponderAwareInterface |
||
21 | { |
||
22 | use ResponderAwareTrait; |
||
23 | |||
24 | /** |
||
25 | * @var UnitRepositoryInterface |
||
26 | */ |
||
27 | private $unitRepository; |
||
28 | |||
29 | /** |
||
30 | * UnitListUseCase constructor. |
||
31 | * |
||
32 | * @param UnitRepositoryInterface $unitRepository |
||
33 | */ |
||
34 | public function __construct(UnitRepositoryInterface $unitRepository) |
||
38 | |||
39 | public function execute() |
||
45 | |||
46 | /** |
||
47 | * @param array $units |
||
48 | * @return array |
||
49 | */ |
||
50 | private function fetchList(array $units) |
||
64 | |||
65 | /** |
||
66 | * @param array $items |
||
67 | */ |
||
68 | private function unitListFetched(array $items) |
||
75 | } |
||
76 |
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.