Bugfixes and more conversions to PHP 7

This commit is contained in:
djmaze 2020-03-10 18:45:00 +01:00
parent 2cada68f41
commit 3a7ec4ecb0
100 changed files with 238 additions and 992 deletions

View file

@ -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;
}