fix: return type hint static is php 8+

This commit is contained in:
Daniël Klabbers 2022-08-04 10:07:48 +02:00
parent 71b444b6f6
commit b01b75e367

View File

@ -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;