From: Jörn Friedrich Dreyer Date: Wed, 1 Oct 2014 11:14:08 +0000 (+0200) Subject: strict comparison X-Git-Tag: v8.0.0alpha1~555 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3427976bb62db14532f43ca8b3ded36107ed3b80;p=nextcloud-server.git strict comparison --- 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) {