Skip to content

Commit 9feec3a

Browse files
authored
Set getConnection() as public method
All child classes make this method public, I suppose we should fix method's declaration in the interface.
1 parent 95eae4e commit 9feec3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Model/ResourceModel/AbstractResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ abstract protected function _construct();
3636
*
3737
* @return \Magento\Framework\DB\Adapter\AdapterInterface
3838
*/
39-
abstract protected function getConnection();
39+
abstract public function getConnection();
4040

4141
/**
4242
* Start resource transaction

0 commit comments

Comments
 (0)