| 1 | <?php |
||
| 23 | abstract class ContainerAwareCommand extends Command |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var ContainerInterface|null |
||
| 27 | */ |
||
| 28 | private $container; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return ContainerInterface |
||
| 32 | * |
||
| 33 | * @throws LogicException |
||
| 34 | */ |
||
| 35 | protected function getContainer() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Sets the container. |
||
| 51 | * |
||
| 52 | * @param ContainerInterface|null $container A ContainerInterface instance or null |
||
| 53 | */ |
||
| 54 | public function setContainer(ContainerInterface $container = null) |
||
| 58 | } |
||
| 59 |
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.