mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-01 15:07:49 +08:00
Code style fix & CHANGELOG typo fix for bug #3522
This commit is contained in:
@@ -58,7 +58,7 @@ class BaseFileHelper
|
||||
$parts[] = $part;
|
||||
}
|
||||
}
|
||||
if (count($parts)>1 && $parts[0] === '.') {
|
||||
if (count($parts) > 1 && $parts[0] === '.') {
|
||||
array_shift($parts);
|
||||
}
|
||||
return implode($ds, $parts);
|
||||
|
||||
Reference in New Issue
Block a user