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 67f913f commit 8bb3f41
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 8bb3f41

Please sign in to comment.