CompletePurchaseResponse::canProcessModel()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 1
c 1
b 0
f 1
dl 0
loc 3
ccs 0
cts 2
cp 0
rs 10
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
namespace ByTIC\Payments\Gateways\Providers\Romcard\Message;
4
5
use Paytic\Omnipay\Romcard\Message\CompletePurchaseResponse as AbstractCompletePurchaseResponse;
6
use ByTIC\Payments\Gateways\Providers\AbstractGateway\Message\Traits\CompletePurchaseResponseTrait;
7
8
/**
9
 * Class CompletePurchaseResponse
10
 * @package ByTIC\Payments\Gateways\Providers\Romcard\Message
11
 */
12
class CompletePurchaseResponse extends AbstractCompletePurchaseResponse
13
{
14
    use CompletePurchaseResponseTrait;
15
16
    /** @noinspection PhpMissingParentCallCommonInspection
17
     * @return bool
18
     */
19
    protected function canProcessModel()
20
    {
21
        return true;
22
    }
23
}
24