From bf7df0d8800f843ce2abd70c527fa901f90474fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Mart=C3=ADnez?= Date: Tue, 9 May 2017 15:27:18 +0200 Subject: [PATCH] Fix PageCache: async rendering of blocks can corrupt layout cache #8554 #9050 Fix PSR-2 standard --- app/code/Magento/PageCache/Controller/Block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/PageCache/Controller/Block.php b/app/code/Magento/PageCache/Controller/Block.php index 1e13f4b8be41f..63feba3ecaa40 100644 --- a/app/code/Magento/PageCache/Controller/Block.php +++ b/app/code/Magento/PageCache/Controller/Block.php @@ -68,7 +68,7 @@ protected function _getBlocks() $blocks = $this->jsonSerializer->unserialize($blocks); $handles = $this->base64jsonSerializer->unserialize($handles); - if(is_array($handles)){ + if (is_array($handles)) { $handles[] = $this->additionalPageCacheHandle; }