]> git.mxchange.org Git - friendica.git/blobdiff - src/Capabilities/ICanCreateResponses.php
Update Site.php
[friendica.git] / src / Capabilities / ICanCreateResponses.php
index dbdc61d843a64b0bca16a2384618fb76a9c0ea24..837e0cd8862baea8235803146faf1ef2e98f2306 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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