@@ -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 |
@@ -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}'"); |
@@ -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}'"); |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | $this->Preprocessor = new Preprocessor(self::COMMENT_TAG); |
63 | 63 | } |
64 | 64 | |
65 | - public function addDirs(Array $dirs) |
|
65 | + public function addDirs(array $dirs) |
|
66 | 66 | { |
67 | 67 | foreach ($dirs as $dir) { |
68 | 68 | $this->common_dirs[] = realpath($dir); |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | return $Statements; |
95 | 95 | } |
96 | 96 | |
97 | - public function parse($file, Array $dirs = array(), Array $defines = array()) |
|
97 | + public function parse($file, array $dirs = array(), array $defines = array()) |
|
98 | 98 | { |
99 | 99 | $this->dirs = $this->common_dirs; |
100 | 100 | foreach ($dirs as $dir) { |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | } |
278 | 278 | } |
279 | 279 | |
280 | - private function parseFiles(Array $files, Array $defines = array()) |
|
280 | + private function parseFiles(array $files, array $defines = array()) |
|
281 | 281 | { |
282 | 282 | $this->files_queued = $files; |
283 | 283 |