Skip to content

Commit

Permalink
fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed May 27, 2024
1 parent f981fda commit a3d7aad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PowerGridComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ private function getTheme(): array
$class = $this->template() ?? powerGridTheme();

if (app()->hasDebugModeEnabled()) {
/** @var ThemeBase $themeBase */
$themeBase = PowerGrid::theme($class);

return convertObjectsToArray((array) $themeBase->apply());
Expand Down

0 comments on commit a3d7aad

Please sign in to comment.