@@ -108,7 +108,7 @@ |
||
| 108 | 108 | $format = strtolower($match[1]); |
| 109 | 109 | if (isset(self::$classTypes[$format])) { |
| 110 | 110 | $type = self::$classTypes[$format]; |
| 111 | - $class = "\\SwaggerGen\\Swagger\\Type\\{$type}Type"; |
|
| 111 | + $class = "\\SwaggerGen\\Swagger\\Type\\{$type}type"; |
|
| 112 | 112 | $this->Type = new $class($this, $definition); |
| 113 | 113 | } elseif (isset(self::$customClassTypes[$format])) { |
| 114 | 114 | $class = self::$customClassTypes[$format]; |
@@ -10,8 +10,8 @@ |
||
| 10 | 10 | * @copyright 2014-2017 Martijn van der Lee |
| 11 | 11 | * @license https://opensource.org/licenses/MIT MIT |
| 12 | 12 | */ |
| 13 | -interface ICustomType |
|
| 14 | -{
|
|
| 13 | +interface ICustomType |
|
| 14 | +{ |
|
| 15 | 15 | |
| 16 | 16 | public static function register($type = null); |
| 17 | 17 | |
@@ -172,7 +172,7 @@ |
||
| 172 | 172 | // Internal type if type known and not overwritten by definition |
| 173 | 173 | if (isset(self::$classTypes[$format])) { |
| 174 | 174 | $type = self::$classTypes[$format]; |
| 175 | - $class = "\\SwaggerGen\\Swagger\\Type\\{$type}Type"; |
|
| 175 | + $class = "\\SwaggerGen\\Swagger\\Type\\{$type}type"; |
|
| 176 | 176 | return new $class($parent, $definition); |
| 177 | 177 | } elseif (isset(self::$customClassTypes[$format])) { |
| 178 | 178 | $class = self::$customClassTypes[$format]; |