Skip to content

Commit

Permalink
Fixed compatibility with PHP 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
janpecha committed Dec 7, 2023
1 parent 424561b commit bc54a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Icon.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function __construct($html)
}


public function __toString()
public function __toString(): string
{
return $this->html;
}
Expand Down

0 comments on commit bc54a8e

Please sign in to comment.