From: nupplaPhil Date: Sat, 18 Jan 2020 20:01:44 +0000 (+0100) Subject: cleanups X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0e6a675cb5ef99545caf587740b73ff7b4d590d9;p=friendica.git cleanups --- diff --git a/src/Core/StorageManager.php b/src/Core/StorageManager.php index 1354de5597..067885c447 100644 --- a/src/Core/StorageManager.php +++ b/src/Core/StorageManager.php @@ -4,7 +4,6 @@ namespace Friendica\Core; use Exception; use Friendica\Core\Config\IConfiguration; -use Friendica\Core\L10n; use Friendica\Database\Database; use Friendica\Model\Storage; use Psr\Log\LoggerInterface; diff --git a/src/DI.php b/src/DI.php index 103c9be69b..5794f08f54 100644 --- a/src/DI.php +++ b/src/DI.php @@ -3,6 +3,7 @@ namespace Friendica; use Dice\Dice; +use Friendica\Core\L10n; use Psr\Log\LoggerInterface; /** @@ -156,6 +157,9 @@ abstract class DI return self::$dice->create(Core\Lock\ILock::class); } + /** + * @return L10n + */ public static function l10n() { return self::$dice->create(Core\L10n::class);