@@ -142,13 +142,13 @@ |
||
142 | 142 | return $this; |
143 | 143 | |
144 | 144 | case 'model': |
145 | - case 'model!': |
|
145 | + case 'model!': |
|
146 | 146 | case 'definition': |
147 | - case 'definition!': |
|
147 | + case 'definition!': |
|
148 | 148 | $definition = new Schema($this); |
149 | 149 | if(substr($command, -1) === '!') { |
150 | - $definition->setReadOnly(); |
|
151 | - } |
|
150 | + $definition->setReadOnly(); |
|
151 | + } |
|
152 | 152 | $name = self::wordShift($data); |
153 | 153 | if (empty($name)) { |
154 | 154 | throw new \SwaggerGen\Exception('Missing definition name'); |
@@ -146,7 +146,7 @@ |
||
146 | 146 | case 'definition': |
147 | 147 | case 'definition!': |
148 | 148 | $definition = new Schema($this); |
149 | - if(substr($command, -1) === '!') { |
|
149 | + if (substr($command, -1) === '!') { |
|
150 | 150 | $definition->setReadOnly(); |
151 | 151 | } |
152 | 152 | $name = self::wordShift($data); |