Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
26 | 4 | protected function configure() |
|
27 | { |
||
28 | $this |
||
29 | 4 | ->setName('geohash:decode') |
|
30 | 4 | ->setDescription('Decode a geo hash string to a coordinate') |
|
31 | 4 | ->addArgument('geohash', InputArgument::REQUIRED, 'The geo hash to decode to coordinate') |
|
32 | 4 | ->setHelp(<<<EOT |
|
33 | 4 | <info>Example</info>: %command.full_name% spey61y |
|
34 | EOT |
||
35 | ); |
||
36 | 4 | } |
|
37 | |||
50 |
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.