fix wrong return type of LoggerHandler::getInstance
# Conflicts: # src/LoggerHandler.php
This commit is contained in:
parent
1a9389d763
commit
4cd0ab0d17
@ -20,10 +20,14 @@ use Psr\Log\NullLogger;
|
|||||||
|
|
||||||
class LoggerHandler
|
class LoggerHandler
|
||||||
{
|
{
|
||||||
|
/** @var LoggerHandler */
|
||||||
private static $instance = null;
|
private static $instance = null;
|
||||||
private $logger;
|
private $logger;
|
||||||
|
|
||||||
public static function getInstance()
|
/**
|
||||||
|
* @return LoggerHandler
|
||||||
|
*/
|
||||||
|
public static function getInstance(): LoggerHandler
|
||||||
{
|
{
|
||||||
if (self::$instance === null) {
|
if (self::$instance === null) {
|
||||||
self::$instance = new self();
|
self::$instance = new self();
|
||||||
|
Loading…
Reference in New Issue
Block a user