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