InvalidSignException::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 6
ccs 0
cts 6
cp 0
crap 2
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace Nilnice\Payment\Exception;
4
5
use Exception;
6
use Throwable;
7
8
class InvalidSignException extends Exception
9
{
10
    /**
11
     * InvalidSignException constructor.
12
     *
13
     * @param string          $message
14
     * @param int             $code
15
     * @param \Throwable|null $previous
16
     */
17
    public function __construct(
18
        string $message = '',
19
        int $code = 0,
20
        Throwable $previous = null
21
    ) {
22
        parent::__construct($message, $code, $previous);
23
    }
24
}
25