mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 22:17: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
|
|
@ -57,10 +57,7 @@ abstract class AbstractPlugin
|
|||
$this->bLangs = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \RainLoop\Config\Plugin
|
||||
*/
|
||||
public function Config()
|
||||
public function Config() : \RainLoop\Config\Plugin
|
||||
{
|
||||
if (!$this->bPluginConfigLoaded && $this->oPluginConfig)
|
||||
{
|
||||
|
|
@ -77,10 +74,7 @@ abstract class AbstractPlugin
|
|||
return $this->oPluginConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \RainLoop\Plugins\Manager
|
||||
*/
|
||||
public function Manager()
|
||||
public function Manager() : \RainLoop\Plugins\Manager
|
||||
{
|
||||
return $this->oPluginManager;
|
||||
}
|
||||
|
|
@ -125,9 +119,6 @@ abstract class AbstractPlugin
|
|||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
* @final
|
||||
*/
|
||||
final public function ConfigMap() : array
|
||||
{
|
||||
if (null === $this->aConfigMap)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue