@@ -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($app['config']['app.locale'], $app['config']['app.fallback_locale']); |
47 | 47 | |
48 | 48 | return $repository; |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | */ |
59 | 59 | protected function registerCurrencyRepository() |
60 | 60 | { |
61 | - $this->app->singleton(CurrencyRepository::class, function ($app) { |
|
61 | + $this->app->singleton(CurrencyRepository::class, function($app) { |
|
62 | 62 | $repository = new CurrencyRepository($app['config']['app.locale'], $app['config']['app.fallback_locale']); |
63 | 63 | |
64 | 64 | return $repository; |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | */ |
75 | 75 | protected function registerLanguageRepository() |
76 | 76 | { |
77 | - $this->app->singleton(LanguageRepository::class, function ($app) { |
|
77 | + $this->app->singleton(LanguageRepository::class, function($app) { |
|
78 | 78 | $repository = new LanguageRepository($app['config']['app.locale'], $app['config']['app.fallback_locale']); |
79 | 79 | |
80 | 80 | return $repository; |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | */ |
91 | 91 | protected function registerNumberRepository() |
92 | 92 | { |
93 | - $this->app->singleton(NumberFormatRepository::class, function ($app) { |
|
93 | + $this->app->singleton(NumberFormatRepository::class, function($app) { |
|
94 | 94 | $repository = new NumberFormatRepository($app['config']['app.fallback_locale']); |
95 | 95 | |
96 | 96 | return $repository; |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | |
111 | 111 | \Jenssegers\Date\Date::setFallbackLocale($this->app['config']['app.fallback_locale']); |
112 | 112 | |
113 | - $this->app->singleton(Carbon::class, function () { |
|
113 | + $this->app->singleton(Carbon::class, function() { |
|
114 | 114 | return new Date; |
115 | 115 | }); |
116 | 116 |