From 0b44e6eed028f18b36a0abc36f0a0cc25e58b7f1 Mon Sep 17 00:00:00 2001 From: shimomo Date: Wed, 15 Jan 2025 06:06:05 +0900 Subject: [PATCH] Improve readability by breaking long line in __call() of MainStadium --- src/MainStadium.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/MainStadium.php b/src/MainStadium.php index b011b86..d4e6903 100644 --- a/src/MainStadium.php +++ b/src/MainStadium.php @@ -44,7 +44,9 @@ public function __call(string $name, array $arguments): ?Collection return null; } - $this->stadiums ??= collect(require __DIR__ . '/../config/stadiums.php')->recursive(); + $this->stadiums ??= collect( + require __DIR__ . '/../config/stadiums.php' + )->recursive(); $stadiums = $this->stadiums->keyBy(Str::snake($matches[1])); if ($stadiums->has($arguments[0])) {