diff --git a/src/Core/StorageManager.php b/src/Core/StorageManager.php index 1354de559..067885c44 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 103c9be69..5794f08f5 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);