Skip to content
Permalink
Browse files

Fixing style errors.

  • Loading branch information...
stickler-ci committed Mar 22, 2018
1 parent f405fdf commit 2bc59f9c61e8a58f5e57dd0da1a8079f555a943f
Showing with 1 addition and 2 deletions.
  1. +1 −2 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;
}
/**

0 comments on commit 2bc59f9

Please sign in to comment.
You can’t perform that action at this time.