@@ -24,47 +24,47 @@ public function __construct($parameters) {
2424 $ this ->helper = new Helper ($ parameters ['checker ' ], $ this ->mountPoint );
2525 }
2626
27- public function isCreatable (string $ path ): bool {
27+ public function isCreatable ($ path ): bool {
2828 if (!$ this ->helper ->verifyAccess ($ path )) {
2929 return false ;
3030 }
3131
3232 return $ this ->storage ->isCreatable ($ path );
3333 }
3434
35- public function isUpdatable (string $ path ): bool {
35+ public function isUpdatable ($ path ): bool {
3636 if (!$ this ->helper ->verifyAccess ($ path )) {
3737 return false ;
3838 }
3939
4040 return $ this ->storage ->isUpdatable ($ path );
4141 }
4242
43- public function isDeletable (string $ path ): bool {
43+ public function isDeletable ($ path ): bool {
4444 if (!$ this ->helper ->verifyAccess ($ path )) {
4545 return false ;
4646 }
4747
4848 return $ this ->storage ->isDeletable ($ path );
4949 }
5050
51- public function isReadable (string $ path ): bool {
51+ public function isReadable ($ path ): bool {
5252 if (!$ this ->helper ->verifyAccess ($ path )) {
5353 return false ;
5454 }
5555
5656 return $ this ->storage ->isReadable ($ path );
5757 }
5858
59- public function isSharable (string $ path ): bool {
59+ public function isSharable ($ path ): bool {
6060 if (!$ this ->helper ->verifyAccess ($ path )) {
6161 return false ;
6262 }
6363
6464 return $ this ->storage ->isReadable ($ path );
6565 }
6666
67- public function fopen (string $ path , string $ mode ) {
67+ public function fopen ($ path , $ mode ) {
6868 if ($ this ->helper ->verifyAccess ($ path )) {
6969 return $ this ->storage ->fopen ($ path , $ mode );
7070 }
@@ -76,10 +76,9 @@ public function fopen(string $path, string $mode) {
7676 * get a cache instance for the storage
7777 *
7878 * @param string $path
79- * @param \OC\Files\Storage\Storage (optional) the storage to pass to the cache
8079 * @return \OC\Files\Cache\Cache
8180 */
82- public function getCache (string $ path = '' , ? IStorage $ storage = null ): ICache {
81+ public function getCache ( $ path = '' , $ storage = null ): ICache {
8382 if (!$ storage ) {
8483 $ storage = $ this ;
8584 }
0 commit comments