💚 Fix PHPCS

This commit is contained in:
Clement 2020-07-27 12:49:17 +02:00
parent 5442bf19b0
commit e4ed8ec9f2
2 changed files with 2 additions and 3 deletions

View File

@ -16,7 +16,7 @@ class PublicController extends Controller
$this->seo() $this->seo()
->setTitle($home->title) ->setTitle($home->title)
->setDescription($home->excerpt()) ->setDescription($home->excerpt())
->addImages(array_map(static function($picture) { ->addImages(array_map(static function ($picture) {
return asset($picture); return asset($picture);
}, $home->pictures)); }, $home->pictures));
$this->seo() $this->seo()

View File

@ -24,8 +24,7 @@ class AppServiceProvider extends ServiceProvider
*/ */
public function boot() public function boot()
{ {
Str::macro('currency', static function ($price) Str::macro('currency', static function ($price) {
{
return sprintf('%s €', number_format($price, 0, ',', ' ')); return sprintf('%s €', number_format($price, 0, ',', ' '));
}); });
} }