]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Installer.php
Merge pull request #11015 from MrPetovan/task/10979-frio-time-tooltip
[friendica.git] / src / Core / Installer.php
index 96fe941564b915f0d2e12b631ac53680bcd38007..96e73b993a28e881012320f5f22df023cfb9c0c8 100644 (file)
@@ -23,7 +23,7 @@ namespace Friendica\Core;
 
 use DOMDocument;
 use Exception;
-use Friendica\Core\Config\Cache;
+use Friendica\Core\Config\ValueObject\Cache;
 use Friendica\Database\Database;
 use Friendica\Database\DBStructure;
 use Friendica\DI;
@@ -278,7 +278,7 @@ class Installer
                        $cmd = "$phppath -v";
                        $result = trim(shell_exec($cmd));
                        $passed2 = (strpos($result, "(cli)") !== false);
-                       list($result) = explode("\n", $result);
+                       [$result] = explode("\n", $result);
                        $help = "";
                        if (!$passed2) {
                                $help .= DI::l10n()->t("PHP executable is not the php cli binary \x28could be cgi-fgci version\x29") . EOL;
@@ -678,8 +678,8 @@ class Installer
        /**
         * Setup the default cache for a new installation
         *
-        * @param Cache  $configCache The configuration cache
-        * @param string $basePath    The determined basepath
+        * @param \Friendica\Core\Config\ValueObject\Cache $configCache The configuration cache
+        * @param string                                   $basePath    The determined basepath
         *
         * @throws \Friendica\Network\HTTPException\InternalServerErrorException
         */