Completed
Push — master ( 8f24e9...7bd323 )
by Martijn
02:28
created
SwaggerGen/Swagger/Type/ReferenceObjectType.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,9 @@
 block discarded – undo
28 28
 
29 29
         $reference = null;
30 30
         if ($type === 'refobject') {
31
-            if (isset($match[2]))
32
-                $reference = $match[2];
31
+            if (isset($match[2])) {
32
+                            $reference = $match[2];
33
+            }
33 34
         } else {
34 35
             $reference = $match[1];
35 36
         }
Please login to merge, or discard this patch.
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.
SwaggerGen/Swagger/IParameter.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,8 @@
 block discarded – undo
10 10
  * @copyright  2014-2015 Martijn van der Lee
11 11
  * @license    https://opensource.org/licenses/MIT MIT
12 12
  */
13
-interface IParameter {
13
+interface IParameter
14
+{
14 15
 
15 16
 	public function getName();
16 17
 }
Please login to merge, or discard this patch.