Skip to content

Commit c15b8f9

Browse files
committed
MAGETWO-49308: Poor message content for Magento\Ui\Model\Manager::prepareData method exception
1 parent 6b7f3fd commit c15b8f9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/code/Magento/Ui/Model/Manager.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,7 @@ public function prepareData($name)
155155
{
156156
if ($name === null || $this->hasData($name)) {
157157
throw new LocalizedException(
158-
new \Magento\Framework\Phrase(
159-
"Invalid UI Component element name: '%1'", [$name]
160-
)
158+
new \Magento\Framework\Phrase("Invalid UI Component element name: '%1'", [$name])
161159
);
162160
}
163161
$this->componentsPool = $this->arrayObjectFactory->create();

0 commit comments

Comments
 (0)