More functions without type hinting found and fixt

Use PECL yaml (else Spyc)
Upgrade Spyc (with removed dump code)
This commit is contained in:
djmaze 2020-04-03 11:32:07 +02:00
parent cd3d8b94b2
commit 75b4b64118
43 changed files with 893 additions and 1482 deletions

View file

@ -64,7 +64,7 @@ class ServiceActions
public function SetPaths(array $aPaths) : self
{
$this->aPaths = \is_array($aPaths) ? $aPaths : array();
$this->aPaths = $aPaths;
return $this;
}
@ -104,7 +104,7 @@ class ServiceActions
$this->Logger()->Write('Action: '.$sMethodName, \MailSo\Log\Enumerations\Type::NOTE, 'AJAX');
$aPost = $this->oHttp->GetPostAsArray();
if (\is_array($aPost) && 0 < \count($aPost))
if ($aPost)
{
$this->oActions->SetActionParams($aPost, $sMethodName);
switch ($sMethodName)