From: Philipp Holzer Date: Mon, 15 Jul 2019 18:54:33 +0000 (+0200) Subject: minor phpdoc fixings X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ebf00e32a1cbd6510a0b79c000d5a00fd6d2bce2;p=friendica.git minor phpdoc fixings --- diff --git a/src/Core/Config/PreloadConfiguration.php b/src/Core/Config/PreloadConfiguration.php index b5823c6144..d54f1b0636 100644 --- a/src/Core/Config/PreloadConfiguration.php +++ b/src/Core/Config/PreloadConfiguration.php @@ -5,7 +5,7 @@ namespace Friendica\Core\Config; use Friendica\Model; /** - * This class implements the preload Time configuration, which will cache + * This class implements the preload configuration, which will cache * all config values per call in a cache. * * Minimizes the number of database queries to retrieve configuration values at the cost of memory. diff --git a/src/Core/Config/PreloadPConfiguration.php b/src/Core/Config/PreloadPConfiguration.php index 1682b7e21b..1c2dfba4f7 100644 --- a/src/Core/Config/PreloadPConfiguration.php +++ b/src/Core/Config/PreloadPConfiguration.php @@ -5,7 +5,7 @@ namespace Friendica\Core\Config; use Friendica\Model; /** - * This class implements the preload Time configuration, which will cache + * This class implements the preload configuration, which will cache * all user config values per call in a cache. * * Minimizes the number of database queries to retrieve configuration values at the cost of memory. diff --git a/src/Model/Config/PConfig.php b/src/Model/Config/PConfig.php index c76e41cb6c..2969272cc6 100644 --- a/src/Model/Config/PConfig.php +++ b/src/Model/Config/PConfig.php @@ -29,7 +29,6 @@ class PConfig extends DbaConfig } while ($config = $this->dba->fetch($configs)) { - $key = $config['k']; $value = $this->toConfigValue($config['v']);