mirror of
https://github.com/flarum/core.git
synced 2025-08-07 00:47:00 +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');
|
||||
}
|
||||
|
Reference in New Issue
Block a user