@@ -92,7 +92,7 @@ |
||
92 | 92 | /** |
93 | 93 | * Return the position of the current element |
94 | 94 | * |
95 | - * @return mixed Position of the current element |
|
95 | + * @return integer Position of the current element |
|
96 | 96 | */ |
97 | 97 | public function key() |
98 | 98 | { |
@@ -178,7 +178,7 @@ |
||
178 | 178 | if (count($types)) { |
179 | 179 | return array_filter( |
180 | 180 | $this->items, |
181 | - function (ItemInterface $item) use ($types) { |
|
181 | + function(ItemInterface $item) use ($types) { |
|
182 | 182 | return $item->isOfType(...$types); |
183 | 183 | } |
184 | 184 | ); |