@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | * @param \Aimeos\MShop\Context\Item\Iface $context MShop context object |
33 | 33 | * @param \Neos\Cache\Frontend\StringFrontend $cache Flow cache object |
34 | 34 | */ |
35 | - public function __construct( \Aimeos\MShop\Context\Item\Iface $context, \Neos\Cache\Frontend\StringFrontend $cache ) |
|
35 | + public function __construct(\Aimeos\MShop\Context\Item\Iface $context, \Neos\Cache\Frontend\StringFrontend $cache) |
|
36 | 36 | { |
37 | 37 | $this->context = $context; |
38 | 38 | $this->cache = $cache; |
@@ -46,11 +46,11 @@ discard block |
||
46 | 46 | */ |
47 | 47 | protected function getObject() |
48 | 48 | { |
49 | - if( !isset( $this->object ) ) |
|
49 | + if (!isset($this->object)) |
|
50 | 50 | { |
51 | 51 | $siteid = $this->context->getLocale()->getSiteId(); |
52 | - $conf = array( 'siteid' => $this->context->getConfig()->get( 'madmin/cache/prefix' ) . $siteid ); |
|
53 | - $this->object = \Aimeos\MW\Cache\Factory::create( 'Flow', $conf, $this->cache ); |
|
52 | + $conf = array('siteid' => $this->context->getConfig()->get('madmin/cache/prefix').$siteid); |
|
53 | + $this->object = \Aimeos\MW\Cache\Factory::create('Flow', $conf, $this->cache); |
|
54 | 54 | } |
55 | 55 | |
56 | 56 | return $this->object; |