Skip to content

Commit

Permalink
[rector] Rector fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Oct 2, 2024
1 parent f87f1b3 commit 344ea4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/src/Traits/HasAsync.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function isAsync(): bool
public function whenAsync(Closure $callback): static
{
return $this->when(
fn() => $this->getCore()->getRequest()->get('_component_name') === $this->getName(),
fn(): bool => $this->getCore()->getRequest()->get('_component_name') === $this->getName(),
fn() => $callback($this)
);
}
Expand Down

0 comments on commit 344ea4e

Please sign in to comment.