We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -246,7 +246,7 @@ discard block |
||
| 246 | 246 | /** |
| 247 | 247 | * Check if the account is disabled. |
| 248 | 248 | */ |
| 249 | - public function isDisabled() : array | false { |
|
| 249 | + public function isDisabled() : array|false { |
|
| 250 | 250 | $this->db->query('SELECT * FROM account_is_closed JOIN closing_reason USING(reason_id) ' . |
| 251 | 251 | 'WHERE ' . $this->SQL . ' LIMIT 1'); |
| 252 | 252 | if ($this->db->nextRecord()) { |
@@ -377,13 +377,13 @@ discard block |
||
| 377 | 377 | $this->db->query('SELECT type,sum(amount) as amount FROM player_hof WHERE ' . $this->SQL . ' AND game_id IN (SELECT game_id FROM game WHERE ignore_stats = \'FALSE\') GROUP BY type'); |
| 378 | 378 | $this->HOF = array(); |
| 379 | 379 | while ($this->db->nextRecord()) { |
| 380 | - $hof =& $this->HOF; |
|
| 380 | + $hof = & $this->HOF; |
|
| 381 | 381 | $typeList = explode(':', $this->db->getField('type')); |
| 382 | 382 | foreach ($typeList as $type) { |
| 383 | 383 | if (!isset($hof[$type])) { |
| 384 | 384 | $hof[$type] = array(); |
| 385 | 385 | } |
| 386 | - $hof =& $hof[$type]; |
|
| 386 | + $hof = & $hof[$type]; |
|
| 387 | 387 | } |
| 388 | 388 | $hof = $this->db->getFloat('amount'); |
| 389 | 389 | } |
@@ -340,7 +340,7 @@ |
||
| 340 | 340 | /** |
| 341 | 341 | * Check if the galaxy contains a specific sector. |
| 342 | 342 | */ |
| 343 | - public function contains(int | SmrSector $sectorID) : bool { |
|
| 343 | + public function contains(int|SmrSector $sectorID) : bool { |
|
| 344 | 344 | if ($sectorID instanceof SmrSector) { |
| 345 | 345 | return $sectorID->getGalaxyID() == $this->getGalaxyID(); |
| 346 | 346 | } |