Completed
Pull Request — master (#2)
by Sujip
14:35
created

RestAuthorizeResponse   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 15
rs 10
c 0
b 0
f 0
ccs 2
cts 2
cp 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getRedirectMethod() 0 4 1
A getRedirectData() 0 4 1
1
<?php
2
3
namespace Omnipay\ZipPay\Message;
4
5
use Omnipay\Common\Message\RedirectResponseInterface;
6
use Omnipay\ZipPay\Message\Response;
7
8
/**
9
 * RestAuthorizeResponse
10
 */
11
class RestAuthorizeResponse extends Response implements RedirectResponseInterface
12 6
{
13
    public function getRedirectMethod()
14 6
    {
15
        return 'GET';
16
    }
17
18
    /**
19
     * @return array
20
     */
21
    public function getRedirectData()
22
    {
23
        return [];
24
    }
25
}
26