Skip to content

Commit 3146110

Browse files
Merge pull request #24 from mahanmp/patch-1
remove unnecessary else statement
2 parents 75c6f9c + 97f61ec commit 3146110

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

File.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -430,11 +430,11 @@ protected function _path($id, $parts = false)
430430
$root .= $prefix . '--' . substr(md5($id), -$this->_options['hashed_directory_level']) . DIRECTORY_SEPARATOR;
431431
$partsArray[] = $root;
432432
}
433-
if ($parts) {
434-
return $partsArray;
435-
} else {
436-
return $root;
433+
if ($parts){
434+
return $partsArray;
437435
}
436+
return $root;
437+
438438
}
439439

440440
/**

0 commit comments

Comments
 (0)