From 05d247ced8e502c8eba64caa5a50e56244ea47e1 Mon Sep 17 00:00:00 2001 From: Carsten Bach Date: Tue, 1 Oct 2024 02:19:58 +0200 Subject: [PATCH] Minor fix to prevent phpdoc.parseError --- includes/core/classes/traits/class-singleton.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/core/classes/traits/class-singleton.php b/includes/core/classes/traits/class-singleton.php index c207100fc..4c6f08808 100644 --- a/includes/core/classes/traits/class-singleton.php +++ b/includes/core/classes/traits/class-singleton.php @@ -27,9 +27,9 @@ trait Singleton { * The single instance of the class. * * @since 1.0.0 - * @var ?self|null The instance of the class. + * @var self|null The instance of the class or null if not instantiated. */ - private static $instance = null; + private static ?self $instance = null; /** * Get the instance of the Singleton class.