mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve issue #5
This commit is contained in:
parent
dc6b7e250e
commit
5009adfb60
20 changed files with 32 additions and 32 deletions
|
|
@ -5,7 +5,7 @@ class DemoAccountPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function Init()
|
||||
public function Init() : void
|
||||
{
|
||||
$this->addHook('filter.app-data', 'FilterAppData');
|
||||
$this->addHook('filter.action-params', 'FilterActionParams');
|
||||
|
|
@ -17,7 +17,7 @@ class DemoAccountPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
/**
|
||||
* @return array
|
||||
*/
|
||||
protected function configMapping()
|
||||
protected function configMapping() : array
|
||||
{
|
||||
return array(
|
||||
\RainLoop\Plugins\Property::NewInstance('email')->SetLabel('Demo Email')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue