From 45dbcb967739c7b0d14076ab49243f1f24190359 Mon Sep 17 00:00:00 2001 From: romanerismann Date: Sun, 28 Jun 2026 15:47:06 +0200 Subject: [PATCH] Update Response.php fix Incompatible method signature --- src/Response/Response.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Response/Response.php b/src/Response/Response.php index 2678534..80819f6 100644 --- a/src/Response/Response.php +++ b/src/Response/Response.php @@ -126,12 +126,12 @@ public function output(): void * * @throws AjaxExitException */ - public function send(): static + public function send(bool $flush = true): static { if (defined('UNIT_TESTING')) { throw new AjaxExitException(json_encode($this), AjaxExitException::CODE_NORMAL_EXIT); } - return parent::send(); + return parent::send($flush); } }