Skip to content
This repository has been archived by the owner on Mar 1, 2025. It is now read-only.

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphjsmit authored and github-actions[bot] committed Aug 15, 2022
1 parent c65389d commit a9fdfad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Actions/ButtonAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function getName(): string

public function isHidden(): bool
{
if ( $this->evaluate($this->isHidden) ) {
if ($this->evaluate($this->isHidden)) {
return true;
}

Expand Down Expand Up @@ -84,7 +84,7 @@ public function hidden(bool|Closure $condition): static

protected function evaluate(mixed $value): mixed
{
if ( $value instanceof Closure ) {
if ($value instanceof Closure) {
return app()->call($value);
}

Expand All @@ -93,7 +93,7 @@ protected function evaluate(mixed $value): mixed

public function color(string $color): static
{
if ( in_array($color, ['secondary', 'danger']) ) {
if (in_array($color, ['secondary', 'danger'])) {
$this->color = $color;
}

Expand Down

0 comments on commit a9fdfad

Please sign in to comment.