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