From: Art4 Date: Wed, 29 Jan 2025 08:58:55 +0000 (+0000) Subject: Fix code style X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0837ad647a1c45aed546a719502cada667fea81d;p=friendica.git Fix code style --- diff --git a/src/Content/Feature.php b/src/Content/Feature.php index 89165e232c..641340133c 100644 --- a/src/Content/Feature.php +++ b/src/Content/Feature.php @@ -46,7 +46,7 @@ class Feature $eventDispatcher = DI::eventDispatcher(); if (!$config->get('feature_lock', $feature, false)) { - $enabled = $config->get('feature', $feature) ?? self::getDefault($feature); + $enabled = $config->get('feature', $feature) ?? self::getDefault($feature); $enabled = $pConfig->get($uid, 'feature', $feature) ?? $enabled; } else { $enabled = true; @@ -155,7 +155,7 @@ class Feature foreach ($arr as $k => $x) { $has_items = false; $kquantity = count($arr[$k]); - for ($y = 0; $y < $kquantity; $y ++) { + for ($y = 0; $y < $kquantity; $y++) { if (is_array($arr[$k][$y])) { if ($arr[$k][$y][4] === false) { $has_items = true;