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
62
62
/**
63
63
* Handle size system name
64
64
*/
65
- public const XML_HANDLES_SIZE = 'system/full_page_cache/handles_size ' ;
65
+ private const XML_HANDLES_SIZE = 'system/full_page_cache/handles_size ' ;
66
66
67
67
/**
68
68
* @param \Magento\Framework\App\Action\Context $context
@@ -111,9 +111,9 @@ protected function _getBlocks()
111
111
$ blocks = $ this ->jsonSerializer ->unserialize ($ blocks );
112
112
$ handles = $ this ->base64jsonSerializer ->unserialize ($ handles );
113
113
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 ;
117
117
118
118
if (!$ this ->validateHandleParam ($ handles )) {
119
119
return [];
You can’t perform that action at this time.
0 commit comments