Skip to content

Commit

Permalink
type hint fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 authored and rullzer committed Feb 11, 2021
1 parent 798d0e8 commit a70f4a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions apps/files_sharing/lib/SharedStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
use OC\Files\Storage\Wrapper\PermissionsMask;
use OC\User\NoUserException;
use OCP\Constants;
use OCP\Files\Cache\ICache;
use OCP\Files\Cache\ICacheEntry;
use OCP\Files\NotFoundException;
use OCP\Files\Storage\IDisableEncryptionStorage;
Expand Down Expand Up @@ -370,8 +371,8 @@ public function getItemType() {

/**
* @param string $path
* @param null $storage
* @return Cache
* @param IStorage|null $storage
* @return ICache
*/
public function getCache($path = '', $storage = null) {
if ($this->cache) {
Expand Down
2 changes: 1 addition & 1 deletion lib/public/Files/Storage/IStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ public function getOwner($path);

/**
* @param string $path
* @param IStorage $storage
* @param IStorage|null $storage
* @return ICache
* @since 9.0.0
*/
Expand Down

0 comments on commit a70f4a5

Please sign in to comment.