]> git.mxchange.org Git - friendica.git/blobdiff - src/Capabilities/ICanCreateResponses.php
Update Site.php
[friendica.git] / src / Capabilities / ICanCreateResponses.php
index 300b1938aafd0e7e4f2afcad17475407bcdcf7dc..837e0cd8862baea8235803146faf1ef2e98f2306 100644 (file)
@@ -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