Merge pull request #26119 from nextcloud/backport/26003/stable21

[stable21] Add getID function to the simplefile implementation
This commit is contained in:
Vincent Petry 2021-03-19 13:59:00 +01:00 committed by GitHub
commit 0e5379a7b3
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();
}
} }