@@ -106,7 +106,7 @@ discard block |
||
| 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 |
||
| 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") |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | $factory->define( |
| 18 | 18 | Language::class, |
| 19 | - function (Faker $faker) { |
|
| 19 | + function(Faker $faker) { |
|
| 20 | 20 | return [ |
| 21 | 21 | 'name' => $faker->word, |
| 22 | 22 | 'locale' => $faker->word, |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | $factory->define( |
| 18 | 18 | Address::class, |
| 19 | - function (Faker $faker) { |
|
| 19 | + function(Faker $faker) { |
|
| 20 | 20 | return [ |
| 21 | 21 | 'country_id' => $faker->word, |
| 22 | 22 | 'type_id' => $faker->word, |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | $factory->define( |
| 18 | 18 | Type::class, |
| 19 | - function (Faker $faker) { |
|
| 19 | + function(Faker $faker) { |
|
| 20 | 20 | return [ |
| 21 | 21 | 'country_id' => $faker->word, |
| 22 | 22 | 'type_id' => $faker->word, |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | $factory->define( |
| 18 | 18 | Currency::class, |
| 19 | - function (Faker $faker) { |
|
| 19 | + function(Faker $faker) { |
|
| 20 | 20 | return [ |
| 21 | 21 | 'name' => $faker->word, |
| 22 | 22 | 'iso' => $faker->word, |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | $factory->define( |
| 18 | 18 | Country::class, |
| 19 | - function (Faker $faker) { |
|
| 19 | + function(Faker $faker) { |
|
| 20 | 20 | return [ |
| 21 | 21 | 'name' => $faker->word, |
| 22 | 22 | 'iso' => $faker->word, |