Passed
Pull Request — master (#45)
by
unknown
03:36
created

ComputopPayPalExpressCompleteStep   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 3
c 1
b 0
f 0
dl 0
loc 20
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A postCondition() 0 3 1
A requireInput() 0 3 1
1
<?php
2
3
/**
4
 * MIT License
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Yves\Computop\CheckoutPage\Process\Steps;
9
10
use Spryker\Shared\Kernel\Transfer\AbstractTransfer;
11
use SprykerShop\Yves\CheckoutPage\Process\Steps\AbstractBaseStep;
12
13
class ComputopPayPalExpressCompleteStep extends AbstractBaseStep
14
{
15
    /**
16
     * @param \Spryker\Shared\Kernel\Transfer\AbstractTransfer $quoteTransfer
17
     *
18
     * @return false
19
     */
20
    public function requireInput(AbstractTransfer $quoteTransfer): bool
21
    {
22
        return false;
23
    }
24
25
    /**
26
     * @param \Spryker\Shared\Kernel\Transfer\AbstractTransfer $quoteTransfer
27
     *
28
     * @return bool
29
     */
30
    public function postCondition(AbstractTransfer $quoteTransfer): bool
31
    {
32
        return true;
33
    }
34
}
35