X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCapabilities%2FICanCreateResponses.php;h=837e0cd8862baea8235803146faf1ef2e98f2306;hb=67a6bc3ea91286d6ddc03a23ace491dd995b6b0e;hp=300b1938aafd0e7e4f2afcad17475407bcdcf7dc;hpb=4eec2804de78a6aeb30f843b3b295a563f78a3fe;p=friendica.git diff --git a/src/Capabilities/ICanCreateResponses.php b/src/Capabilities/ICanCreateResponses.php index 300b1938aa..837e0cd886 100644 --- a/src/Capabilities/ICanCreateResponses.php +++ b/src/Capabilities/ICanCreateResponses.php @@ -70,7 +70,7 @@ interface ICanCreateResponses * * @throws InternalServerErrorException */ - public function setType(string $type, ?string $content_type = null): void; + public function setType(string $type = ICanCreateResponses::TYPE_HTML, ?string $content_type = null): void; /** * Sets the status and the reason for the response