coreui-free-laravel-admin-template
coreui-free-laravel-admin-template copied to clipboard
syntax error, unexpected '$conversion' (T_VARIABLE), expecting ')'
vendor/spatie/laravel-medialibrary/src/MediaCollections/Models/Media.php:182
Error on this line
return $conversions->map(fn (Conversion $conversion) => $conversion->getName())->toArray();
Which PHP version do you have? It looks like you're not having PHP version 7.4 or higher?