@@ -29,8 +29,7 @@ |
||
29 | 29 | if ($offset === null) |
30 | 30 | { |
31 | 31 | $this->push($value); |
32 | - } |
|
33 | - else |
|
32 | + } else |
|
34 | 33 | { |
35 | 34 | $this->set($offset, $value); |
36 | 35 | } |
@@ -41,8 +41,7 @@ discard block |
||
41 | 41 | return static::$defaultHashProducer; |
42 | 42 | } |
43 | 43 | |
44 | - public static function setDefaultHashProducer |
|
45 | - ( |
|
44 | + public static function setDefaultHashProducer( |
|
46 | 45 | HashProducerInterface $hashProducer |
47 | 46 | ) |
48 | 47 | : HashProducerInterface |
@@ -60,9 +59,8 @@ discard block |
||
60 | 59 | */ |
61 | 60 | protected $hashProducer; |
62 | 61 | |
63 | - public function __construct |
|
64 | - ( |
|
65 | - ?HashProducerInterface $hashProducer = null |
|
62 | + public function __construct( |
|
63 | + ? HashProducerInterface $hashProducer = null |
|
66 | 64 | ) |
67 | 65 | { |
68 | 66 | $this->hashProducer = |
@@ -45,10 +45,9 @@ |
||
45 | 45 | /** |
46 | 46 | * {@inheritDoc} |
47 | 47 | */ |
48 | - public function splice |
|
49 | - ( |
|
48 | + public function splice( |
|
50 | 49 | int $offset, |
51 | - ?int $length = null, |
|
50 | + ? int $length = null, |
|
52 | 51 | array $replacement = [] |
53 | 52 | ) |
54 | 53 | { |