Skip to content

Commit d9e2ede

Browse files
Update return type for getIcon method to nullable string
1 parent fb90c58 commit d9e2ede

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/Concerns/HasIcon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function getIconAnimation(): ?string
2525
return $this->evaluate($this->iconAnimation)?->value ?? null;
2626
}
2727

28-
public function getIcon(): string
28+
public function getIcon(): ?string
2929
{
3030
return $this->evaluate($this->icon);
3131
}

0 commit comments

Comments
 (0)