@@ -32,8 +32,7 @@ |
||
32 | 32 | if(!isset($this->structure['content']) && isset($this->structure['$ref'])){ |
33 | 33 | $defintion = $this->schema->getDefinition($this->structure['$ref']); |
34 | 34 | return $this->matchSchema($this->name, $defintion, $body); |
35 | - } |
|
36 | - else { |
|
35 | + } else { |
|
37 | 36 | return $this->matchSchema($this->name, $this->structure['content'][key($this->structure['content'])]['schema'], $body); |
38 | 37 | } |
39 | 38 | } |