Completed
Push — master ( 8532b6...233c5a )
by Jan
02:42
created

InvalidSignatureException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php declare(strict_types = 1);
2
3
namespace SlevomatCsobGateway\Api;
4
5
class InvalidSignatureException extends \RuntimeException
6
{
7
8
	/** @var mixed[] */
9
	private $responseData;
10
11
	public function __construct(array $responseData)
12
	{
13
		parent::__construct('Invalid signature.');
14
		$this->responseData = $responseData;
15
	}
16
17
	public function getResponseData(): array
18
	{
19
		return $this->responseData;
20
	}
21
22
}
23