From: Roland Häder Date: Thu, 26 Jan 2017 15:07:30 +0000 (+0100) Subject: more spaces + some curly spaces added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fbd559a8234d33a053b99dd10ecfcb3162a5e53a;p=friendica.git more spaces + some curly spaces added Signed-off-by: Roland Häder --- diff --git a/include/conversation.php b/include/conversation.php index d3e4c6e4ab..a937eb69f5 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1379,7 +1379,7 @@ function conv_sort($arr,$order) { } } - /*foreach($arr as $x) { + /*foreach ($arr as $x) { if ($x['id'] != $x['parent']) { $p = find_thread_parent_index($parents,$x); if ($p !== false) diff --git a/include/ostatus.php b/include/ostatus.php index 26be15a020..37f79cb5cc 100644 --- a/include/ostatus.php +++ b/include/ostatus.php @@ -50,7 +50,7 @@ class ostatus { $alternate = $xpath->query("atom:author/atom:link[@rel='alternate']", $context)->item(0)->attributes; if (is_object($alternate)) { - /// @TODO foreach() may only later work on objects that have iterator interface implemented, please check this + /// @TODO foreach () may only later work on objects that have iterator interface implemented, please check this foreach ($alternate AS $attributes) { if ($attributes->name == "href") { $author["author-link"] = $attributes->textContent;