@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | public function containsValue($value): bool |
67 | 67 | { |
68 | - return $this->exists(function (MapEntry $mapEntry) use ($value) { |
|
68 | + return $this->exists(function(MapEntry $mapEntry) use ($value) { |
|
69 | 69 | return $mapEntry->value === $value; |
70 | 70 | }); |
71 | 71 | } |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | case 'array': |
254 | 254 | return md5(serialize($value)); |
255 | 255 | default: |
256 | - return $type . md5($value); |
|
256 | + return $type.md5($value); |
|
257 | 257 | } |
258 | 258 | } |
259 | 259 | |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | */ |
265 | 265 | private function getKeys() |
266 | 266 | { |
267 | - return array_map(function (MapEntry $mapEntry) { |
|
267 | + return array_map(function(MapEntry $mapEntry) { |
|
268 | 268 | return $mapEntry->key; |
269 | 269 | }, $this->elements); |
270 | 270 | } |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | */ |
277 | 277 | private function getValues() |
278 | 278 | { |
279 | - return array_map(function (MapEntry $mapEntry) { |
|
279 | + return array_map(function(MapEntry $mapEntry) { |
|
280 | 280 | return $mapEntry->value; |
281 | 281 | }, $this->elements); |
282 | 282 | } |
@@ -91,7 +91,7 @@ |
||
91 | 91 | */ |
92 | 92 | public function retainAllArray(array $collection): bool |
93 | 93 | { |
94 | - $collectionKeys = array_map(function ($element) { return $this->getKey($element); }, $collection); |
|
94 | + $collectionKeys = array_map(function($element) { return $this->getKey($element); }, $collection); |
|
95 | 95 | |
96 | 96 | $size = $this->count(); |
97 | 97 | foreach ($this as $element) { |