| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1.0156 |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | protected function commands() |
||
| 37 | { |
||
| 38 | /*------------------------------------------------------------------------- |
||
| 39 | | This is where you may define all of your Closure based console |
||
| 40 | | commands. Each Closure is bound to a command instance allowing a |
||
| 41 | | simple approach to interacting with each command's IO methods. |
||
| 42 | *------------------------------------------------------------------------*/ |
||
| 43 | |||
| 44 | 4 | app(\Illuminate\Contracts\Console\Kernel::class)->command('inspire', function () { |
|
| 45 | /** @var \Illuminate\Console\Command $this */ |
||
| 46 | $this->comment(Inspiring::quote()); |
||
|
|
|||
| 47 | 4 | }); |
|
| 48 | } |
||
| 49 | } |
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.