1
0
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:
Sami Mazouz
2024-11-15 15:44:55 +01:00
parent 6323314ad7
commit 4feb4a3820

View File

@@ -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');
}