LocalFileStorage::create(): Add missing return statement

This commit is contained in:
Sukhwinder Dhillon 2023-08-16 12:39:04 +02:00 committed by raviks789
parent ee9d139a3a
commit 66c4fc404e
1 changed files with 6 additions and 0 deletions

View File

@ -76,6 +76,8 @@ class LocalFileStorage implements StorageInterface
} catch (ErrorException $e) {
throw new NotWritableError('Couldn\'t create the file "%s": %s', $path, $e);
}
return $this;
}
public function read($path)
@ -98,6 +100,8 @@ class LocalFileStorage implements StorageInterface
} catch (ErrorException $e) {
throw new NotWritableError('Couldn\'t update the file "%s": %s', $path, $e);
}
return $this;
}
public function delete($path)
@ -109,6 +113,8 @@ class LocalFileStorage implements StorageInterface
} catch (ErrorException $e) {
throw new NotWritableError('Couldn\'t delete the file "%s": %s', $path, $e);
}
return $this;
}
public function resolvePath($path, $assertExistence = false)