mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 00:17:03 +03:00
there's not type hint 'resource' (bug in my converter)
https://wiki.php.net/rfc/scalar_type_hints#type_hint_choices
This commit is contained in:
parent
69a33c0c25
commit
690190bb26
8 changed files with 12 additions and 11 deletions
|
|
@ -25,7 +25,7 @@ class FileStorage implements \RainLoop\Providers\Files\IFiles
|
|||
return $this->generateFullFileName($oAccount, $sKey, true);
|
||||
}
|
||||
|
||||
public function PutFile(\RainLoop\Model\Account $oAccount, string $sKey, resource $rSource) : bool
|
||||
public function PutFile(\RainLoop\Model\Account $oAccount, string $sKey, /*resource*/ $rSource) : bool
|
||||
{
|
||||
$bResult = false;
|
||||
if ($rSource)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ interface IFiles
|
|||
{
|
||||
public function GenerateLocalFullFileName(\RainLoop\Model\Account $oAccount, string $sKey) : string;
|
||||
|
||||
public function PutFile(\RainLoop\Model\Account $oAccount, string $sKey, resource $rSource) : bool;
|
||||
public function PutFile(\RainLoop\Model\Account $oAccount, string $sKey, /*resource*/ $rSource) : bool;
|
||||
|
||||
public function MoveUploadedFile(\RainLoop\Model\Account $oAccount, string $sKey, string $sSource) : bool;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue