8000 Apply fixes from StyleCI · abcdmitry/laravel-filemanager@3cf12cd · GitHub
[go: up one dir, main page]

Skip to content

Commit 3cf12cd

Browse files
authored
Apply fixes from StyleCI
1 parent 54aec6b commit 3cf12cd

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/controllers/UploadController.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,16 +167,17 @@ function getUrlParam(paramName) {
167167
</script>";
168168
}
169169

170-
private function _pathinfo($path, $options = null) {
170+
private function _pathinfo($path, $options = null)
171+
{
171172
$path = urlencode($path);
172173
$parts = is_null($options) ? pathinfo($path) : pathinfo($path, $options);
173174
if(is_array($parts)) {
174-
foreach($parts as $field => $value)
175+
foreach($parts as $field => $value) {
175176
$parts[$field] = urldecode($value);
176-
}
177-
else
177+
}
178+
} else {
178179
$parts = urldecode($parts);
180+
}
179181
return $parts;
180182
}
181-
182183
}

0 commit comments

Comments
 (0)
0