@@ -21,7 +21,7 @@ |
||
| 21 | 21 | // Composer autoloading |
| 22 | 22 | include __DIR__ . '/../vendor/autoload.php'; |
| 23 | 23 | |
| 24 | -if (! class_exists(Application::class)) { |
|
| 24 | +if (!class_exists(Application::class)) { |
|
| 25 | 25 | throw new RuntimeException( |
| 26 | 26 | "Unable to load application.\n" |
| 27 | 27 | . "- Type `composer install` if you are developing locally.\n" |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | $url = $this->getView()->plugin('url'); |
| 12 | 12 | |
| 13 | 13 | $class = ''; |
| 14 | - if (! $item['status']) { |
|
| 14 | + if (!$item['status']) { |
|
| 15 | 15 | $class = ' class="text-danger"'; |
| 16 | 16 | } else { |
| 17 | 17 | $class = ' class="text-success"'; |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | } |
| 200 | 200 | fclose($handle); |
| 201 | 201 | } |
| 202 | - usort($players, function ($valueA, $valueB) { |
|
| 202 | + usort($players, function($valueA, $valueB) { |
|
| 203 | 203 | return $valueB['level'] - $valueA['level'] ?: $valueA['ttl_num'] - $valueB['ttl_num']; |
| 204 | 204 | }); |
| 205 | 205 | |
@@ -433,11 +433,11 @@ discard block |
||
| 433 | 433 | if (($handle = fopen($this->config['bot_quest'], "r")) !== false) { |
| 434 | 434 | while (($data = fgets($handle, 1024)) !== false) { |
| 435 | 435 | // T - title |
| 436 | - if (! isset($data['title']) && $data[0] == "T") { |
|
| 436 | + if (!isset($data['title']) && $data[0] == "T") { |
|
| 437 | 437 | $quest['title'] = trim(substr($data, 2)); |
| 438 | 438 | } |
| 439 | 439 | // Y - type. 1 for time based, 2 for stages |
| 440 | - if (! isset($data['type']) && $data[0] == "Y") { |
|
| 440 | + if (!isset($data['type']) && $data[0] == "Y") { |
|
| 441 | 441 | $quest['type'] = (int) substr($data, 2); |
| 442 | 442 | } |
| 443 | 443 | // S - objective |