mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
Bugfixes and more conversions to PHP 7
This commit is contained in:
parent
2cada68f41
commit
3a7ec4ecb0
100 changed files with 238 additions and 992 deletions
|
|
@ -14,13 +14,10 @@ class Settings
|
|||
*/
|
||||
protected $bLocal;
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(bool $bLocal = false)
|
||||
{
|
||||
$this->aData = array();
|
||||
$this->bLocal = !!$bLocal;
|
||||
$this->bLocal = $bLocal;
|
||||
}
|
||||
|
||||
public function InitData(array $aData) : self
|
||||
|
|
@ -55,10 +52,8 @@ class Settings
|
|||
|
||||
/**
|
||||
* @param mixed $mValue
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function SetConf(string $sName, $mValue)
|
||||
public function SetConf(string $sName, $mValue) : void
|
||||
{
|
||||
$this->aData[$sName] = $mValue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue