mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 15:07:02 +03:00
More functions without type hinting found and fixt
Use PECL yaml (else Spyc) Upgrade Spyc (with removed dump code)
This commit is contained in:
parent
cd3d8b94b2
commit
75b4b64118
43 changed files with 893 additions and 1482 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue