Skip to content

Commit 242aae9

Browse files
author
Oleksandr Gorkun
committed
MAGETWO-55858: Output escaping methods shouldn't be part of AbstractBlock
1 parent b5fde42 commit 242aae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/View/Element/AbstractBlock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ public static function extractModuleName($className)
877877
$namespace = substr(
878878
$className,
879879
0,
880-
strpos($className, '\\' . 'Block' . '\\')
880+
(int)strpos($className, '\\' . 'Block' . '\\')
881881
);
882882
return str_replace('\\', '_', $namespace);
883883
}

0 commit comments

Comments
 (0)