@@ -10,7 +10,8 @@ |
||
10 | 10 | * @copyright 2014-2015 Martijn van der Lee |
11 | 11 | * @license https://opensource.org/licenses/MIT MIT |
12 | 12 | */ |
13 | -interface IParameter { |
|
13 | +interface IParameter |
|
14 | +{ |
|
14 | 15 | |
15 | 16 | public function getName(); |
16 | 17 | } |
@@ -57,7 +57,7 @@ |
||
57 | 57 | $format = strtolower($match[1]); |
58 | 58 | if (isset(self::$classTypes[$format])) { |
59 | 59 | $type = self::$classTypes[$format]; |
60 | - $class = "SwaggerGen\\Swagger\\Type\\{$type}Type"; |
|
60 | + $class = "SwaggerGen\\Swagger\\Type\\{$type}type"; |
|
61 | 61 | $this->type = new $class($this, $definition); |
62 | 62 | } else { |
63 | 63 | $this->type = new Type\ReferenceObjectType($this, $definition); |
@@ -65,7 +65,7 @@ |
||
65 | 65 | $format = strtolower($match[1]); |
66 | 66 | if (isset(self::$classTypes[$format])) { |
67 | 67 | $type = self::$classTypes[$format]; |
68 | - $class = "SwaggerGen\\Swagger\\Type\\{$type}Type"; |
|
68 | + $class = "SwaggerGen\\Swagger\\Type\\{$type}type"; |
|
69 | 69 | $this->Type = new $class($this, $definition); |
70 | 70 | } else { |
71 | 71 | throw new \SwaggerGen\Exception("Property format not recognized: '{$format}'"); |
@@ -165,7 +165,7 @@ |
||
165 | 165 | $format = strtolower($match[1]); |
166 | 166 | if (isset(self::$classTypes[$format])) { |
167 | 167 | $type = self::$classTypes[$format]; |
168 | - $typeClass = "SwaggerGen\\Swagger\\Type\\{$type}Type"; |
|
168 | + $typeClass = "SwaggerGen\\Swagger\\Type\\{$type}type"; |
|
169 | 169 | return new $typeClass($this, $items); |
170 | 170 | } |
171 | 171 |