Passed
Pull Request — master (#381)
by
unknown
04:26
created
src/Aimeos/Shop/Base/Locale.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,19 +52,19 @@
 block discarded – undo
52 52
 			return $this->locale;
53 53
 		}
54 54
 
55
-		if(app()->runningInConsole()) {
55
+		if( app()->runningInConsole() ) {
56 56
 			$site = 'default';
57 57
 		} else {
58 58
 			$site = request()->getHost();
59 59
 		}
60 60
 
61 61
 		$language = app()->getLocale();
62
-		$currency = '';// TODO
62
+		$currency = ''; // TODO
63 63
 
64 64
 		$localeManager = \Aimeos\MShop::create( $context, 'locale' );
65 65
 		$disableSites = $this->config->get( 'shop.disableSites', true );
66 66
 
67
-		return ($this->locale = $localeManager->bootstrap( $site, $language, $currency, $disableSites ));
67
+		return ( $this->locale = $localeManager->bootstrap( $site, $language, $currency, $disableSites ) );
68 68
 	}
69 69
 
70 70
 
Please login to merge, or discard this patch.