mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 03:59:39 +08:00
fix: return type hint static is php 8+
This commit is contained in:
parent
71b444b6f6
commit
b01b75e367
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user