From ebf00e32a1cbd6510a0b79c000d5a00fd6d2bce2 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Mon, 15 Jul 2019 20:54:33 +0200 Subject: [PATCH] minor phpdoc fixings --- src/Core/Config/PreloadConfiguration.php | 2 +- src/Core/Config/PreloadPConfiguration.php | 2 +- src/Model/Config/PConfig.php | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) 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']); -- 2.39.5