From 9a6676b163e8b419b46107b0e331c59cf790fc33 Mon Sep 17 00:00:00 2001 From: Deeka Wong <8337659+huangdijia@users.noreply.github.com> Date: Thu, 29 Feb 2024 10:18:42 +0800 Subject: [PATCH] Update Onceable constructor signature --- src/Onceable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Onceable.php b/src/Onceable.php index 734ab8e..61b035e 100644 --- a/src/Onceable.php +++ b/src/Onceable.php @@ -23,7 +23,7 @@ class Onceable */ public function __construct( public string $hash, - public object|null $object, + public ?object $object, public $callable ) { }