cleanups
This commit is contained in:
parent
2838635d64
commit
0e6a675cb5
2 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,6 @@ namespace Friendica\Core;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use Friendica\Core\Config\IConfiguration;
|
use Friendica\Core\Config\IConfiguration;
|
||||||
use Friendica\Core\L10n;
|
|
||||||
use Friendica\Database\Database;
|
use Friendica\Database\Database;
|
||||||
use Friendica\Model\Storage;
|
use Friendica\Model\Storage;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
namespace Friendica;
|
namespace Friendica;
|
||||||
|
|
||||||
use Dice\Dice;
|
use Dice\Dice;
|
||||||
|
use Friendica\Core\L10n;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -156,6 +157,9 @@ abstract class DI
|
||||||
return self::$dice->create(Core\Lock\ILock::class);
|
return self::$dice->create(Core\Lock\ILock::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return L10n
|
||||||
|
*/
|
||||||
public static function l10n()
|
public static function l10n()
|
||||||
{
|
{
|
||||||
return self::$dice->create(Core\L10n::class);
|
return self::$dice->create(Core\L10n::class);
|
||||||
|
|
Loading…
Reference in a new issue