Completed
Push — master ( eb9412...8cc090 )
by Propa
11:15
created
src/IntlServiceProvider.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function boot()
31 31
     {
32
-        $this->app['events']->listen(LocaleUpdated::class, function ($locale) {
32
+        $this->app['events']->listen(LocaleUpdated::class, function($locale) {
33 33
             $this->setLocale();
34 34
         });
35 35
 
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      */
44 44
     protected function registerCountry()
45 45
     {
46
-        $this->app->singleton(Country::class, function ($app) {
46
+        $this->app->singleton(Country::class, function($app) {
47 47
             $repository = new Country;
48 48
 
49 49
             return $repository->setLocale($app['config']['app.locale'])->setFallbackLocale($app['config']['app.fallback_locale']);
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     protected function registerCurrency()
61 61
     {
62
-        $this->app->singleton(Currency::class, function ($app) {
62
+        $this->app->singleton(Currency::class, function($app) {
63 63
             $repository = new Currency;
64 64
 
65 65
             return $repository->setLocale($app['config']['app.locale'])->setFallbackLocale($app['config']['app.fallback_locale']);
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      */
76 76
     protected function registerLanguage()
77 77
     {
78
-        $this->app->singleton(Language::class, function ($app) {
78
+        $this->app->singleton(Language::class, function($app) {
79 79
             $repository = new Language;
80 80
 
81 81
             return $repository->setLocale($app['config']['app.locale'])->setFallbackLocale($app['config']['app.fallback_locale']);
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     protected function registerNumber()
93 93
     {
94
-        $this->app->singleton(Number::class, function ($app) {
94
+        $this->app->singleton(Number::class, function($app) {
95 95
             $repository = new Number;
96 96
 
97 97
             return $repository->setLocale($app['config']['app.locale'])->setFallbackLocale($app['config']['app.fallback_locale']);
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     {
110 110
         $this->app->register(DateServiceProvider::class);
111 111
 
112
-        require __DIR__.'/Macros/Carbon.php';
112
+        require __DIR__ . '/Macros/Carbon.php';
113 113
     }
114 114
 
115 115
     /**
Please login to merge, or discard this patch.
src/helpers.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 use Jenssegers\Date\Date;
4 4
 
5
-if (! function_exists('country')) {
5
+if (!function_exists('country')) {
6 6
     /**
7 7
      * Get a localized country name.
8 8
      *
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     }
20 20
 }
21 21
 
22
-if (! function_exists('currency')) {
22
+if (!function_exists('currency')) {
23 23
     /**
24 24
      * Get a localized currency or currency amount.
25 25
      *
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     }
42 42
 }
43 43
 
44
-if (! function_exists('carbon')) {
44
+if (!function_exists('carbon')) {
45 45
     /**
46 46
      * Get a localized Carbon instance.
47 47
      *
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     }
56 56
 }
57 57
 
58
-if (! function_exists('language')) {
58
+if (!function_exists('language')) {
59 59
     /**
60 60
      * Get a localized language name.
61 61
      *
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     }
73 73
 }
74 74
 
75
-if (! function_exists('number')) {
75
+if (!function_exists('number')) {
76 76
     /**
77 77
      * Get a formatted localized number.
78 78
      *
Please login to merge, or discard this patch.
src/Carbon.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,5 +6,5 @@
 block discarded – undo
6 6
 
7 7
 class Carbon extends Date
8 8
 {
9
-	// This is merely a namespace wrapper.
9
+    // This is merely a namespace wrapper.
10 10
 }
11 11
\ No newline at end of file
Please login to merge, or discard this patch.