@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | protected function registerCountryRepository() |
| 44 | 44 | { |
| 45 | - $this->app->singleton(CountryRepository::class, function ($app) { |
|
| 45 | + $this->app->singleton(CountryRepository::class, function($app) { |
|
| 46 | 46 | $repository = new CountryRepository; |
| 47 | 47 | $repository->setDefaultLocale($app['config']['app.locale']); |
| 48 | 48 | $repository->setFallbackLocale($app['config']['app.fallback_locale']); |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | */ |
| 61 | 61 | protected function registerCurrencyRepository() |
| 62 | 62 | { |
| 63 | - $this->app->singleton(CurrencyRepository::class, function ($app) { |
|
| 63 | + $this->app->singleton(CurrencyRepository::class, function($app) { |
|
| 64 | 64 | $repository = new CurrencyRepository; |
| 65 | 65 | $repository->setDefaultLocale($app['config']['app.locale']); |
| 66 | 66 | $repository->setFallbackLocale($app['config']['app.fallback_locale']); |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | */ |
| 79 | 79 | protected function registerLanguageRepository() |
| 80 | 80 | { |
| 81 | - $this->app->singleton(LanguageRepository::class, function ($app) { |
|
| 81 | + $this->app->singleton(LanguageRepository::class, function($app) { |
|
| 82 | 82 | $repository = new LanguageRepository; |
| 83 | 83 | $repository->setDefaultLocale($app['config']['app.locale']); |
| 84 | 84 | $repository->setFallbackLocale($app['config']['app.fallback_locale']); |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | */ |
| 97 | 97 | protected function registerNumberRepository() |
| 98 | 98 | { |
| 99 | - $this->app->singleton(NumberFormatRepository::class, function ($app) { |
|
| 99 | + $this->app->singleton(NumberFormatRepository::class, function($app) { |
|
| 100 | 100 | $repository = new NumberFormatRepository; |
| 101 | 101 | $repository->setDefaultLocale($app['config']['app.locale']); |
| 102 | 102 | $repository->setFallbackLocale($app['config']['app.fallback_locale']); |
@@ -117,16 +117,16 @@ discard block |
||
| 117 | 117 | $this->app->register(DateServiceProvider::class); |
| 118 | 118 | |
| 119 | 119 | if (method_exists($this->app, 'booted')) { |
| 120 | - $this->app->booted(function ($app) { |
|
| 120 | + $this->app->booted(function($app) { |
|
| 121 | 121 | \Jenssegers\Date\Date::setFallbackLocale($app['config']['app.fallback_locale']); |
| 122 | 122 | }); |
| 123 | 123 | } else { |
| 124 | - call_user_func(function ($app) { |
|
| 124 | + call_user_func(function($app) { |
|
| 125 | 125 | \Jenssegers\Date\Date::setFallbackLocale($app['config']['app.fallback_locale']); |
| 126 | 126 | }, $this->app); |
| 127 | 127 | } |
| 128 | 128 | |
| 129 | - $this->app->singleton(Carbon::class, function () { |
|
| 129 | + $this->app->singleton(Carbon::class, function() { |
|
| 130 | 130 | return new Date; |
| 131 | 131 | }); |
| 132 | 132 | |