diff --git a/include/conversation.php b/include/conversation.php index d3e4c6e4a..a937eb69f 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 26be15a02..37f79cb5c 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;