Skip to content

Commit

Permalink
Regent default singleton params fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Jan 1, 2024
1 parent b81f4f8 commit 7866ad4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Ease/Logger/Regent.php
Expand Up @@ -153,10 +153,10 @@ public function addStatusObject(Message $message)
/**
* Get The Regent
*/
public static function singleton($logger = null)
public static function singleton($loggers = [])
{
if (!isset(self::$instance)) {
self::$instance = new self(empty($logger) ? \Ease\Shared::cfg('EASE_LOGGER') : $logger);
self::$instance = new self($loggers);
}
return self::$instance;
}
Expand Down

0 comments on commit 7866ad4

Please sign in to comment.