Merge pull request #26003 from nextcloud/enh/simplefile/getid

Add getID function to the simplefile implementation
This commit is contained in:
Morris Jobke 2021-03-15 14:41:15 +01:00 committed by GitHub
commit f512705f8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -180,4 +180,8 @@ class SimpleFile implements ISimpleFile {
public function write() { public function write() {
return $this->file->fopen('w'); return $this->file->fopen('w');
} }
public function getId(): int {
return $this->file->getId();
}
} }