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 Dec 11, 2024
1 parent 743c599 commit 9f3c07e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/UI/src/Fields/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,11 +383,11 @@ private function previewDecoration(Renderable|string $value): Renderable|string
)
->when(
!$this->isWithoutIcon() && $this->getLinkIcon() !== null,
fn(Link $ctx) => $ctx->icon($this->getLinkIcon())
fn(Link $ctx): Link => $ctx->icon($this->getLinkIcon())
)
->when(
$this->isLinkBlank(),
fn(Link $ctx) => $ctx->blank()
fn(Link $ctx): Link => $ctx->blank()
)
->render();
}
Expand Down

0 comments on commit 9f3c07e

Please sign in to comment.