Passed
Branch validation-refactor (de59e2)
by Jason
03:09
created
src/Contracts/AbstractCollection.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@
 block discarded – undo
61 61
             if (is_int($key))
62 62
             {
63 63
                 array_splice($this->collection, $key, 1);
64
-            }
65
-            else if (is_string($key))
64
+            } else if (is_string($key))
66 65
             {
67 66
                 unset($this->collection[$key]);
68 67
             }
Please login to merge, or discard this patch.
src/TypedDictionary.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      *
45 45
      * @throws \Fusion\Collection\Exceptions\CollectionException
46 46
      */
47
-    public function __construct(CollectionValidationInterface $validator ,string $acceptedType, array $items = [])
47
+    public function __construct(CollectionValidationInterface $validator, string $acceptedType, array $items = [])
48 48
     {
49 49
         $validator->validateNonEmptyAcceptedType($acceptedType);
50 50
         $this->acceptedType = $acceptedType;
Please login to merge, or discard this patch.