1 | <?php |
||
8 | class ArtisanTinker extends Command |
||
9 | { |
||
10 | /** |
||
11 | * The console command name. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $name = 'tinker'; |
||
16 | |||
17 | /** |
||
18 | * The console command description. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $description = 'artisn tinker'; |
||
23 | |||
24 | /** |
||
25 | * fire. |
||
26 | */ |
||
27 | 6 | public function fire() |
|
55 | |||
56 | 6 | protected function executeCode($code) |
|
67 | |||
68 | /** |
||
69 | * Get the console command options. |
||
70 | * |
||
71 | * @return array |
||
72 | */ |
||
73 | 6 | protected function getOptions() |
|
79 | } |
||
80 |
This check looks for function or method calls that always return null and whose return value is assigned to a variable.
The method
getObject()
can return nothing but null, so it makes no sense to assign that value to a variable.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.