Completed
Push — master ( 611a24...34732e )
by John
04:07
created
src/Description/Builder/RamlBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         $paths   = [];
30 30
 
31 31
         /** @noinspection PhpUnusedParameterInspection */
32
-        $this->document->apply(function ($definition, $attributeName, $parent, $parentAttributeName) use (&$paths) {
32
+        $this->document->apply(function($definition, $attributeName, $parent, $parentAttributeName) use (&$paths) {
33 33
             if (substr((string)$attributeName, 0, 1) === '/') {
34 34
                 $pathName         = "{$parentAttributeName}{$attributeName}";
35 35
                 $paths[$pathName] = $this->createPath($pathName, $definition);
Please login to merge, or discard this patch.
src/Description/Builder/OpenApiBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         /** @var ObjectSchema[] $typeDefinitions */
47 47
         $typeDefinitions = [];
48 48
 
49
-        $description->accept(new ClosureVisitor($this, function ($schema) use (&$typeDefinitions) {
49
+        $description->accept(new ClosureVisitor($this, function($schema) use (&$typeDefinitions) {
50 50
             if ($schema instanceof ObjectSchema) {
51 51
                 if ($schema->isType(Schema::TYPE_OBJECT) && isset($schema->getDefinition()->{'x-ref-id'})) {
52 52
                     $typeName = substr(
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             $complexTypes[] = $type;
66 66
         }
67 67
 
68
-        $description->accept(new ClosureVisitor($description, function () use (&$complexTypes) {
68
+        $description->accept(new ClosureVisitor($description, function() use (&$complexTypes) {
69 69
             /** @noinspection PhpUndefinedFieldInspection */
70 70
             $this->complexTypes = $complexTypes;
71 71
         }));
Please login to merge, or discard this patch.