@@ -171,8 +171,6 @@ |
||
171 | 171 | } |
172 | 172 | |
173 | 173 | /** |
174 | - * @param string $path |
|
175 | - * @param string $method |
|
176 | 174 | * |
177 | 175 | * @return Parameter|null |
178 | 176 | */ |
@@ -34,12 +34,12 @@ |
||
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 | } |
@@ -37,7 +37,7 @@ |
||
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 | } |