fix wrong return type of LoggerHandler::getInstance

# Conflicts:
#	src/LoggerHandler.php
This commit is contained in:
Daniel Seifert 2022-07-28 10:07:37 +02:00
parent 1a9389d763
commit 4cd0ab0d17
Signed by: DanielS
GPG Key ID: 8A7C4C6ED1915C6F
1 changed files with 5 additions and 1 deletions

View File

@ -20,10 +20,14 @@ use Psr\Log\NullLogger;
class LoggerHandler
{
/** @var LoggerHandler */
private static $instance = null;
private $logger;
public static function getInstance()
/**
* @return LoggerHandler
*/
public static function getInstance(): LoggerHandler
{
if (self::$instance === null) {
self::$instance = new self();