Completed
Push — master ( 067505...e5d322 )
by Nate
02:19
created
src/HashMap.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/HashSet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/AbstractMap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      * @param callable $find
53 53
      * @return MapEntry|null
54 54
      */
55
-    public function find(callable $find): ?MapEntry
55
+    public function find(callable $find): ? MapEntry
56 56
     {
57 57
         /** @var MapEntry $mapEntry */
58 58
         foreach ($this->entrySet() as $mapEntry) {
Please login to merge, or discard this patch.
src/MapInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -153,7 +153,7 @@
 block discarded – undo
153 153
      * @param callable $find
154 154
      * @return MapEntry|null
155 155
      */
156
-    public function find(callable $find): ?MapEntry;
156
+    public function find(callable $find): ? MapEntry;
157 157
 
158 158
     /**
159 159
      * Use a closure to determine existence in the map
Please login to merge, or discard this patch.