strict comparison

This commit is contained in:
Jörn Friedrich Dreyer 2014-10-01 13:14:08 +02:00 committed by Vincent Petry
parent 27bb968ffa
commit 3427976bb6
1 changed files with 2 additions and 2 deletions

View File

@ -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) {