| 1 | <?php |
||
| 24 | class ReRouteControllerModel implements ReRouteControllerModelInterface |
||
| 25 | { |
||
| 26 | protected $reRoute; |
||
| 27 | |||
| 28 | public function __construct(ReRouteInterface $reRoute) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Returns ResponseParameters to the given route with the given parameters. |
||
| 35 | * |
||
| 36 | * @param string $route The name of the route |
||
| 37 | * @param mixed $parameters An array of parameters |
||
| 38 | * |
||
| 39 | * @return Response |
||
| 40 | * |
||
| 41 | * @see Interface ReRouteControllerModelInterface |
||
| 42 | */ |
||
| 43 | public function __invoke($route, $parameters = [], Request $request = null) |
||
| 47 | } |
||
| 48 | |||
| 50 |
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.