mirror of
https://github.com/flarum/core.git
synced 2025-08-01 14:10:37 +02:00
fix: return type hint static is php 8+
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user