Completed
Push — master ( e607b3...060ad8 )
by Martijn
03:04 queued 34s
created
SwaggerGen/Parser/Php/Parser.php 2 patches
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -332,7 +332,8 @@
 block discarded – undo
332 332
 
333 333
 		$match = null;
334 334
 		foreach ($Statements as $Statement) {
335
-			if ($Statement->command === 'uses' || $Statement->command === 'see') { //@todo either one, not both?
335
+			if ($Statement->command === 'uses' || $Statement->command === 'see') {
336
+//@todo either one, not both?
336 337
 				if (preg_match('/^((?:\\w+)|\$this)(?:(::|->)(\\w+))?(?:\\(\\))?$/', strtolower($Statement->data), $match) === 1) {
337 338
 					if (count($match) >= 3) {
338 339
 						$Class = null;
Please login to merge, or discard this 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.