From 4feb4a3820a6c6e3c13fd7034ae583a628d86b30 Mon Sep 17 00:00:00 2001 From: Sami Mazouz Date: Fri, 15 Nov 2024 15:44:55 +0100 Subject: [PATCH] fix(regression): unnecessary breaking change --- framework/core/src/Frontend/Frontend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Frontend/Frontend.php b/framework/core/src/Frontend/Frontend.php index 1f4be210fe..7cb9e34614 100644 --- a/framework/core/src/Frontend/Frontend.php +++ b/framework/core/src/Frontend/Frontend.php @@ -27,7 +27,7 @@ public function __construct( ) { } - public function content(callable $callback, int $priority): void + public function content(callable $callback, int $priority = 0): void { $this->content[] = compact('callback', 'priority'); }