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

InvalidSignatureException::getResponseData()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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