1 | <?php |
||
20 | class EditUnitUseCase implements ResponderAwareInterface |
||
21 | { |
||
22 | use ResponderAwareTrait; |
||
23 | /** |
||
24 | * @var UnitRepositoryInterface |
||
25 | */ |
||
26 | private $unitRepository; |
||
27 | |||
28 | /** |
||
29 | * EditUnitUseCase constructor. |
||
30 | * |
||
31 | * @param UnitRepositoryInterface $unitRepository |
||
32 | */ |
||
33 | public function __construct(UnitRepositoryInterface $unitRepository) |
||
37 | |||
38 | /** |
||
39 | * @param EditUnitRequest $request |
||
40 | */ |
||
41 | public function execute(EditUnitRequest $request) |
||
55 | |||
56 | /** |
||
57 | * @param UnitInterface $unit |
||
58 | */ |
||
59 | private function unitUpdated(UnitInterface $unit) |
||
66 | |||
67 | private function unitNotFound() |
||
74 | } |
||
75 |
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.