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

SignatureVerification::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 3
dl 0
loc 8
rs 10
c 0
b 0
f 0
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