cleanup namespace usages for L10n

This commit is contained in:
nupplaPhil 2020-01-18 22:07:07 +01:00
parent 0e6a675cb5
commit d6efc90194
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
170 changed files with 26 additions and 205 deletions

View file

@ -136,26 +136,26 @@ namespace Friendica\Addon\samplestorage;
use Friendica\Model\Storage\IStorage;
use Friendica\Core\Config;
use Friendica\Core\Config\IConfiguration;
use Friendica\Core\L10n;
class SampleStorageBackend implements IStorage
{
const NAME = 'Sample Storage';
/** @var Config\IConfiguration */
/** @var IConfiguration */
private $config;
/** @var \Friendica\Core\L10n */
/** @var L10n */
private $l10n;
/**
* SampleStorageBackend constructor.
* @param Config\IConfiguration $config The configuration of Friendica
* @param IConfiguration $config The configuration of Friendica
*
* You can add here every dynamic class as dependency you like and add them to a private field
* Friendica automatically creates these classes and passes them as argument to the constructor
*/
public function __construct(Config\IConfiguration $config, \Friendica\Core\L10n $l10n)
public function __construct(IConfiguration $config, L10n $l10n)
{
$this->config = $config;
$this->l10n = $l10n;