mirror of
https://github.com/flarum/framework.git
synced 2024-11-30 21:44:12 +08:00
fix(regression): unnecessary breaking change
This commit is contained in:
parent
6323314ad7
commit
4feb4a3820
|
@ -27,7 +27,7 @@ class Frontend
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function content(callable $callback, int $priority): void
|
public function content(callable $callback, int $priority = 0): void
|
||||||
{
|
{
|
||||||
$this->content[] = compact('callback', 'priority');
|
$this->content[] = compact('callback', 'priority');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user