diff --git a/src/MediaController.php b/src/MediaController.php index a95eb46..552c387 100644 --- a/src/MediaController.php +++ b/src/MediaController.php @@ -48,7 +48,7 @@ class MediaController $medias = collect($content)->map(function ($c) use ($collection, $model) { $pathinfo = pathinfo($c['name']); $basename = $collection->runCallback('forceFileName', $model, $pathinfo['filename']); - $path = $basename.'.'.$pathinfo['extension']; + $path = $basename . '.' . $pathinfo['extension']; $adder = $this->fileAdderFromData($model, $c['content'], $collection) ->usingName($basename)