diff --git a/src/Core/Container.php b/src/Core/Container.php index 44d770c644..84f8564a87 100644 --- a/src/Core/Container.php +++ b/src/Core/Container.php @@ -9,8 +9,6 @@ declare(strict_types=1); namespace Friendica\Core; -use Friendica\Core\Logger\Capability\LogChannel; - /** * Dependency Injection Container */ @@ -25,7 +23,7 @@ interface Container * * @return void */ - public function setup(string $logChannel = LogChannel::DEFAULT): void; + public function setup(string $logChannel): void; /** * Returns a fully constructed object based on $name using $args and $share as constructor arguments if supplied diff --git a/src/Core/DiceContainer.php b/src/Core/DiceContainer.php index bba5a18ab6..2c1f5faba7 100644 --- a/src/Core/DiceContainer.php +++ b/src/Core/DiceContainer.php @@ -10,7 +10,6 @@ declare(strict_types=1); namespace Friendica\Core; use Dice\Dice; -use Friendica\Core\Logger\Capability\LogChannel; use Friendica\DI; use Psr\Log\LoggerInterface; @@ -44,7 +43,7 @@ final class DiceContainer implements Container * * @return void */ - public function setup(string $logChannel = LogChannel::DEFAULT): void + public function setup(string $logChannel): void { $this->setupContainerForLogger($logChannel); $this->setupLegacyServiceLocator();