Completed
Push — master ( 00feaa...423c1e )
by Aimeos
01:47
created
lib/custom/src/MAdmin/Cache/Proxy/Flow.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.