mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Cleanup some PHP namespaces
This commit is contained in:
parent
bc79a4f5b1
commit
fa39c7ecba
3 changed files with 4 additions and 9 deletions
|
|
@ -49,9 +49,8 @@ class Account
|
|||
*/
|
||||
private $sParentEmail;
|
||||
|
||||
function __construct(string $sEmail, string $sLogin, string $sPassword,
|
||||
\RainLoop\Model\Domain $oDomain, string $sSignMeToken = '', string $sProxyAuthUser = '',
|
||||
string $sProxyAuthPassword = '', string $sClientCert = '')
|
||||
function __construct(string $sEmail, string $sLogin, string $sPassword, Domain $oDomain,
|
||||
string $sSignMeToken = '', string $sProxyAuthUser = '', string $sProxyAuthPassword = '', string $sClientCert = '')
|
||||
{
|
||||
$this->sEmail = \MailSo\Base\Utils::IdnToAscii($sEmail, true);
|
||||
$this->sLogin = \MailSo\Base\Utils::IdnToAscii($sLogin);
|
||||
|
|
@ -146,7 +145,7 @@ class Account
|
|||
return $this->sSignMeToken;
|
||||
}
|
||||
|
||||
public function Domain() : \RainLoop\Model\Domain
|
||||
public function Domain() : Domain
|
||||
{
|
||||
return $this->oDomain;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ class Domain
|
|||
$this->sAliasName = '';
|
||||
}
|
||||
|
||||
public static function NewInstanceFromDomainConfigArray(string $sName, array $aDomain) : ?\RainLoop\Model\Domain
|
||||
public static function NewInstanceFromDomainConfigArray(string $sName, array $aDomain) : ?self
|
||||
{
|
||||
$oDomain = null;
|
||||
|
||||
|
|
|
|||
|
|
@ -4,10 +4,6 @@ namespace RainLoop\Plugins;
|
|||
|
||||
class Helper
|
||||
{
|
||||
function __construct()
|
||||
{
|
||||
}
|
||||
|
||||
static public function ValidateWildcardValues(string $sString, string $sWildcardValues, string &$sFoundedValue) : bool
|
||||
{
|
||||
$sFoundedValue = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue