From a72cbc536b194f13e6c421879b985ecda91c2302 Mon Sep 17 00:00:00 2001 From: Joan Miquel Date: Mon, 30 Sep 2024 13:01:43 +0200 Subject: [PATCH] Update AdapterFunctions.php Fix for PHP8.4 --- src/functions/AdapterFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions/AdapterFunctions.php b/src/functions/AdapterFunctions.php index b330a6c..a682e01 100644 --- a/src/functions/AdapterFunctions.php +++ b/src/functions/AdapterFunctions.php @@ -133,7 +133,7 @@ function set_time_limit(int $seconds): bool * * @return bool Always false with Adapterman */ -function headers_sent(string &$filename = null, int &$line = null): bool +function headers_sent(?string &$filename = null, ?int &$line = null): bool { return false; }