Skip to content

Commit 0cc9a11

Browse files
adeptofvoltrongelanivishal
authored andcommitted
import class to the use statement
1 parent cb7b67e commit 0cc9a11

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/View/Layout/Generator

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/View/Layout/Generator/Block.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ protected function getBlockInstance($block, array $arguments = [])
273273
}
274274
}
275275
if (!$block instanceof \Magento\Framework\View\Element\AbstractBlock) {
276-
throw new \Magento\Framework\Exception\LocalizedException(
276+
throw new LocalizedException(
277277
new \Magento\Framework\Phrase(
278278
'Invalid block type: %1',
279279
[is_object($block) ? get_class($block) : (string) $block]

0 commit comments

Comments
 (0)