Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
francoism90 committed Jul 8, 2024
1 parent 53aa055 commit 4cdae82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/Html/Elements/Icon.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Check failure on line 13 in src/Support/Html/Elements/Icon.php

View workflow job for this annotation

GitHub Actions / phpstan

Function svg not found.
}
Expand Down

0 comments on commit 4cdae82

Please sign in to comment.