From b890eb76fa6c28cf03102c878b1177ff35fb6ec4 Mon Sep 17 00:00:00 2001 From: luanfreitasdev Date: Sat, 18 May 2024 15:13:58 -0300 Subject: [PATCH] fix phpstan --- src/PowerGridComponent.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/PowerGridComponent.php b/src/PowerGridComponent.php index e72300c41..b6fda4089 100644 --- a/src/PowerGridComponent.php +++ b/src/PowerGridComponent.php @@ -188,10 +188,6 @@ private function getTheme(): array { $class = $this->template() ?? powerGridTheme(); - $themeBase = PowerGrid::theme($class); - - return convertObjectsToArray((array) $themeBase->apply()); - return Cache::rememberForever('powerGridTheme_' . $class, function () use ($class) { /** @var ThemeBase $themeBase */ $themeBase = PowerGrid::theme($class);