Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
51 | public function fromArray(array $style) : self |
||
|
|||
52 | { |
||
53 | $this->markerOn = self::DEFAULT_STYLES['markerOn']; |
||
54 | $this->markerOff = self::DEFAULT_STYLES['markerOff']; |
||
55 | $this->itemExtra = self::DEFAULT_STYLES['itemExtra']; |
||
56 | $this->displaysExtra = self::DEFAULT_STYLES['displaysExtra']; |
||
57 | |||
58 | return $this; |
||
59 | } |
||
61 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.