Test Failed
Push — master ( 3dd85e...34f16b )
by Devin
04:34 queued 10s
created

SignatureVerification   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 16
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
A getSigHeader() 0 4 1
1
<?php
2
3
namespace Stripe\Error;
4
5
class SignatureVerification extends Base
6
{
7
    public function __construct(
8
        $message,
9
        $sigHeader,
10
        $httpBody = null
11
    ) {
12
        parent::__construct($message, null, $httpBody, null, null);
13
        $this->sigHeader = $sigHeader;
14
    }
15
16
    public function getSigHeader()
17
    {
18
        return $this->sigHeader;
19
    }
20
}
21