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

InvalidSignatureException   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 2
c 2
b 0
f 0
lcom 0
cbo 0
dl 0
loc 18
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getResponseData() 0 4 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