1 | <?php |
||
14 | class Application extends ConsoleApplication |
||
15 | { |
||
16 | /** |
||
17 | * Run an Artisan console command by name. |
||
18 | * |
||
19 | * @param string $command |
||
20 | * @param array $parameters |
||
21 | * @param OutputInterface $outputBuffer |
||
22 | 2 | * @return int |
|
23 | * @throws Exception |
||
24 | 2 | */ |
|
25 | 1 | public function call($command, array $parameters = [], $outputBuffer = null) |
|
43 | |||
44 | /** |
||
45 | * Resolve an array of commands through the application. |
||
46 | * |
||
47 | * @param array|mixed $commands |
||
48 | * @return $this |
||
49 | 2 | */ |
|
50 | public function resolveCommands($commands) |
||
56 | |||
57 | /** |
||
58 | * ajax. |
||
59 | * |
||
60 | * @return bool |
||
61 | 2 | */ |
|
62 | private function ajax() |
||
68 | } |
||
69 |
Our type inference engine has found a suspicous assignment of a value to a property. This check raises an issue when a value that can be of a given class or a super-class is assigned to a property that is type hinted more strictly.
Either this assignment is in error or an instanceof check should be added for that assignment.