diff options
author | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2017-05-27 22:44:54 +0200 |
---|---|---|
committer | Klaus Weidenbach <Klaus.Weidenbach@gmx.net> | 2017-05-27 22:44:54 +0200 |
commit | 586c72fbe5f9293b7dfc05990eddfceb472921ef (patch) | |
tree | abf94ae29ea26577e9bac8c0f7cf11da90222250 /include/markdown.php | |
parent | 0f0e23445ab00c49a09d3167ca220ac314722cfd (diff) | |
download | volse-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/markdown.php')
-rw-r--r-- | include/markdown.php | 2 |
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(); |