<?php declare(strict_types=1); class ApiUnauthorizedResponse extends ApiResponse { public function __construct() { parent::__construct(); $this->setStatus(self::STATUS_UNAUTHORIZED); } }