Completed
Push — master ( 69d984...0eb511 )
by Claude
03:26
created

WebCaptureResponse   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 12
ccs 4
cts 4
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A isRedirect() 0 4 1
A getRedirectUrl() 0 4 1
1
<?php
2
3
namespace Omnipay\Payline\Message;
4
5
/**
6
 * WebCaptureResponse
7
 */
8
class WebCaptureResponse extends WebAuthorizeResponse
9
{
10 3
    public function isRedirect()
11
    {
12 3
        return true;
13
    }
14
15 3
    public function getRedirectUrl()
16
    {
17 3
        return $this->data->redirectURL;
18
    }
19
}
20