File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 77 */
88namespace OC \Files \Cache ;
99
10+ use OCP \Files \Cache \ICache ;
1011use OCP \Files \Cache \ICacheEntry ;
12+ use OCP \Files \Cache \IScanner ;
1113use OCP \Files \Cache \IWatcher ;
14+ use OCP \Files \Storage \IStorage ;
1215
1316/**
1417 * check the storage backends for updates and change the cache accordingly
@@ -19,17 +22,17 @@ class Watcher implements IWatcher {
1922 protected $ checkedPaths = [];
2023
2124 /**
22- * @var \OC\Files\Storage\Storage $storage
25+ * @var IStorage $storage
2326 */
2427 protected $ storage ;
2528
2629 /**
27- * @var Cache $cache
30+ * @var ICache $cache
2831 */
2932 protected $ cache ;
3033
3134 /**
32- * @var Scanner $scanner ;
35+ * @var IScanner $scanner ;
3336 */
3437 protected $ scanner ;
3538
@@ -38,10 +41,7 @@ class Watcher implements IWatcher {
3841
3942 protected ?string $ checkFilter = null ;
4043
41- /**
42- * @param \OC\Files\Storage\Storage $storage
43- */
44- public function __construct (\OC \Files \Storage \Storage $ storage ) {
44+ public function __construct (IStorage $ storage ) {
4545 $ this ->storage = $ storage ;
4646 $ this ->cache = $ storage ->getCache ();
4747 $ this ->scanner = $ storage ->getScanner ();
You can’t perform that action at this time.
0 commit comments