aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2017-05-27 22:44:54 +0200
committerKlaus Weidenbach <Klaus.Weidenbach@gmx.net>2017-05-27 22:44:54 +0200
commit586c72fbe5f9293b7dfc05990eddfceb472921ef (patch)
treeabf94ae29ea26577e9bac8c0f7cf11da90222250 /include
parent0f0e23445ab00c49a09d3167ca220ac314722cfd (diff)
downloadvolse-hubzilla-586c72fbe5f9293b7dfc05990eddfceb472921ef.tar.gz
volse-hubzilla-586c72fbe5f9293b7dfc05990eddfceb472921ef.tar.bz2
volse-hubzilla-586c72fbe5f9293b7dfc05990eddfceb472921ef.zip
Don't drop PHP5 support yet.
Scalar Type Hints and Return Type Declarations were introduced in PHP7.
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();