]> git.mxchange.org Git - friendica.git/blobdiff - doc/AddonStorageBackend.md
Merge pull request #8179 from MrPetovan/bug/notices
[friendica.git] / doc / AddonStorageBackend.md
index ed6c5d87ae5853e5b29d543d361106aa79b36e82..17c3f0414077ee1dfb4d8a800427aea46372e39c 100644 (file)
@@ -136,26 +136,26 @@ namespace Friendica\Addon\samplestorage;
 
 use Friendica\Model\Storage\IStorage;
 
-use Friendica\Core\Config;
+use Friendica\Core\Config\IConfig;
 use Friendica\Core\L10n;
 
 class SampleStorageBackend implements IStorage
 {
        const NAME = 'Sample Storage';
 
-       /** @var Config\IConfiguration */
+       /** @var IConfig */
        private $config;
-       /** @var \Friendica\Core\L10n */
+       /** @var L10n */
        private $l10n;
 
        /**
          * SampleStorageBackend constructor.
-         * @param Config\IConfiguration $config The configuration of Friendica
+         * @param IConfig $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(IConfig $config, L10n $l10n) 
        {
                $this->config = $config;
                $this->l10n   = $l10n;