]> git.mxchange.org Git - friendica.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Thu, 26 Jan 2017 08:38:52 +0000 (09:38 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 18 Mar 2017 23:52:02 +0000 (00:52 +0100)
- added missing space/curly braces
- added TODOs for later adding a lot type-hints, without these (and they are
  long time around in PHP) anything can be handled over to the method/function.

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

index 7d5020425b26380e37c9eb43b0b10be0f1468b63..37df682a1be0aae779fcd4d5421bb7d63ac443b7 100644 (file)
@@ -1277,7 +1277,7 @@ class dfrn {
                        $href = "";
                        $width = 0;
                        foreach ($avatar->attributes AS $attributes) {
-                               /// @TODO Rewrite these similar if () to one switch
+                               /// @TODO Rewrite these similar if() to one switch
                                if ($attributes->name == "href") {
                                        $href = $attributes->textContent;
                                }
@@ -2122,7 +2122,7 @@ class dfrn {
                $title = "";
                foreach ($links AS $link) {
                        foreach ($link->attributes AS $attributes) {
-                               /// @TODO Rewrite these repeated (same) if () statements to a switch()
+                               /// @TODO Rewrite these repeated (same) if() statements to a switch()
                                if ($attributes->name == "href") {
                                        $href = $attributes->textContent;
                                }