Merge branch 'main' into features/ouestfrance/11

This commit is contained in:
Shikiryu 2020-07-27 12:52:17 +02:00
commit 1a1294ce22
2 changed files with 2 additions and 3 deletions

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, ',', ' '));
}); });
} }