Lint
This commit is contained in:
parent
9c33c8f128
commit
7e8f762885
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue