Completed
Push — release/2.15.0 ( 499f80 )
by Stuart
03:04
created
Category
src/Checks/IsCompatibleWith.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     {
104 104
         // defensive programming!
105 105
         RequireObject::check($data, E4xx_UnsupportedType::class);
106
-        RequireAnyOneOf::check([ new IsObject, new IsStringy], [$constraint], E4xx_UnsupportedType::class);
106
+        RequireAnyOneOf::check([new IsObject, new IsStringy], [$constraint], E4xx_UnsupportedType::class);
107 107
 
108 108
         // this is the easiest test case of all :)
109 109
         return $data instanceof $constraint;
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     {
125 125
         // defensive programming!
126 126
         RequireStringy::check($data, E4xx_UnsupportedType::class);
127
-        RequireAnyOneOf::check([ new IsObject, new IsStringy], [$constraint], E4xx_UnsupportedType::class);
127
+        RequireAnyOneOf::check([new IsObject, new IsStringy], [$constraint], E4xx_UnsupportedType::class);
128 128
 
129 129
         $compatibleTypes = AllMatchingTypesList::fromClass($data);
130 130
         if (is_object($constraint)) {
Please login to merge, or discard this patch.