mirror of
https://github.com/flarum/core.git
synced 2025-08-08 01:16:52 +02:00
fix(regression): unnecessary breaking change
This commit is contained in:
@@ -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');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user