mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 16:07:03 +03:00
More params and returns to PHP 7.3+
This commit is contained in:
parent
3d246ae842
commit
26c38b3ec9
95 changed files with 1028 additions and 4865 deletions
|
|
@ -32,10 +32,7 @@ class Files extends \RainLoop\Providers\AbstractProvider
|
|||
return $this->oDriver->GetFile($oAccount, $sKey, $sOpenMode);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string | bool
|
||||
*/
|
||||
public function GetFileName(\RainLoop\Model\Account $oAccount, string $sKey)
|
||||
public function GetFileName(\RainLoop\Model\Account $oAccount, string $sKey) : string
|
||||
{
|
||||
return $this->oDriver->GetFileName($oAccount, $sKey);
|
||||
}
|
||||
|
|
@ -45,10 +42,7 @@ class Files extends \RainLoop\Providers\AbstractProvider
|
|||
return $this->oDriver->Clear($oAccount, $sKey);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int|bool
|
||||
*/
|
||||
public function FileSize(\RainLoop\Model\Account $oAccount, string $sKey)
|
||||
public function FileSize(\RainLoop\Model\Account $oAccount, string $sKey) : int
|
||||
{
|
||||
return $this->oDriver->FileSize($oAccount, $sKey);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue