From fbd559a8234d33a053b99dd10ecfcb3162a5e53a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 26 Jan 2017 16:07:30 +0100 Subject: [PATCH] more spaces + some curly spaces added MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- include/conversation.php | 2 +- include/ostatus.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5