We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | 'illusion' => $ship->canHaveIllusion() ? 'Yes' : '', |
| 71 | 71 | 'jump' => $ship->canHaveJump() ? 'Yes' : '', |
| 72 | 72 | 'scrambler' => $ship->canHaveDCS() ? 'Yes' : '', |
| 73 | - 'locs' => implode('', array_map(fn(string $name): string => '<div>' . $name . '</div>', $shipLocs)), |
|
| 73 | + 'locs' => implode('', array_map(fn(string $name) : string => '<div>' . $name . '</div>', $shipLocs)), |
|
| 74 | 74 | ]; |
| 75 | 75 | return $stat; |
| 76 | 76 | } |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | public const TIME_BETWEEN_VOTING = 84600; // 23.5 hours |
| 15 | 15 | |
| 16 | 16 | /** @var ?array<int, int> */ |
| 17 | - private static ?array $CACHE_TIMEOUTS = null; |
|
| 17 | + private static ? array $CACHE_TIMEOUTS = null; |
|
| 18 | 18 | |
| 19 | 19 | /** @var array<string, mixed> */ |
| 20 | 20 | public readonly array $data; |
@@ -754,14 +754,14 @@ |
||
| 754 | 754 | |
| 755 | 755 | public function isFederal(): bool { |
| 756 | 756 | return $this->getTypeID() === SHIP_TYPE_FEDERAL_DISCOVERY || |
| 757 | - $this->getTypeID() === SHIP_TYPE_FEDERAL_WARRANT || |
|
| 758 | - $this->getTypeID() === SHIP_TYPE_FEDERAL_ULTIMATUM; |
|
| 757 | + $this->getTypeID() === SHIP_TYPE_FEDERAL_WARRANT || |
|
| 758 | + $this->getTypeID() === SHIP_TYPE_FEDERAL_ULTIMATUM; |
|
| 759 | 759 | } |
| 760 | 760 | |
| 761 | 761 | public function isUnderground(): bool { |
| 762 | 762 | return $this->getTypeID() === SHIP_TYPE_THIEF || |
| 763 | - $this->getTypeID() === SHIP_TYPE_ASSASSIN || |
|
| 764 | - $this->getTypeID() === SHIP_TYPE_DEATH_CRUISER; |
|
| 763 | + $this->getTypeID() === SHIP_TYPE_ASSASSIN || |
|
| 764 | + $this->getTypeID() === SHIP_TYPE_DEATH_CRUISER; |
|
| 765 | 765 | } |
| 766 | 766 | |
| 767 | 767 | /** |
@@ -123,7 +123,7 @@ |
||
| 123 | 123 | * |
| 124 | 124 | * @param array<string, mixed> $data |
| 125 | 125 | */ |
| 126 | -function replaceMissionTemplate(string|int|PlotGroup &$template, string $key, array $data): void { |
|
| 126 | +function replaceMissionTemplate(string|int|PlotGroup&$template, string $key, array $data): void { |
|
| 127 | 127 | if (!is_string($template)) { |
| 128 | 128 | return; |
| 129 | 129 | } |