diff --git a/src/Markup.php b/src/Markup.php index 231a29b4121..1788acc4f73 100644 --- a/src/Markup.php +++ b/src/Markup.php @@ -41,6 +41,9 @@ public function count() return mb_strlen($this->content, $this->charset); } + /** + * @return mixed + */ #[\ReturnTypeWillChange] public function jsonSerialize() { diff --git a/src/Util/TemplateDirIterator.php b/src/Util/TemplateDirIterator.php index 8125341bd81..3bef14beec3 100644 --- a/src/Util/TemplateDirIterator.php +++ b/src/Util/TemplateDirIterator.php @@ -16,12 +16,18 @@ */ class TemplateDirIterator extends \IteratorIterator { + /** + * @return mixed + */ #[\ReturnTypeWillChange] public function current() { return file_get_contents(parent::current()); } + /** + * @return mixed + */ #[\ReturnTypeWillChange] public function key() {