Skip to content

Commit 4a3c64a

Browse files
committed
Update Db.php
Changed Exception Message from Wrong "$connection" parametr to Wrong "$connection" parameter. as parameter word is more meaning full compare to parametr Update Dbp.php Changed Exception Message from Wrong "$connection" parametr to Wrong "$connection" parameter. as parameter word is more meaning full compare to parametr
1 parent 89939d3 commit 4a3c64a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function __construct(\Magento\Framework\DB\Adapter\AdapterInterface $conn
9292
parent::__construct();
9393

9494
if (!$connection) {
95-
throw new \Exception('Wrong "$connection" parametr');
95+
throw new \Exception('Wrong "$connection" parameter');
9696
}
9797

9898
$this->_conn = $connection;

lib/internal/Magento/Framework/Data/Tree/Dbp.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function __construct(\Magento\Framework\DB\Adapter\AdapterInterface $conn
101101
parent::__construct();
102102

103103
if (!$connection) {
104-
throw new \Exception('Wrong "$connection" parametr');
104+
throw new \Exception('Wrong "$connection" parameter');
105105
}
106106

107107
$this->_conn = $connection;

0 commit comments

Comments
 (0)