diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-10-01 13:14:08 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-10-08 18:49:55 +0200 |
commit | 3427976bb62db14532f43ca8b3ded36107ed3b80 (patch) | |
tree | 76f3c874fa3fb341f25110fe560fa3e2fb2ecf31 /lib/private | |
parent | 27bb968ffae4aeecd3116eab7fb1c3fa56cbfa88 (diff) | |
download | nextcloud-server-3427976bb62db14532f43ca8b3ded36107ed3b80.tar.gz nextcloud-server-3427976bb62db14532f43ca8b3ded36107ed3b80.zip |
strict comparison
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/files/storage/common.php | 4 |
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) { |