Skip to content

Commit b733990

Browse files
author
Oleksandr Iegorov
committed
MC-19791: Poor performance on sales order update - string to integer
1 parent aefa7d9 commit b733990

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/internal/Magento/Framework/Model/ResourceModel/Db/AbstractDb.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use Magento\Framework\Model\ResourceModel\AbstractResource;
1212
use Magento\Framework\DB\Adapter\DuplicateException;
1313
use Magento\Framework\Phrase;
14-
use Magento\Framework\DB\Adapter\AdapterInterface;
1514

1615
/**
1716
* Abstract resource model
@@ -302,7 +301,7 @@ public function getTable($tableName)
302301
* Get connection by resource name
303302
*
304303
* @param string $resourceName
305-
* @return AdapterInterface|false
304+
* @return \Magento\Framework\DB\Adapter\AdapterInterface|false
306305
*/
307306
protected function _getConnection($resourceName)
308307
{
@@ -321,7 +320,7 @@ protected function _getConnection($resourceName)
321320
/**
322321
* Get connection
323322
*
324-
* @return AdapterInterface|false
323+
* @return \Magento\Framework\DB\Adapter\AdapterInterface|false
325324
*/
326325
public function getConnection()
327326
{

0 commit comments

Comments
 (0)