1 | <?php |
||
21 | class GetGitterRoomId extends Command |
||
22 | { |
||
23 | /** |
||
24 | * The name and signature of the console command. |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $signature = 'gitter:get-room-id {room}'; |
||
29 | |||
30 | |||
31 | /** |
||
32 | * The console command description. |
||
33 | * |
||
34 | * @var string |
||
35 | */ |
||
36 | protected $description = 'Get gitter room id by name.'; |
||
37 | |||
38 | public function handle() |
||
49 | } |
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.