summaryrefslogtreecommitdiffstats
path: root/lib/WellKnown/JrdResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/WellKnown/JrdResponse.php')
-rw-r--r--lib/WellKnown/JrdResponse.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/WellKnown/JrdResponse.php b/lib/WellKnown/JrdResponse.php
index 21389766..fbe4b229 100644
--- a/lib/WellKnown/JrdResponse.php
+++ b/lib/WellKnown/JrdResponse.php
@@ -6,6 +6,7 @@ declare(strict_types=1);
* @copyright 2020 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
+ * @author Maxence Lange <maxence@artificial-owl.com>
*
* @license GNU AGPL version 3 or any later version
*
@@ -58,7 +59,7 @@ final class JrdResponse implements IResponse {
*
* @since 21.0.0
*/
- public function __construct(string $subject, int $httpCode = Http::STATUS_OK) {
+ public function __construct(string $subject = '', int $httpCode = Http::STATUS_OK) {
$this->subject = $subject;
$this->httpCode = $httpCode;
}