@@ -2,7 +2,7 @@ |
||
| 2 | 2 | declare(strict_types=1); |
| 3 | 3 | |
| 4 | 4 | require __DIR__ . "/../vendor/autoload.php"; |
| 5 | -Testbench\Bootstrap::setup(__DIR__ . '/_temp', function (\Nette\Configurator $configurator): void { |
|
| 5 | +Testbench\Bootstrap::setup(__DIR__ . '/_temp', function(\Nette\Configurator $configurator): void { |
|
| 6 | 6 | $configurator->addParameters(["appDir" => __DIR__, ]); |
| 7 | 7 | $configurator->addConfig(__DIR__ . "/tests.neon"); |
| 8 | 8 | }); |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | protected string $stat = ""; |
| 31 | 31 | protected int $value = 0; |
| 32 | 32 | protected bool $valueAbsolute; |
| 33 | - protected int|string $duration; |
|
| 33 | + protected int | string $duration; |
|
| 34 | 34 | /** @var callable[] */ |
| 35 | 35 | public array $onApply = []; |
| 36 | 36 | /** @var callable[] */ |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | return $this->valueAbsolute; |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | - protected function getDuration(): int|string { |
|
| 130 | + protected function getDuration(): int | string { |
|
| 131 | 131 | return $this->duration; |
| 132 | 132 | } |
| 133 | 133 | |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | public const STATUS_POISONED = "poisoned"; |
| 76 | 76 | public const STATUS_HIDDEN = "hidden"; |
| 77 | 77 | |
| 78 | - protected int|string $id; |
|
| 78 | + protected int | string $id; |
|
| 79 | 79 | protected string $name; |
| 80 | 80 | protected string $gender = "male"; |
| 81 | 81 | protected string $race; |
@@ -200,7 +200,7 @@ discard block |
||
| 200 | 200 | $this->dodgeBase = $this->dodge; |
| 201 | 201 | } |
| 202 | 202 | |
| 203 | - protected function getId(): int|string { |
|
| 203 | + protected function getId(): int | string { |
|
| 204 | 204 | return $this->id; |
| 205 | 205 | } |
| 206 | 206 | |