summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/files/storage/common.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/files/storage/common.php b/lib/private/files/storage/common.php
index b07dc498cdf..518d3ec400c 100644
--- a/lib/private/files/storage/common.php
+++ b/lib/private/files/storage/common.php
@@ -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) {