aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/markdown.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/markdown.php b/include/markdown.php
index 55ae528a4..f7e9d53fc 100644
--- a/include/markdown.php
+++ b/include/markdown.php
@@ -580,7 +580,7 @@ function format_event_diaspora($ev) {
* @param string $html The HTML code to convert
* @return string Markdown representation of the given HTML text, empty on error
*/
-function html2markdown(String $html) : String {
+function html2markdown($html) {
$markdown = '';
$converter = new HtmlConverter();