From 2bc59f9c61e8a58f5e57dd0da1a8079f555a943f Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Thu, 22 Mar 2018 23:15:31 +0000 Subject: [PATCH] Fixing style errors. --- src/Filesystem/File.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Filesystem/File.php b/src/Filesystem/File.php index 763e94bef2a..786106c0831 100644 --- a/src/Filesystem/File.php +++ b/src/Filesystem/File.php @@ -365,7 +365,7 @@ protected static function _basename($path, $ext = null) { //check for multibyte string and use basename() if not found if (mb_strlen($path) === strlen($path)) { - return ($ext===null)? basename($path) : basename($path, $ext); + return ($ext === null)? basename($path) : basename($path, $ext); } $splInfo = new SplFileInfo($path); @@ -379,7 +379,6 @@ protected static function _basename($path, $ext = null) // basename of '/etc/.d' is '.d' not '' return ($new === '')? $name : $new; - } /**