From bc54a8e430b5248add11335413916d22dfa3f272 Mon Sep 17 00:00:00 2001 From: Jan Pecha Date: Thu, 7 Dec 2023 09:58:33 +0100 Subject: [PATCH] Fixed compatibility with PHP 7.4 --- src/Icon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Icon.php b/src/Icon.php index 35be3ec..3315a3c 100644 --- a/src/Icon.php +++ b/src/Icon.php @@ -20,7 +20,7 @@ public function __construct($html) } - public function __toString() + public function __toString(): string { return $this->html; }