Conditions | 2 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
24 | public function boot() |
||
25 | { |
||
26 | Response::macro('tdkThrow', function () { |
||
27 | $this->throw(); |
||
|
|||
28 | |||
29 | if (isset($this->json()['error'])) { |
||
30 | throw new TDKException($this); |
||
31 | } |
||
32 | |||
33 | return $this; |
||
34 | }); |
||
35 | |||
36 | $this->app->singleton('thecaliskan-tdk', function ($app) { |
||
37 | return new TDK($app); |
||
38 | }); |
||
53 |
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.