Completed
Push — master ( 5fca22...233410 )
by Emily
01:43
created
src/Model/Collection/IterableIterator.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,8 +73,7 @@
 block discarded – undo
73 73
                 }
74 74
                 else
75 75
                 {
76
-                    throw new DomainException
77
-                    (
76
+                    throw new DomainException(
78 77
                         'The given IteratorAggregate\'s ' .
79 78
                         'getIterator() method should return an ' .
80 79
                         'Iterator or IteratorAggregate, but it did not'
Please login to merge, or discard this patch.
src/Model/Collection/ListCollection/FixedList.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,7 @@
 block discarded – undo
45 45
     /**
46 46
      * {@inheritDoc}
47 47
      */
48
-    public function splice
49
-    (
48
+    public function splice(
50 49
         int $offset,
51 50
         ?int $length = null,
52 51
         array $replacement = []
Please login to merge, or discard this patch.
src/Service/TypeComparator.php 1 patch
Spacing   +5 added lines, -10 removed lines patch added patch discarded remove patch
@@ -32,15 +32,13 @@  discard block
 block discarded – undo
32 32
      * @param AbstractType $child
33 33
      * @return boolean
34 34
      */
35
-    public function compatible
36
-    (
35
+    public function compatible(
37 36
         AbstractType $parent,
38 37
         AbstractType $child
39 38
     )
40 39
     : bool
41 40
     {
42
-        if
43
-        (
41
+        if (
44 42
             ($child instanceof NullType && $parent->nullable) ||
45 43
             ($parent instanceof MixedType)
46 44
         )
@@ -53,11 +51,9 @@  discard block
 block discarded – undo
53 51
         }
54 52
         elseif ($parent instanceof ObjectType)
55 53
         {
56
-            if
57
-            (
54
+            if (
58 55
                 $child instanceof ObjectType && 
59
-                is_a
60
-                (
56
+                is_a(
61 57
                     $child->classname->__toString(),
62 58
                     $parent->classname->__toString(),
63 59
                     true
@@ -70,8 +66,7 @@  discard block
 block discarded – undo
70 66
             return false;
71 67
         }
72 68
 
73
-        throw new \DomainException
74
-        (
69
+        throw new \DomainException(
75 70
             'Unknown type: ' . get_class($parent)
76 71
         );
77 72
     }
Please login to merge, or discard this patch.
src/Factory/Reflection/TypeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
         }
147 147
         elseif ($i + 2 !== strlen($value))
148 148
         {
149
-            if (!in_array($value{$i + 2}, ['>',',']))
149
+            if (!in_array($value{$i + 2}, ['>', ',']))
150 150
             {
151 151
                 throw new \Exception('Unexpected char after collection');
152 152
             }
Please login to merge, or discard this patch.