Fixing "ImportController::__construct() must implement interface OCP\\ICache, instance of OC\\Cache\\File given"
This commit is contained in:
parent
b88a0e7080
commit
fc474de573
|
@ -25,9 +25,12 @@ namespace OC\Cache;
|
|||
|
||||
use OC\Files\Filesystem;
|
||||
use OC\Files\View;
|
||||
use OCP\ICache;
|
||||
use OCP\Security\ISecureRandom;
|
||||
|
||||
class File {
|
||||
class File implements ICache {
|
||||
|
||||
/** @var View */
|
||||
protected $storage;
|
||||
|
||||
/**
|
||||
|
|
|
@ -99,6 +99,7 @@ class Server extends \Test\TestCase {
|
|||
['NavigationManager', '\OC\NavigationManager'],
|
||||
['NavigationManager', '\OCP\INavigationManager'],
|
||||
['UserCache', '\OC\Cache\File'],
|
||||
['UserCache', '\OCP\ICache'],
|
||||
|
||||
['OcsClient', '\OC\OCSClient'],
|
||||
|
||||
|
|
Loading…
Reference in New Issue