Skip to content

Commit 2d0d206

Browse files
author
vpaladiychuk
committed
Merge branch 'MAGETWO-34990' into MAGETWO-26762
2 parents a395799 + ee94867 commit 2d0d206

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/Data/Collection

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Data/Collection/Db.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public function setConnection($conn)
165165
{
166166
if (!$conn instanceof \Zend_Db_Adapter_Abstract) {
167167
throw new \Magento\Framework\Exception\LocalizedException(
168-
__('dbModel read resource does not implement \Zend_Db_Adapter_Abstract')
168+
new \Magento\Framework\Phrase('dbModel read resource does not implement \Zend_Db_Adapter_Abstract')
169169
);
170170
}
171171

0 commit comments

Comments
 (0)