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