Merge pull request #26181 from nextcloud/backport/26003/stable20

[stable20] Add getID function to the simplefile implementation
This commit is contained in:
Morris Jobke 2021-03-17 20:06:15 +01:00 committed by GitHub
commit 2982fa346b
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() {
return $this->file->fopen('w');
}
public function getId(): int {
return $this->file->getId();
}
}