Completed
Push — master ( d45525...283cdb )
by Propa
04:28
created
src/IntlServiceProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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']);
@@ -116,11 +116,11 @@  discard block
 block discarded – undo
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->singleton(Carbon::class, function () {
123
+        $this->app->singleton(Carbon::class, function() {
124 124
             return new Date;
125 125
         });
126 126
 
Please login to merge, or discard this patch.
src/Number.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
      * Get a localized entry.
73 73
      *
74 74
      * @param string|null $code
75
-     * @return mixed
75
+     * @return \CommerceGuys\Intl\NumberFormat\NumberFormatInterface
76 76
      */
77 77
     public function get($code = null)
78 78
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 use CommerceGuys\Intl\NumberFormat\NumberFormat;
5 5
 use CommerceGuys\Intl\NumberFormat\NumberFormatRepository;
6 6
 use Propaganistas\LaravelIntl\Base\Intl;
7
-use ReflectionClass;
8 7
 
9 8
 class Number extends Intl
10 9
 {
Please login to merge, or discard this patch.