Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | 7 | public function __construct($commandName, array $arguments, array $argumentDefaults = []) |
|
13 | { |
||
14 | 7 | $this->setData(array_shift($arguments)); |
|
15 | |||
16 | 7 | parent::__construct($commandName, $arguments, $argumentDefaults); |
|
17 | |||
18 | 7 | array_push($this->arguments, strlen($this->getData())); |
|
19 | 7 | } |
|
20 | } |
||
21 |