@@ -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") |
@@ -226,7 +226,7 @@ discard block |
||
| 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('system_address_types') |
| 232 | 232 | ->get(); |
@@ -257,7 +257,7 @@ discard block |
||
| 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(); |