From 3427976bb62db14532f43ca8b3ded36107ed3b80 Mon Sep 17 00:00:00 2001 From: Jörn Friedrich Dreyer Date: Wed, 1 Oct 2014 13:14:08 +0200 Subject: strict comparison --- lib/private/files/storage/common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/private') 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) { -- cgit v1.2.3