| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function handle(ServerRequestInterface $request): ResponseInterface |
||
| 29 | { |
||
| 30 | [$next, $path] = $this->manager->get($this->index); |
||
| 31 | |||
| 32 | if (null === $next) { |
||
| 33 | throw new \OutOfRangeException('Handler not found'); |
||
| 34 | } |
||
| 35 | |||
| 36 | $this->rewindBy(1); |
||
| 37 | $response = $this->callNext($path, $request, $next); |
||
| 38 | $this->rewindBy(-1); |
||
| 39 | |||
| 40 | return $response; |
||
| 41 | } |
||
| 64 |
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.