| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class StatusRequest extends Request { |
||
| 24 | /** |
||
| 25 | * Constructs status request object. |
||
| 26 | * |
||
| 27 | * @param string $transaction_id Transaction ID. |
||
| 28 | * @param string $merchant_id Merchant ID. |
||
| 29 | * @param string|null $shop_id Shop ID. |
||
| 30 | */ |
||
| 31 | public function __construct( $transaction_id, $merhant_id, $shop_id = null ) { |
||
|
|
|||
| 32 | parent::__construct( $merhant_id, $shop_id = null ); |
||
| 33 | |||
| 34 | $this->set_parameter( 'trxid', $transaction_id ); |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Get signature data. |
||
| 39 | * |
||
| 40 | * @return array |
||
| 41 | */ |
||
| 42 | public function get_signature_data() { |
||
| 54 | ); |
||
| 55 | } |
||
| 57 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.