From 0df126b4a7870b175b6477a26d66e9402d4fcf59 Mon Sep 17 00:00:00 2001 From: systemasis Date: Tue, 7 Jan 2025 13:58:35 +0100 Subject: [PATCH] PHP-CS-fix --- src/Router/AdminRouteGenerator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Router/AdminRouteGenerator.php b/src/Router/AdminRouteGenerator.php index a9c2ee523b..c62b72a502 100644 --- a/src/Router/AdminRouteGenerator.php +++ b/src/Router/AdminRouteGenerator.php @@ -220,11 +220,11 @@ private function getDashboardsRouteConfig(): array $reflectionClass = new \ReflectionClass($dashboardController); $indexMethod = $reflectionClass->getMethod('index'); - if(class_exists(\Symfony\Component\Routing\Attribute\Route::class)) { + if (class_exists(\Symfony\Component\Routing\Attribute\Route::class)) { $attributes = $indexMethod->getAttributes(\Symfony\Component\Routing\Attribute\Route::class); } - if(!isset($attributes) || [] === $attributes) { + if (!isset($attributes) || [] === $attributes) { $attributes = $indexMethod->getAttributes(\Symfony\Component\Routing\Annotation\Route::class); }