Completed
Push — master ( e607b3...060ad8 )
by Martijn
03:04 queued 34s
created
SwaggerGen/Parser/Php/Parser.php 1 patch
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.
SwaggerGen/Swagger/Swagger.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -169,7 +169,8 @@
 block discarded – undo
169 169
 					$this->Tags[] = $Tag;
170 170
 				}
171 171
 
172
-				if ($command === 'api') { // backwards compatibility
172
+				if ($command === 'api') {
173
+// backwards compatibility
173 174
 					$this->defaultTag = $Tag;
174 175
 				}
175 176
 				return $Tag;
Please login to merge, or discard this patch.