Skip to content

Commit

Permalink
Minor fix to prevent phpdoc.parseError
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed Oct 1, 2024
1 parent c9517df commit 05d247c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/core/classes/traits/class-singleton.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 05d247c

Please sign in to comment.