Added comment to public function GenerateFilePath()

This commit is contained in:
the-djmaze 2023-08-28 15:50:17 +02:00
parent 44c4514622
commit 335b6bc5c8
2 changed files with 6 additions and 0 deletions

View file

@ -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);

View file

@ -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 = '';