@@ -116,8 +116,7 @@ |
||
116 | 116 | $propertySuffix = substr($command, -1); |
117 | 117 | if ($propertySuffix === '!') { |
118 | 118 | $readOnly = true; |
119 | - } |
|
120 | - else if ($propertySuffix !== '?') { |
|
119 | + } else if ($propertySuffix !== '?') { |
|
121 | 120 | $this->required[$name] = true; |
122 | 121 | } |
123 | 122 |
@@ -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); |