Skip to content

Commit

Permalink
Fixed code style
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna authored and github-actions[bot] committed Mar 24, 2024
1 parent a21eb28 commit 0def0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Screen/Actions/Button.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function method(string $name, array $parameters = []): self
public function parameters(array|object $parameters): self
{
$parameters = is_array($parameters)
? collect($parameters)->filter(fn($value) => filled($value))->all()
? collect($parameters)->filter(fn ($value) => filled($value))->all()
: $parameters;

return $this->set('parameters', $parameters);
Expand Down

0 comments on commit 0def0db

Please sign in to comment.