Skip to content

Commit 28cb5bc

Browse files
committed
refactor if logic for vcl
1 parent d9d9ef3 commit 28cb5bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Helper/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ public function getMajorRelease($full_release)
631631
*
632632
* @return string
633633
*/
634-
public function getCorrectVCL($pageCacheConfig, $majorRelease)
634+
public function getCorrectVCL($pageCacheConfig, $major_release)
635635
{
636636
if ($major_release == "4") {
637637
return $pageCacheConfig->getVclFile(\Magento\PageCache\Model\Config::VARNISH_4_CONFIGURATION_PATH);

0 commit comments

Comments
 (0)