@@ -38,7 +38,7 @@ |
||
| 38 | 38 | { |
| 39 | 39 | $prev = self::setCurrentPhpFile($this); |
| 40 | 40 | /** @noinspection PhpUnusedLocalVariableInspection */ |
| 41 | - $_ = new ScopeExit(function () use ($prev) { |
|
| 41 | + $_ = new ScopeExit(function() use ($prev) { |
|
| 42 | 42 | self::setCurrentPhpFile($prev); |
| 43 | 43 | }); |
| 44 | 44 | |
@@ -158,7 +158,7 @@ |
||
| 158 | 158 | */ |
| 159 | 159 | public function addThrows($throws) |
| 160 | 160 | { |
| 161 | - $this->throws []= $throws; |
|
| 161 | + $this->throws [] = $throws; |
|
| 162 | 162 | return $this; |
| 163 | 163 | } |
| 164 | 164 | |
@@ -296,7 +296,7 @@ |
||
| 296 | 296 | $i++; |
| 297 | 297 | $checkName = $name . $i; |
| 298 | 298 | } |
| 299 | - } while(true); |
|
| 299 | + } while (true); |
|
| 300 | 300 | $this->result->addSnippet( |
| 301 | 301 | " self::$name,\n" |
| 302 | 302 | ); |
@@ -223,7 +223,7 @@ |
||
| 223 | 223 | } |
| 224 | 224 | |
| 225 | 225 | if ($schema->format !== null) { |
| 226 | - $or []= 'Format: `' . $schema->format . '`'; |
|
| 226 | + $or [] = 'Format: `' . $schema->format . '`'; |
|
| 227 | 227 | } |
| 228 | 228 | |
| 229 | 229 | $res = ''; |