Passed
Push — master ( 405e10...f744eb )
by F
02:39
created
src/Localisation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
         } else if ($locale === $fallbackLocale) {
87 87
             $locale = 'en-gb';
88 88
         } else {
89
-            $locale = $fallbackLocale . '-' . $fallbackLocale;
89
+            $locale = $fallbackLocale.'-'.$fallbackLocale;
90 90
         }
91 91
 
92 92
         try {
Please login to merge, or discard this patch.
src/LocalisationRegistrar.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -210,9 +210,9 @@  discard block
 block discarded – undo
210 210
     {
211 211
         if (null === $this->addresses) {
212 212
             $this->addresses = $this->cache->remember(
213
-                self::$cacheKey . '.addresses',
213
+                self::$cacheKey.'.addresses',
214 214
                 self::$cacheExpirationTime,
215
-                function () {
215
+                function() {
216 216
                     return $this->getAddressClass()
217 217
                     //->with('countries')
218 218
                         ->get();
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
             $this->languages = $this->cache->remember(
241 241
                 self::$cacheKey,
242 242
                 self::$cacheExpirationTime,
243
-                function () {
243
+                function() {
244 244
                     return $this->getLanguageClass()
245 245
                     //->with('countries')
246 246
                         ->get();
Please login to merge, or discard this patch.
src/Traits/HasAddresses.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         $addresses = collect($addresses)
65 65
             ->flatten()
66 66
             ->map(
67
-                function ($address) {
67
+                function($address) {
68 68
                     if (true === empty($address)) {
69 69
                         return false;
70 70
                     }
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
                 }
74 74
             )
75 75
             ->filter(
76
-                function ($address) {
76
+                function($address) {
77 77
                     return $address instanceof Address;
78 78
                 }
79 79
             )
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
             $class = \get_class($model);
90 90
 
91 91
             $class::saved(
92
-                function ($object) use ($addresses, $model) {
92
+                function($object) use ($addresses, $model) {
93 93
                     static $modelLastFiredOn;
94 94
                     if (null !== $modelLastFiredOn && $modelLastFiredOn === $model) {
95 95
                         return;
Please login to merge, or discard this patch.