| Conditions | 2 |
| Paths | 2 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | public static function where(array $wheres): Router |
||
| 10 | { |
||
| 11 | $route = self::getInstance()->inSabe(); |
||
|
|
|||
| 12 | $route['where'] = (is_array($route['where'])) ? array_merge($route['where'],$wheres) : $wheres; |
||
| 13 | self::getInstance()->updateRoute($route,array_key_last(self::getInstance()->routes)); |
||
| 14 | return self::getInstance(); |
||
| 15 | } |
||
| 56 |
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.