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.
2 parents a395799 + ee94867 commit 2d0d206Copy full SHA for 2d0d206
lib/internal/Magento/Framework/Data/Collection/Db.php
@@ -165,7 +165,7 @@ public function setConnection($conn)
165
{
166
if (!$conn instanceof \Zend_Db_Adapter_Abstract) {
167
throw new \Magento\Framework\Exception\LocalizedException(
168
- __('dbModel read resource does not implement \Zend_Db_Adapter_Abstract')
+ new \Magento\Framework\Phrase('dbModel read resource does not implement \Zend_Db_Adapter_Abstract')
169
);
170
}
171
0 commit comments