@@ -7,7 +7,6 @@ |
||
7 | 7 | /** |
8 | 8 | * Find the difference between existing object values |
9 | 9 | * |
10 | - * @param array $changes |
|
11 | 10 | * |
12 | 11 | * @return array |
13 | 12 | */ |
@@ -200,7 +200,6 @@ |
||
200 | 200 | * Protects against the object being modified |
201 | 201 | * |
202 | 202 | * @param string $key |
203 | - * @param mixed $value |
|
204 | 203 | * |
205 | 204 | * @return void |
206 | 205 | * |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | $data = array_intersect_key($data, get_object_vars($this)); |
97 | 97 | |
98 | 98 | // Type coercion and class expectations are not run on null values |
99 | - $values = array_filter($data, static function ($value) { |
|
99 | + $values = array_filter($data, static function($value) { |
|
100 | 100 | return null !== $value; |
101 | 101 | }); |
102 | 102 | |
@@ -143,7 +143,7 @@ discard block |
||
143 | 143 | */ |
144 | 144 | public function toArray() |
145 | 145 | { |
146 | - return array_map(static function ($value) { |
|
146 | + return array_map(static function($value) { |
|
147 | 147 | if ($value instanceof ArraySerializableInterface) { |
148 | 148 | $value = $value->toArray(); |
149 | 149 | } |