1 | <?php |
||
11 | class Username extends Command |
||
12 | { |
||
13 | |||
14 | use Installable; |
||
15 | |||
16 | /** |
||
17 | * The filesystem instance. |
||
18 | * |
||
19 | * @var \Illuminate\Filesystem\Filesystem |
||
20 | */ |
||
21 | protected $files; |
||
22 | |||
23 | /** |
||
24 | * The name and signature of the console command. |
||
25 | */ |
||
26 | protected $signature = 'adminlte:username {--f|force : Force overwrite of files}'; |
||
27 | |||
28 | /** |
||
29 | * The console command description. |
||
30 | * |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $description = 'Changes to login and register with username'; |
||
34 | |||
35 | /** |
||
36 | * Force overwrite of files. |
||
37 | * |
||
38 | * @var bool |
||
39 | */ |
||
40 | protected $force = false; |
||
41 | |||
42 | /** |
||
43 | * Create a new command instance. |
||
44 | * |
||
45 | * @param \Illuminate\Filesystem\Filesystem $files |
||
46 | * |
||
47 | */ |
||
48 | public function __construct(Filesystem $files) |
||
53 | |||
54 | /** |
||
55 | * Execute the console command. |
||
56 | */ |
||
57 | public function handle() |
||
64 | |||
65 | /** |
||
66 | * Install auth config file. |
||
67 | */ |
||
68 | private function publishAuthConfigFile() |
||
72 | |||
73 | /** |
||
74 | * Publish User class. |
||
75 | */ |
||
76 | private function publishUserClass() { |
||
79 | |||
80 | /** |
||
81 | * Run migration. |
||
82 | */ |
||
83 | private function runMigration() { |
||
89 | |||
90 | /** |
||
91 | * Process options before running command. |
||
92 | */ |
||
93 | private function processOptions() |
||
97 | } |
||
98 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..