1 | <?php |
||
14 | class Terminal extends ConsoleApplication |
||
15 | { |
||
16 | /** |
||
17 | * Resolve an array of commands through the application. |
||
18 | * |
||
19 | * @param array|mixed $commands |
||
20 | * |
||
21 | * @return static|\Illuminate\Console\Application |
||
|
|||
22 | */ |
||
23 | public function resolveCommands($commands) |
||
27 | |||
28 | /** |
||
29 | * Run an Artisan console command by name. |
||
30 | * |
||
31 | * @param string $command |
||
32 | * @param array $parameters |
||
33 | * @param \Symfony\Component\Console\Output\OutputInterface $outputBuffer |
||
34 | * |
||
35 | * @throws \Exception |
||
36 | * |
||
37 | * @return int |
||
38 | */ |
||
39 | public function call($command, array $parameters = [], $outputBuffer = null): int |
||
62 | |||
63 | /** |
||
64 | * Request. |
||
65 | * |
||
66 | * @return \Illuminate\Http\Request |
||
67 | */ |
||
68 | protected function request() |
||
72 | } |
||
73 |
This check looks for the generic type
array
as a return type and suggests a more specific type. This type is inferred from the actual code.