@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | */ |
224 | 224 | public function only(array $keys) |
225 | 225 | { |
226 | - return $this->filter(function ($value, $key) use ($keys) { |
|
226 | + return $this->filter(function($value, $key) use ($keys) { |
|
227 | 227 | return (true === self::keyExists($key, array_flip($keys))); |
228 | 228 | }); |
229 | 229 | } |
@@ -238,7 +238,7 @@ discard block |
||
238 | 238 | */ |
239 | 239 | public function except(array $keys) |
240 | 240 | { |
241 | - return $this->filter(function ($value, $key) use ($keys) { |
|
241 | + return $this->filter(function($value, $key) use ($keys) { |
|
242 | 242 | return (false === self::keyExists($key, array_flip($keys))); |
243 | 243 | }); |
244 | 244 | } |