Continued:
- 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>
This commit is contained in:
parent
f66cb9b0a3
commit
cf9fa51f2f
|
@ -1581,7 +1581,7 @@ class DFRN
|
||||||
$href = "";
|
$href = "";
|
||||||
$width = 0;
|
$width = 0;
|
||||||
foreach ($avatar->attributes as $attributes) {
|
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") {
|
if ($attributes->name == "href") {
|
||||||
$href = $attributes->textContent;
|
$href = $attributes->textContent;
|
||||||
}
|
}
|
||||||
|
@ -2801,6 +2801,7 @@ class DFRN
|
||||||
{
|
{
|
||||||
logger("Processing deletions");
|
logger("Processing deletions");
|
||||||
$uri = null;
|
$uri = null;
|
||||||
|
|
||||||
foreach ($deletion->attributes as $attributes) {
|
foreach ($deletion->attributes as $attributes) {
|
||||||
if ($attributes->name == "ref") {
|
if ($attributes->name == "ref") {
|
||||||
$uri = $attributes->textContent;
|
$uri = $attributes->textContent;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user