minor type improvements

This commit is contained in:
Robin Appelman 2021-03-10 15:00:37 +01:00
commit b5c6921f2e
6 changed files with 17 additions and 17 deletions

View file

@ -122,6 +122,9 @@ abstract class NativeStream implements File {
}
}
/**
* @return array{"mtime": int, "size": int, "mode": int}|false
*/
public function stream_stat() {
try {
return $this->state->stat($this->url);