We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adf7de2 commit 5ccb1bbCopy full SHA for 5ccb1bb
lib/internal/Magento/Framework/View/Layout/Generator/Block.php
@@ -261,7 +261,10 @@ protected function getBlockInstance($block, array $arguments = [])
261
}
262
if (!$block instanceof \Magento\Framework\View\Element\AbstractBlock) {
263
throw new \Magento\Framework\Exception\LocalizedException(
264
- new \Magento\Framework\Phrase('Invalid block type: %1', [is_object($block) ? get_class($block) : (string) $block]),
+ new \Magento\Framework\Phrase(
265
+ 'Invalid block type: %1',
266
+ [is_object($block) ? get_class($block) : (string) $block]
267
+ ),
268
$e
269
);
270
0 commit comments