Passed
Push — develop ( 78e549...eb0d73 )
by nguereza
02:58
created
src/Map/HashMap.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -216,9 +216,9 @@  discard block
 block discarded – undo
216 216
                 : null;
217 217
     }
218 218
 
219
-     /**
220
-     * {@inheritedoc}
221
-     */
219
+        /**
220
+         * {@inheritedoc}
221
+         */
222 222
     public function equals(BaseCollection $collection): bool
223 223
     {
224 224
         if (!$collection instanceof self) {
@@ -243,9 +243,9 @@  discard block
 block discarded – undo
243 243
         $this->initializePairs($data);
244 244
     }
245 245
 
246
-     /**
247
-     * {@inheritedoc}
248
-     */
246
+        /**
247
+         * {@inheritedoc}
248
+         */
249 249
     public function get($key)
250 250
     {
251 251
         return $this->data->offsetExists($key)
@@ -253,10 +253,10 @@  discard block
 block discarded – undo
253 253
                : null;
254 254
     }
255 255
 
256
-     /**
257
-     * {@inheritedoc}
258
-      * @param HashMap<T> $collection
259
-     */
256
+        /**
257
+         * {@inheritedoc}
258
+         * @param HashMap<T> $collection
259
+         */
260 260
     public function merge(BaseCollection $collection): BaseCollection
261 261
     {
262 262
         TypeCheck::isEqual(
@@ -284,9 +284,9 @@  discard block
 block discarded – undo
284 284
         );
285 285
     }
286 286
 
287
-     /**
288
-     * {@inheritedoc}
289
-     */
287
+        /**
288
+         * {@inheritedoc}
289
+         */
290 290
     public function remove($key): void
291 291
     {
292 292
         if ($this->isEmpty()) {
@@ -303,9 +303,9 @@  discard block
 block discarded – undo
303 303
         $this->data->offsetUnset($key);
304 304
     }
305 305
 
306
-     /**
307
-     * {@inheritedoc}
308
-     */
306
+        /**
307
+         * {@inheritedoc}
308
+         */
309 309
     public function slice(int $offset, ?int $length = null): ?BaseCollection
310 310
     {
311 311
         $newData = array_slice($this->all(), $offset, $length, true);
@@ -319,9 +319,9 @@  discard block
 block discarded – undo
319 319
             : null;
320 320
     }
321 321
 
322
-     /**
323
-     * {@inheritedoc}
324
-     */
322
+        /**
323
+         * {@inheritedoc}
324
+         */
325 325
     public function sort(callable $callback): ?BaseCollection
326 326
     {
327 327
         $data = $this->all();
@@ -335,9 +335,9 @@  discard block
 block discarded – undo
335 335
                 : null;
336 336
     }
337 337
 
338
-     /**
339
-     * {@inheritedoc}
340
-     */
338
+        /**
339
+         * {@inheritedoc}
340
+         */
341 341
     public function update($key, $value): bool
342 342
     {
343 343
         $this->validateEntry($key, $value);
Please login to merge, or discard this patch.