1 | <?php |
||
21 | class CreateMaterialUseCase implements ResponderAwareInterface |
||
22 | { |
||
23 | use ResponderAwareTrait; |
||
24 | |||
25 | /** @var MaterialRepositoryInterface */ |
||
26 | private $materialRepository; |
||
27 | |||
28 | /** @var MaterialFactoryInterface */ |
||
29 | private $materialFactory; |
||
30 | |||
31 | /** |
||
32 | * CreateMaterialUseCase constructor. |
||
33 | * |
||
34 | * @param MaterialRepositoryInterface $materialRepository |
||
35 | * @param MaterialFactoryInterface $materialFactory |
||
36 | */ |
||
37 | public function __construct( |
||
44 | |||
45 | /** |
||
46 | * @param CreateMaterialRequest $request |
||
47 | */ |
||
48 | public function execute(CreateMaterialRequest $request) |
||
65 | |||
66 | /** |
||
67 | * @param CategoryInterface $category |
||
68 | */ |
||
69 | private function callWarningLimitationAssignOnlyToLeaf(CategoryInterface $category) |
||
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.