From 56e1f5b02fa94d6eb02f089f3d98702684ce84d6 Mon Sep 17 00:00:00 2001 From: "origami11@yandex.ru" Date: Tue, 12 Mar 2024 12:43:14 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20=D0=A2=D0=B8=D0=BF=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Controller/Component.php | 2 +- src/Path.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Controller/Component.php b/src/Controller/Component.php index 39308a8..a86bd14 100644 --- a/src/Controller/Component.php +++ b/src/Controller/Component.php @@ -286,7 +286,7 @@ class Component ); $component->COMPONENTS_WEB = $config->get('system', 'components.web'); } else { - $component->webPath = array('', $config->get('site', 'components.web') . '/' . $name, ''); + $component->webPath = array('', $config->get('site', 'components.web') . '/' . $name, '', ''); } } diff --git a/src/Path.php b/src/Path.php index 3b0bcdc..4e35405 100644 --- a/src/Path.php +++ b/src/Path.php @@ -454,11 +454,11 @@ class Path /** * Обновить относительную ссылку при переносе файла * - * @param String $relativePath - относительная ссылка до переноса - * @param String $srcFile - абсолютный путь к папке содержащей файл со ссылкой до переноса - * @param String $dstFile - абсолютный путь к папке содержащей файл со ссылкой после переноса + * @param string $relativePath - относительная ссылка до переноса + * @param string $srcFile - абсолютный путь к папке содержащей файл со ссылкой до переноса + * @param string $dstFile - абсолютный путь к папке содержащей файл со ссылкой после переноса * - * @return String + * @return string */ static function updateRelativePathOnFileMove($relativePath, $srcFile, $dstFile) { $srcToDst = self::relative($srcFile, $dstFile);