mirror of
https://github.com/flarum/core.git
synced 2025-08-01 22:20:21 +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 $setRel = null;
|
||||||
protected $setTarget = null;
|
protected $setTarget = null;
|
||||||
|
|
||||||
public function setRel(callable $callable): static
|
public function setRel(callable $callable)
|
||||||
{
|
{
|
||||||
$this->setRel = $callable;
|
$this->setRel = $callable;
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setTarget(callable $callable): static
|
public function setTarget(callable $callable)
|
||||||
{
|
{
|
||||||
$this->setTarget = $callable;
|
$this->setTarget = $callable;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user