Completed
Push — master ( e607b3...060ad8 )
by Martijn
03:04 queued 34s
created
SwaggerGen/Swagger/Type/Property.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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}'");
Please login to merge, or discard this patch.
SwaggerGen/Swagger/Type/ArrayType.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
SwaggerGen/Swagger/Parameter.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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}'");
Please login to merge, or discard this patch.
SwaggerGen/Swagger/Schema.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
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}'");
Please login to merge, or discard this patch.
SwaggerGen/Parser/Php/Parser.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.