Completed
Push — master ( 63f157...ad3633 )
by John
06:56
created
src/Description/Schema/Validator/JustinRainbowSchemaValidatorAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,12 +34,12 @@
 block discarded – undo
34 34
         $definition = $schema->getDefinition();
35 35
 
36 36
         if ($requireAllWhenNotSpecified || $forceNoAdditionalProperties) {
37
-            $hackDefinition = function (\stdClass $definition) use (
37
+            $hackDefinition = function(\stdClass $definition) use (
38 38
                 $forceNoAdditionalProperties,
39 39
                 $requireAllWhenNotSpecified,
40 40
                 &$hackDefinition
41 41
             ) {
42
-                if(isset($definition->properties)){
42
+                if (isset($definition->properties)) {
43 43
                     if ($forceNoAdditionalProperties) {
44 44
                         $definition->additionalProperties = false;
45 45
                     }
Please login to merge, or discard this patch.
src/Description/Schema/SchemaFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
             $definition       = clone $definition;
38 38
             if (isset($definition->allOf)) {
39 39
                 foreach ($definition->allOf as $nested) {
40
-                    if(isset($nested->type)){
40
+                    if (isset($nested->type)) {
41 41
                         $definition->type = $nested->type;
42 42
                     }
43 43
                 }
Please login to merge, or discard this patch.