Browse Source

cleanups

pull/8134/head
nupplaPhil 1 month ago
parent
commit
0e6a675cb5
No account linked to committer's email address
2 changed files with 4 additions and 1 deletions
  1. +0
    -1
      src/Core/StorageManager.php
  2. +4
    -0
      src/DI.php

+ 0
- 1
src/Core/StorageManager.php View File

@@ -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;

+ 4
- 0
src/DI.php View File

@@ -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);

Loading…
Cancel
Save