From 74fc42f85d67e5d4f650aecbf73623d06c703b1a Mon Sep 17 00:00:00 2001 From: Mirzaev Date: Sun, 6 Nov 2022 11:17:51 +1000 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BC=D0=B5=D0=BD=D0=B0=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D1=81=D1=82=D1=80=D0=B0=D0=BD=D1=81=D1=82=D0=B2=D0=B0=20?= =?UTF-8?q?=D0=B8=D0=BC=D1=91=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yii2/sessions/arangodb/system/ArangoDbSession.php | 11 +++++++---- .../system/Migrations/create_sessions_collection.php | 3 ++- .../sessions/arangodb/system/MultiFieldSession.php | 10 +++++----- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/mirzaev/yii2/sessions/arangodb/system/ArangoDbSession.php b/mirzaev/yii2/sessions/arangodb/system/ArangoDbSession.php index 7ff4e7e..8d57869 100644 --- a/mirzaev/yii2/sessions/arangodb/system/ArangoDbSession.php +++ b/mirzaev/yii2/sessions/arangodb/system/ArangoDbSession.php @@ -2,15 +2,18 @@ declare(strict_types=1); -namespace mirzaev\yii2\arangodb\sessions; +namespace mirzaev\yii2\sessions\arangodb; +// Фреймворк Yii use yii; use yii\di\Instance; use yii\base\InvalidConfigException; -use mirzaev\yii2\arangodb\Connection; -use mirzaev\yii2\arangodb\Query; +// Модуль ArangoDB для фреймворка Yii +use mirzaev\yii2\arangodb\Connection, + mirzaev\yii2\arangodb\Query; +// Встроенные библиотеки use Exception; /** @@ -45,7 +48,7 @@ use Exception; * @see yii\web\DbSession Наследует, копирует (Inherit, copy) * * @package yii2\ArangoDB - * @author Arsen Mirzaev Tatyano-Muradovich + * @author Arsen Mirzaev Tatyano-Muradovich * * @since 2.0 */ diff --git a/mirzaev/yii2/sessions/arangodb/system/Migrations/create_sessions_collection.php b/mirzaev/yii2/sessions/arangodb/system/Migrations/create_sessions_collection.php index 67fac6e..bef68a8 100644 --- a/mirzaev/yii2/sessions/arangodb/system/Migrations/create_sessions_collection.php +++ b/mirzaev/yii2/sessions/arangodb/system/Migrations/create_sessions_collection.php @@ -1,5 +1,6 @@ dropCollection('sessions'); } -} \ No newline at end of file +} diff --git a/mirzaev/yii2/sessions/arangodb/system/MultiFieldSession.php b/mirzaev/yii2/sessions/arangodb/system/MultiFieldSession.php index 53aba50..4df6eb1 100644 --- a/mirzaev/yii2/sessions/arangodb/system/MultiFieldSession.php +++ b/mirzaev/yii2/sessions/arangodb/system/MultiFieldSession.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace mirzaev\yii2\arangodb\sessions; +namespace mirzaev\yii2\sessions\arangodb; -use yii; - -use yii\web\Session; +// Фреймворк Yii +use yii, + yii\web\Session; /** * Базовый класс для реализации хранилища сессий @@ -15,7 +15,7 @@ use yii\web\Session; * * @property-read bool $useCustomStorage Разрешение использовать своё хранилища (Whether to use custom storage) * - * @author Arsen Mirzaev Tatyano-Muradovich + * @author Arsen Mirzaev Tatyano-Muradovich * @author Paul Klimov */ abstract class MultiFieldSession extends Session