File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
lib/internal/Magento/Framework/View/Layout/Generator Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 6
6
namespace Magento \Framework \View \Layout \Generator ;
7
7
8
8
use Magento \Framework \App \State ;
9
+ use Magento \Framework \Exception \LocalizedException ;
9
10
use Magento \Framework \ObjectManager \Config \Reader \Dom ;
10
11
use Magento \Framework \View \Element \Template ;
11
12
use Magento \Framework \View \Layout ;
@@ -272,7 +273,7 @@ protected function getBlockInstance($block, array $arguments = [])
272
273
}
273
274
}
274
275
if (!$ block instanceof \Magento \Framework \View \Element \AbstractBlock) {
275
- throw new \ Magento \ Framework \ Exception \ LocalizedException (
276
+ throw new LocalizedException (
276
277
new \Magento \Framework \Phrase (
277
278
'Invalid block type: %1 ' ,
278
279
[is_object ($ block ) ? get_class ($ block ) : (string ) $ block ]
You can’t perform that action at this time.
0 commit comments