fix(regression): unnecessary breaking change

This commit is contained in:
Sami Mazouz 2024-11-15 15:44:55 +01:00
parent 6323314ad7
commit 4feb4a3820
No known key found for this signature in database

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