diff --git a/src/Support/Html/Elements/Icon.php b/src/Support/Html/Elements/Icon.php index 577eff6..c170a69 100644 --- a/src/Support/Html/Elements/Icon.php +++ b/src/Support/Html/Elements/Icon.php @@ -8,7 +8,7 @@ class Icon extends BaseElement { protected $tag = 'span'; - public function svg(?string $name = null, ?string $class = null) + public function svg(?string $name = null, ?string $class = null): static { return $this->html(svg($name, $class)); }