From bf3dec3f46466824b862cd427eb2b86b1cbcec87 Mon Sep 17 00:00:00 2001 From: Kirill Nesmeyanov Date: Wed, 14 Aug 2024 19:07:15 +0300 Subject: [PATCH] Fix PHP 8.4 deprecations in Proxy class --- src/Proxy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Proxy.php b/src/Proxy.php index 9192e7d..5beb9e1 100644 --- a/src/Proxy.php +++ b/src/Proxy.php @@ -21,7 +21,7 @@ abstract class Proxy implements ApiInterface /** * @param \FFI|null $ffi */ - public function __construct(\FFI $ffi = null) + public function __construct(?\FFI $ffi = null) { if ($ffi !== null) { $this->ffi = $ffi;