@@ -98,7 +98,7 @@ discard block |
||
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 |
||
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 |