mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 15:37: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
|
|
@ -4,6 +4,7 @@ namespace RainLoop;
|
|||
|
||||
class Api
|
||||
{
|
||||
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
|
@ -38,18 +39,12 @@ class Api
|
|||
return $oActions;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \RainLoop\Config\Application
|
||||
*/
|
||||
public static function Config()
|
||||
public static function Config() : \RainLoop\Config\Application
|
||||
{
|
||||
return static::Actions()->Config();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \MailSo\Log\Logger
|
||||
*/
|
||||
public static function Logger()
|
||||
public static function Logger() : \MailSo\Log\Logger
|
||||
{
|
||||
return static::Actions()->Logger();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue