Completed
Push — master ( f90246...088bf6 )
by Martijn
14s
created
SwaggerGen/Swagger/Type/ObjectType.php 1 patch
Braces   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 	 * @return \SwaggerGen\Swagger\Type\AbstractType|boolean
99 99
 	 */
100 100
 	public function handleCommand($command, $data = null)
101
-	{		
101
+	{
102 102
 		switch (strtolower($command)) {
103 103
 			// type name description...
104 104
 			case 'property':
@@ -119,8 +119,7 @@  discard block
 block discarded – undo
119 119
                 $propertySuffix = substr($command, -1);
120 120
                 if ($propertySuffix === '!') {
121 121
                     $readOnly = true;
122
-                }
123
-				else if ($propertySuffix !== '?') {
122
+                } else if ($propertySuffix !== '?') {
124 123
 					$this->required[$name] = true;
125 124
 				}
126 125
 
Please login to merge, or discard this patch.