From: Roland Häder <roland@mxchange.org>
Date: Thu, 26 Jan 2017 09:01:15 +0000 (+0100)
Subject: Continued:
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4c72cb358418afd6b5f98907e1fcec4a1e31e12a;p=friendica.git

Continued:
- added missing spaces/curly braces
- some more usage of dbm::is_result()
- 2 oppsite if() statements can be mored to else
- added more TODOs for type-hinting

Signed-off-by: Roland Häder <roland@mxchange.org>
---

diff --git a/include/ostatus.php b/include/ostatus.php
index 37f79cb5cc..996fdbfd75 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;
@@ -1138,7 +1138,7 @@ class ostatus {
 				continue;
 			}
 
-			/// @TODO One statment is okay (until if () )
+			/// @TODO One statment is okay (until if() )
 			$arr = array();
 			$arr["network"] = $details["network"];
 			$arr["uri"] = $single_conv->id;