From 64d7345bfe34a208ef5e84768473d143396ad21b Mon Sep 17 00:00:00 2001 From: Gerson Felipe Schwinn Date: Fri, 9 May 2025 17:25:49 -0300 Subject: [PATCH] Melhorando suporte a PHP 8.4 Hoje ocorre o seguinte erro: deprecated: 8192 :: PhpSigep\Cache\Storage\Adapter\AdapterOptions::setAdapter(): Implicitly marking parameter $adapter as nullable is deprecated, the explicit nullable type must be used instead on line 52 --- src/PhpSigep/Cache/Storage/Adapter/AdapterOptions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpSigep/Cache/Storage/Adapter/AdapterOptions.php b/src/PhpSigep/Cache/Storage/Adapter/AdapterOptions.php index b02d1a308f..55934ca91b 100644 --- a/src/PhpSigep/Cache/Storage/Adapter/AdapterOptions.php +++ b/src/PhpSigep/Cache/Storage/Adapter/AdapterOptions.php @@ -49,7 +49,7 @@ class AdapterOptions extends DefaultStdClass * @param StorageInterface|null $adapter * @return AdapterOptions */ - public function setAdapter(StorageInterface $adapter = null) + public function setAdapter(?StorageInterface $adapter = null) { $this->adapter = $adapter;