Completed
Push — master ( 75b133...6283a1 )
by Martijn
02:31
created
SwaggerGen/Parser/Php/Parser.php 1 patch
Braces   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,8 @@  discard block
 block discarded – undo
69 69
 		}
70 70
 	}
71 71
 	
72
-	private function extractStatements() {
72
+	private function extractStatements()
73
+	{
73 74
 		// Core comments
74 75
 		$Statements = $this->Statements;
75 76
 
@@ -215,7 +216,8 @@  discard block
 block discarded – undo
215 216
 		}
216 217
 	}
217 218
 
218
-	private function parseTokens($source) {
219
+	private function parseTokens($source)
220
+	{
219 221
 		$mode = null;
220 222
 		$namespace = '';
221 223
 
@@ -340,7 +342,8 @@  discard block
 block discarded – undo
340 342
 
341 343
 		$match = null;
342 344
 		foreach ($Statements as $Statement) {
343
-			if ($Statement->command === 'uses' || $Statement->command === 'see') { //@todo either one, not both?
345
+			if ($Statement->command === 'uses' || $Statement->command === 'see') {
346
+//@todo either one, not both?
344 347
 				if (preg_match('/^((?:\\w+)|\$this)(?:(::|->)(\\w+))?(?:\\(\\))?$/', strtolower($Statement->data), $match) === 1) {
345 348
 					if (count($match) >= 3) {
346 349
 						$Class = null;
Please login to merge, or discard this patch.