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;