@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | include 'src/Game/config/ecs.php'; |
21 | 21 | include 'src/SharedKernel/config/ecs.php'; |
22 | 22 | |
23 | -return static function (ContainerConfigurator $containerConfigurator): void { |
|
23 | +return static function(ContainerConfigurator $containerConfigurator): void { |
|
24 | 24 | $services = $containerConfigurator->services(); |
25 | 25 | $services->set(ArraySyntaxFixer::class) |
26 | 26 | ->call('configure', [[ |
@@ -55,10 +55,10 @@ discard block |
||
55 | 55 | Option::SKIP, |
56 | 56 | array_merge( |
57 | 57 | [__DIR__ . '/src/Kernel.php'], |
58 | - array_map(static fn (string $path) => __DIR__ . $path, CROSSWORD_SKIP_PATH), |
|
59 | - array_map(static fn (string $path) => __DIR__ . $path, DICTIONARY_SKIP_PATH), |
|
60 | - array_map(static fn (string $path) => __DIR__ . $path, GAME_SKIP_PATH), |
|
61 | - array_map(static fn (string $path) => __DIR__ . $path, SHARED_KERNEL_SKIP_PATH), |
|
58 | + array_map(static fn(string $path) => __DIR__ . $path, CROSSWORD_SKIP_PATH), |
|
59 | + array_map(static fn(string $path) => __DIR__ . $path, DICTIONARY_SKIP_PATH), |
|
60 | + array_map(static fn(string $path) => __DIR__ . $path, GAME_SKIP_PATH), |
|
61 | + array_map(static fn(string $path) => __DIR__ . $path, SHARED_KERNEL_SKIP_PATH), |
|
62 | 62 | ) |
63 | 63 | ); |
64 | 64 | }; |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | { |
20 | 20 | $this->histories = array_reduce( |
21 | 21 | $history, |
22 | - static function (array $histories, History $history): array { |
|
22 | + static function(array $histories, History $history): array { |
|
23 | 23 | $histories[(string) $history->historyId()] = $history; |
24 | 24 | |
25 | 25 | return $histories; |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | public function ratingHistory(int $limit = self::LIMIT): array |
32 | 32 | { |
33 | 33 | return array_map( |
34 | - static fn (History $history) => new HistoryRatingDto('test', $history->level()), |
|
34 | + static fn(History $history) => new HistoryRatingDto('test', $history->level()), |
|
35 | 35 | $this->histories |
36 | 36 | ); |
37 | 37 | } |