mirror of
https://github.com/friendica/friendica
synced 2025-01-19 14:59:46 +00:00
Remove default logchannel from Container::setup()
This commit is contained in:
parent
f40fb6b099
commit
870b3b9a1c
2 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue