Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | 1 | public function __construct(IO\IOInterface $io, Config $config = null, array $options = array(), $disableTls = false) |
|
26 | { |
||
27 | 1 | $this->io = $io; |
|
28 | 1 | $this->config = $config; |
|
29 | 1 | $this->options = $options; |
|
30 | 1 | $this->disableTls = $disableTls; |
|
31 | 1 | parent::__construct($io, $config, $options, $disableTls); |
|
32 | 1 | } |
|
33 | |||
67 |
Unless you are absolutely sure that the expression can never be null because of other conditions, we strongly recommend to add an additional type check to your code: