Remove unecessary fully qualified namespaces from phpdoc

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/36836/head
Côme Chilliet 2023-04-05 09:13:39 +07:00
parent 8f26a5d766
commit 6633b4ced6
No known key found for this signature in database
GPG Key ID: A3E2F658B28C760A
1 changed files with 4 additions and 4 deletions

@ -641,7 +641,7 @@ class View {
throw $e;
}
/** @var \OC\Files\Storage\Storage $storage */
/** @var Storage $storage */
[$storage, $internalPath] = $this->resolvePath($path);
$target = $storage->fopen($internalPath, 'w');
if ($target) {
@ -1126,7 +1126,7 @@ class View {
$run = $this->runHooks($hooks, $path);
[$storage, $internalPath] = Filesystem::resolvePath($absolutePath . $postFix);
if ($run and $storage) {
/** @var \OC\Files\Storage\Storage $storage */
/** @var Storage $storage */
if (in_array('write', $hooks) || in_array('delete', $hooks)) {
try {
$this->changeLock($path, ILockingProvider::LOCK_EXCLUSIVE);
@ -1296,7 +1296,7 @@ class View {
* If the file is not in cached it will be scanned
* If the file has changed on storage the cache will be updated
*
* @param \OC\Files\Storage\Storage $storage
* @param Storage $storage
* @param string $internalPath
* @param string $relativePath
* @return ICacheEntry|bool
@ -1547,7 +1547,7 @@ class View {
}
$path = Filesystem::normalizePath($this->fakeRoot . '/' . $path);
/**
* @var \OC\Files\Storage\Storage $storage
* @var Storage $storage
* @var string $internalPath
*/
[$storage, $internalPath] = Filesystem::resolvePath($path);