Skip to content

Commit cbe9b55

Browse files
author
Ievgen Sentiabov
committed
MAGETWO-45180: [Refactoring] Accept Credit Card Payments using Braintree for StoreFront and Backend
- Fixed failed static tests
1 parent b738b08 commit cbe9b55

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

app/code/Magento/BraintreeTwo/Helper/Country.php

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*/
66
namespace Magento\BraintreeTwo\Helper;
77

8-
use Magento\BraintreeTwo\Model\Adminhtml\System\Config\Country as CountryConfig;
98
use Magento\Directory\Model\ResourceModel\Country\CollectionFactory;
109

1110
/**
@@ -30,10 +29,13 @@ class Country
3029
private $countries;
3130

3231
/**
33-
* @param CollectionFactory $factory
32+
* @param \Magento\Directory\Model\ResourceModel\Country\CollectionFactory $factory
33+
* @param \Magento\BraintreeTwo\Model\Adminhtml\System\Config\Country $countryConfig
3434
*/
35-
public function __construct(CollectionFactory $factory, CountryConfig $countryConfig)
36-
{
35+
public function __construct(
36+
\Magento\Directory\Model\ResourceModel\Country\CollectionFactory $factory,
37+
\Magento\BraintreeTwo\Model\Adminhtml\System\Config\Country $countryConfig
38+
) {
3739
$this->collectionFactory = $factory;
3840
$this->countryConfig = $countryConfig;
3941
}

0 commit comments

Comments
 (0)