@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | { |
| 187 | 187 | return (object)[ |
| 188 | 188 | 'items' => array_map( |
| 189 | - function (ItemInterface $item) { |
|
| 189 | + function(ItemInterface $item) { |
|
| 190 | 190 | return $item->toObject(); |
| 191 | 191 | }, |
| 192 | 192 | $this->items |
@@ -230,7 +230,7 @@ discard block |
||
| 230 | 230 | if (count($types)) { |
| 231 | 231 | return array_filter( |
| 232 | 232 | $this->items, |
| 233 | - function (ItemInterface $item) use ($types) { |
|
| 233 | + function(ItemInterface $item) use ($types) { |
|
| 234 | 234 | return $item->isOfType(...$types); |
| 235 | 235 | } |
| 236 | 236 | ); |