]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/Cache.php
Merge pull request #10961 from annando/deprecated
[friendica.git] / src / Console / Cache.php
index 049ffd0ffb39825e2606efe8b07d863f70f2fe5f..560832c9ce17f0305d45b7216b42699369739989 100644 (file)
@@ -23,8 +23,8 @@ namespace Friendica\Console;
 
 use Asika\SimpleConsole\CommandArgsException;
 use Friendica\App;
-use Friendica\Core\Cache\Duration;
-use Friendica\Core\Cache\ICache;
+use Friendica\Core\Cache\Enum\Duration;
+use Friendica\Core\Cache\Capability\ICanCache;
 use RuntimeException;
 
 /**
@@ -44,7 +44,7 @@ class Cache extends \Asika\SimpleConsole\Console
        private $appMode;
 
        /**
-        * @var ICache
+        * @var ICanCache
         */
        private $cache;
 
@@ -82,7 +82,7 @@ HELP;
                return $help;
        }
 
-       public function __construct(App\Mode $appMode, ICache $cache, array $argv = null)
+       public function __construct(App\Mode $appMode, ICanCache $cache, array $argv = null)
        {
                parent::__construct($argv);