From 335b6bc5c8a5598e4670e9d323994c30b99a4795 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Mon, 28 Aug 2023 15:50:17 +0200 Subject: [PATCH] Added comment to `public function GenerateFilePath()` --- .../v/0.0.0/app/libraries/RainLoop/Providers/Storage.php | 3 +++ .../app/libraries/RainLoop/Providers/Storage/FileStorage.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/Storage.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/Storage.php index 3f1790b84..eb9fa58c3 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/Storage.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/Storage.php @@ -66,6 +66,9 @@ class Storage extends \RainLoop\Providers\AbstractProvider return $this->oDriver->DeleteStorage($mAccount); } + /** + * @param \RainLoop\Model\Account|string|null $mAccount + */ public function GenerateFilePath($mAccount, int $iStorageType, bool $bMkDir = false) : string { return $this->oDriver->GenerateFilePath($mAccount, $iStorageType, $bMkDir); diff --git a/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/Storage/FileStorage.php b/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/Storage/FileStorage.php index a9369b391..04f9948fd 100644 --- a/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/Storage/FileStorage.php +++ b/snappymail/v/0.0.0/app/libraries/RainLoop/Providers/Storage/FileStorage.php @@ -85,6 +85,9 @@ class FileStorage implements \RainLoop\Providers\Storage\IStorage return $this->bLocal; } + /** + * @param \RainLoop\Model\Account|string|null $mAccount + */ public function GenerateFilePath($mAccount, int $iStorageType, bool $bMkDir = false) : string { $sEmail = $sSubFolder = '';