Passed
Pull Request — master (#4)
by Andrey
06:53 queued 03:48
created

OrderAuthFailedHardDeclineMessage   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
3
/**
4
 * Apache OSL-2
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Zed\Amazonpay\Business\Payment\Handler\Transaction\Notification;
9
10
use Generated\Shared\Transfer\AmazonpayCallTransfer;
11
12
class OrderAuthFailedHardDeclineMessage extends AbstractNotificationMessage
13
{
14
15
    /**
16
     * @param \Generated\Shared\Transfer\AmazonpayCallTransfer $amazonpayCallTransfer
17
     */
18
    public function __construct(AmazonpayCallTransfer $amazonpayCallTransfer)
1 ignored issue
show
Unused Code introduced by
The parameter $amazonpayCallTransfer is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

18
    public function __construct(/** @scrutinizer ignore-unused */ AmazonpayCallTransfer $amazonpayCallTransfer)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
19
    {
20
    }
21
22
}
23