| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | protected function getContainer() |
||
| 36 | { |
||
| 37 | if (null === $this->container) { |
||
| 38 | $application = $this->getApplication(); |
||
| 39 | if (null === $application) { |
||
| 40 | throw new LogicException('The container cannot be retrieved as the application instance is not yet set.'); |
||
| 41 | } |
||
| 42 | |||
| 43 | $this->container = $application->getKernel()->getContainer(); |
||
|
|
|||
| 44 | } |
||
| 45 | |||
| 46 | return $this->container; |
||
| 47 | } |
||
| 48 | |||
| 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.