From b01b75e36790d8026dd27ce59051d9581ad47940 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Klabbers?= Date: Thu, 4 Aug 2022 10:07:48 +0200 Subject: [PATCH] fix: return type hint static is php 8+ --- framework/core/src/Extend/Link.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/src/Extend/Link.php b/framework/core/src/Extend/Link.php index b9c484414..e3669876a 100644 --- a/framework/core/src/Extend/Link.php +++ b/framework/core/src/Extend/Link.php @@ -21,14 +21,14 @@ class Link implements ExtenderInterface protected $setRel = null; protected $setTarget = null; - public function setRel(callable $callable): static + public function setRel(callable $callable) { $this->setRel = $callable; return $this; } - public function setTarget(callable $callable): static + public function setTarget(callable $callable) { $this->setTarget = $callable;