@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions package. |
4 | 4 | * |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | /** @var ObjectSchema[] $typeDefinitions */ |
48 | 48 | $typeDefinitions = []; |
49 | 49 | |
50 | - $description->accept(new ClosureVisitor($this, function ($schema) use (&$typeDefinitions) { |
|
50 | + $description->accept(new ClosureVisitor($this, function($schema) use (&$typeDefinitions) { |
|
51 | 51 | if ($schema instanceof ObjectSchema) { |
52 | 52 | if ($schema->isType(Schema::TYPE_OBJECT) && isset($schema->getDefinition()->{'x-ref-id'})) { |
53 | 53 | $typeName = substr( |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | $complexTypes[] = $type; |
67 | 67 | } |
68 | 68 | |
69 | - $description->accept(new ClosureVisitor($description, function () use (&$complexTypes) { |
|
69 | + $description->accept(new ClosureVisitor($description, function() use (&$complexTypes) { |
|
70 | 70 | /** @noinspection PhpUndefinedFieldInspection */ |
71 | 71 | $this->complexTypes = $complexTypes; |
72 | 72 | })); |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions package. |
4 | 4 | * |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | $paths = []; |
31 | 31 | |
32 | 32 | /** @noinspection PhpUnusedParameterInspection */ |
33 | - $this->document->apply(function ($definition, $attributeName, $parent, $parentAttributeName) use (&$paths) { |
|
33 | + $this->document->apply(function($definition, $attributeName, $parent, $parentAttributeName) use (&$paths) { |
|
34 | 34 | if (substr((string)$attributeName, 0, 1) === '/') { |
35 | 35 | $pathName = "{$parentAttributeName}{$attributeName}"; |
36 | 36 | $paths[$pathName] = $this->createPath($pathName, $definition); |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /* |
3 | 3 | * This file is part of the KleijnWeb\PhpApi\Descriptions package. |
4 | 4 | * |