mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-11-03 19:08:50 +03:00
Fix gpg getPassphrase() (return) type declarations
This commit is contained in:
parent
03151d72a0
commit
afece6e85c
2 changed files with 2 additions and 2 deletions
|
|
@ -437,7 +437,7 @@ abstract class Base
|
||||||
// echo \shell_exec('gpg-agent --daemon --homedir $home 2>&1');
|
// echo \shell_exec('gpg-agent --daemon --homedir $home 2>&1');
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getPassphrase($key): string
|
protected function getPassphrase(string $key): string
|
||||||
{
|
{
|
||||||
$passphrase = '';
|
$passphrase = '';
|
||||||
$keyIdLength = \strlen($key);
|
$keyIdLength = \strlen($key);
|
||||||
|
|
|
||||||
|
|
@ -1015,7 +1015,7 @@ class SMIME extends Base
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getPassphrase($key)
|
protected function getPassphrase(string $key): string
|
||||||
{
|
{
|
||||||
$passphrase = '';
|
$passphrase = '';
|
||||||
$keyIdLength = \strlen($key);
|
$keyIdLength = \strlen($key);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue