Skip to content

Commit

Permalink
Merge pull request #314 from uasoft-indonesia/analysis-RvGxan
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
dannyatthaya authored Aug 6, 2021
2 parents 0f1a2cc + c333cfc commit edbe216
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Helpers/HandleFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ protected static function handleUrl($val)
return Storage::url($val);
}

if (Str::contains($val, config('lfm.folder_categories.file.folder_name') . '/')) {
if (Str::contains($val, config('lfm.folder_categories.file.folder_name').'/')) {
return str_replace(
config('lfm.folder_categories.file.folder_name') . '/',
Storage::url('/') . config('lfm.folder_categories.file.folder_name') . '/',
config('lfm.folder_categories.file.folder_name').'/',
Storage::url('/').config('lfm.folder_categories.file.folder_name').'/',
$val
);
}
Expand Down

0 comments on commit edbe216

Please sign in to comment.