From 150135cd8522d7740119ab1c02b8d8becfa01ffc Mon Sep 17 00:00:00 2001 From: Ralf Lang Date: Thu, 26 Mar 2026 17:14:27 +0100 Subject: [PATCH] fix: Address horde/nag#8 deprecation of implicit null --- lib/Task.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Task.php b/lib/Task.php index 08a126d9..5aafa183 100644 --- a/lib/Task.php +++ b/lib/Task.php @@ -343,7 +343,7 @@ class Nag_Task * @param Nag_Driver $storage A storage driver. * @param array $task A task hash. */ - public function __construct(Nag_Driver $storage = null, array $task = null) + public function __construct(?Nag_Driver $storage = null, ?array $task = null) { if ($storage) { $this->_storage = $storage;