1 | <?php |
||
2 | |||
3 | namespace Helldar\LaravelActions\Traits; |
||
4 | |||
5 | /** @mixin \Illuminate\Console\Command */ |
||
6 | trait Argumentable |
||
7 | { |
||
8 | 8 | protected function argumentName(): string |
|
9 | { |
||
10 | 8 | $value = (string) $this->argument('name'); |
|
0 ignored issues
–
show
|
|||
11 | |||
12 | 8 | return trim($value); |
|
13 | } |
||
14 | } |
||
15 |
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.