Skip to content

Commit

Permalink
Implode keys of the class list
Browse files Browse the repository at this point in the history
  • Loading branch information
juniwalk authored Mar 27, 2024
1 parent e2ab5e8 commit d380d45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/UI/Actions/Traits/Control.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public function hasClass(string $name): bool
$class = $this->control->getClass() ?? '';

if (is_array($class)) {
$class = array_keys($class);
$class = implode(' ', $class);
}

Expand Down

0 comments on commit d380d45

Please sign in to comment.