Passed
Pull Request — master (#9)
by Volodymyr
04:30
created

BraintreeConfig   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getDefaultPaypalExpressShipmentMethodId() 0 3 1
1
<?php
2
3
namespace SprykerEco\Yves\Braintree;
4
5
use Spryker\Yves\Kernel\AbstractBundleConfig;
6
use SprykerEco\Shared\Braintree\BraintreeConstants;
7
8
class BraintreeConfig extends AbstractBundleConfig
9
{
10
    /**
11
     * @return int
12
     */
13
    public function getDefaultPaypalExpressShipmentMethodId(): int
14
    {
15
        return $this->get(BraintreeConstants::DEFAULT_PAYPAL_EXPRESS_SHIPMENT_METHOD_ID);
16
    }
17
}