Conditions | 4 |
Paths | 3 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
43 | public function request() |
||
44 | { |
||
45 | // we will look at the requestExpected container value to show |
||
46 | // the expected values for the request object in the exception output. |
||
47 | if(app()->has('requestExpected') && config('app.requestWithError')===true){ |
||
|
|||
48 | if($requestExpected = app()->get('requestExpected')){ |
||
49 | $this->result['request']['expected'] = $requestExpected; |
||
50 | } |
||
63 | } |
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.