Skip to content

Commit ed02e57

Browse files
Merge pull request #48 from CodeWithDennis/icon-return-null-or-string-fix
Update return type of getIcon method to nullable string
2 parents 80ee77d + ea45d8a commit ed02e57

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)