| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class InvalidGrantType extends \Exception |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var null|string |
||
| 16 | */ |
||
| 17 | private $errorDescription; |
||
| 18 | /** |
||
| 19 | * @var null|string |
||
| 20 | */ |
||
| 21 | private $errorUri; |
||
| 22 | |||
| 23 | public function __construct(?string $errorDescription = null, ?string $errorUri = null) |
||
| 24 | { |
||
| 25 | |||
| 26 | $this->errorDescription = $errorDescription; |
||
| 27 | $this->errorUri = $errorUri; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return null|string |
||
| 32 | */ |
||
| 33 | public function getErrorDescription(): ?string |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return null|string |
||
| 40 | */ |
||
| 41 | public function getErrorUri(): ?string |
||
| 44 | } |
||
| 45 | } |