Total Complexity | 2 |
Total Lines | 10 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | class UnauthorizedOwnerException extends UnauthorizedException implements AuthorizationException |
||
14 | { |
||
15 | 4 | public function __construct(Model $model, array $headers = array()) |
|
16 | { |
||
17 | 4 | parent::__construct($this->makeMessage($model), $headers); |
|
18 | 4 | } |
|
19 | |||
20 | 4 | private function makeMessage(Model $model): string |
|
23 | } |
||
24 | } |
||
25 |