@@ -121,7 +121,7 @@ |
||
121 | 121 | }); |
122 | 122 | |
123 | 123 | $this->app->bind('intl.date', function ($app) { |
124 | - return new Date; |
|
124 | + return new Date; |
|
125 | 125 | }); |
126 | 126 | |
127 | 127 | $this->app->bind(\Carbon\Carbon::class, function ($app) { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | */ |
43 | 43 | protected function registerCountryRepository() |
44 | 44 | { |
45 | - $this->app->bind(CountryRepository::class, function ($app) { |
|
45 | + $this->app->bind(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->bind(CurrencyRepository::class, function ($app) { |
|
63 | + $this->app->bind(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->bind(LanguageRepository::class, function ($app) { |
|
81 | + $this->app->bind(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->bind(NumberFormatRepository::class, function ($app) { |
|
99 | + $this->app->bind(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']); |
@@ -116,15 +116,15 @@ discard block |
||
116 | 116 | { |
117 | 117 | $this->app->register(DateServiceProvider::class); |
118 | 118 | |
119 | - $this->app->booted(function ($app) { |
|
119 | + $this->app->booted(function($app) { |
|
120 | 120 | \Jenssegers\Date\Date::setFallbackLocale($app['config']['app.fallback_locale']); |
121 | 121 | }); |
122 | 122 | |
123 | - $this->app->bind('intl.date', function ($app) { |
|
123 | + $this->app->bind('intl.date', function($app) { |
|
124 | 124 | return new Date; |
125 | 125 | }); |
126 | 126 | |
127 | - $this->app->bind(\Carbon\Carbon::class, function ($app) { |
|
127 | + $this->app->bind(\Carbon\Carbon::class, function($app) { |
|
128 | 128 | return $app->make('intl.date'); |
129 | 129 | }); |
130 | 130 | } |