Passed
Push — master ( 22504b...87707b )
by F
03:53
created
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.
src/LocalisationServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 
107 107
         $this->app->singleton(
108 108
             LocalisationRegistrar::class,
109
-            function ($app) use ($localisationLoader) {
109
+            function($app) use ($localisationLoader) {
110 110
                 return $localisationLoader;
111 111
             }
112 112
         );
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 
143 143
         return Collection::make($this->app->databasePath().DIRECTORY_SEPARATOR.'migrations'.DIRECTORY_SEPARATOR)
144 144
             ->flatMap(
145
-                function ($path) use ($filesystem) {
145
+                function($path) use ($filesystem) {
146 146
                     return $filesystem->glob($path.'*_create_localisation_tables.php');
147 147
                 }
148 148
             )->push($this->app->databasePath()."/migrations/{$timestamp}_create_localisation_tables.php")
Please login to merge, or discard this patch.
src/Database/Factories/CountryFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
  */
16 16
 $factory->define(
17 17
     Country::class,
18
-    function (Faker $faker) {
18
+    function(Faker $faker) {
19 19
         return [
20 20
             'name' => $faker->word,
21 21
             'iso' => $faker->word,
Please login to merge, or discard this patch.
src/Database/Factories/CurrencyFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
  */
16 16
 $factory->define(
17 17
     Currency::class,
18
-    function (Faker $faker) {
18
+    function(Faker $faker) {
19 19
         return [
20 20
             'name' => $faker->word,
21 21
             'iso' => $faker->word,
Please login to merge, or discard this patch.
src/Database/Factories/Address/TypeFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
  */
16 16
 $factory->define(
17 17
     Type::class,
18
-    function (Faker $faker) {
18
+    function(Faker $faker) {
19 19
         return [
20 20
             'country_id' => $faker->word,
21 21
             'type_id' => $faker->word,
Please login to merge, or discard this patch.
src/Database/Factories/LanguageFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
  */
16 16
 $factory->define(
17 17
     Language::class,
18
-    function (Faker $faker) {
18
+    function(Faker $faker) {
19 19
         return [
20 20
             'name' => $faker->word,
21 21
             'locale' => $faker->word,
Please login to merge, or discard this patch.
src/Database/Factories/AddressFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
  */
16 16
 $factory->define(
17 17
     Address::class,
18
-    function (Faker $faker) {
18
+    function(Faker $faker) {
19 19
         return [
20 20
             'country_id' => $faker->word,
21 21
             'type_id' => $faker->word,
Please login to merge, or discard this patch.
src/LocalisationRegistrar.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
             $this->addresses = $this->cache->remember(
227 227
                 self::$cacheKey.'.addresses',
228 228
                 self::$cacheExpirationTime,
229
-                function () {
229
+                function() {
230 230
                     return $this->getAddressModel()
231 231
                         ->with('type')
232 232
                         ->get();
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
257 257
             $this->languages = $this->cache->remember(
258 258
                 self::$cacheKey,
259 259
                 self::$cacheExpirationTime,
260
-                function () {
260
+                function() {
261 261
                     return $this->getLanguageClass()
262 262
                     //->with('countries')
263 263
                         ->get();
Please login to merge, or discard this patch.