fix wrong return type of LoggerHandler::getInstance
# Conflicts: # src/LoggerHandler.php
Cette révision appartient à :
Parent
1a9389d763
révision
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();
|
||||||
|
|
Chargement…
Référencer dans un nouveau ticket