mirror of
https://github.com/nextcloud/server.git
synced 2026-04-28 01:28:08 -04:00
strict comparison
This commit is contained in:
parent
27bb968ffa
commit
3427976bb6
1 changed files with 2 additions and 2 deletions
|
|
@ -54,11 +54,11 @@ abstract class Common implements \OC\Files\Storage\Storage {
|
|||
}
|
||||
|
||||
public function is_dir($path) {
|
||||
return $this->filetype($path) == 'dir';
|
||||
return $this->filetype($path) === 'dir';
|
||||
}
|
||||
|
||||
public function is_file($path) {
|
||||
return $this->filetype($path) == 'file';
|
||||
return $this->filetype($path) === 'file';
|
||||
}
|
||||
|
||||
public function filesize($path) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue