TextResponse/Fixup

* make class non-abstract so we can generate a 403/404 message on base
This commit is contained in:
Sarjuuk
2025-10-31 16:44:37 +01:00
parent 3984bd0ae2
commit 1e9e406ff0

View File

@@ -89,7 +89,7 @@ trait TrCommunityHelper
}
}
abstract class TextResponse extends BaseResponse
class TextResponse extends BaseResponse
{
protected string $contentType = MIME_TYPE_JAVASCRIPT;
protected ?string $redirectTo = null;
@@ -163,6 +163,8 @@ abstract class TextResponse extends BaseResponse
echo $out;
}
protected function generate() : void {}
}
?>