File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/PageCache/Controller Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ abstract class Block extends \Magento\Framework\App\Action\Action
6262 /**
6363 * Handle size system name
6464 */
65- public const XML_HANDLES_SIZE = 'system/full_page_cache/handles_size ' ;
65+ private const XML_HANDLES_SIZE = 'system/full_page_cache/handles_size ' ;
6666
6767 /**
6868 * @param \Magento\Framework\App\Action\Context $context
@@ -111,9 +111,9 @@ protected function _getBlocks()
111111 $ blocks = $ this ->jsonSerializer ->unserialize ($ blocks );
112112 $ handles = $ this ->base64jsonSerializer ->unserialize ($ handles );
113113
114- $ handles_size = (int ) $ this ->config ->getValue (self ::XML_HANDLES_SIZE );
115- $ handles = ($ handles_size && count ($ handles ) > $ handles_size )
116- ? array_splice ($ handles , 0 , $ handles_size ) : $ handles ;
114+ $ handleSize = (int ) $ this ->config ->getValue (self ::XML_HANDLES_SIZE );
115+ $ handles = ($ handleSize && count ($ handles ) > $ handleSize )
116+ ? array_splice ($ handles , 0 , $ handleSize ) : $ handles ;
117117
118118 if (!$ this ->validateHandleParam ($ handles )) {
119119 return [];
You can’t perform that action at this time.
0 commit comments