Bugfix: Return value of RainLoop\Actions::SetIdentities() must be of the type array, bool returned

Cleanup: remove empty __construct()
This commit is contained in:
djmaze 2020-04-15 20:42:16 +02:00
parent 75b4b64118
commit 3d9b3334ee
4 changed files with 1 additions and 16 deletions

View file

@ -17,11 +17,6 @@ namespace MailSo\Mail;
*/
class AttachmentCollection extends \MailSo\Base\Collection
{
protected function __construct()
{
parent::__construct();
}
public static function NewInstance() : self
{
return new self();

View file

@ -17,11 +17,6 @@ namespace MailSo\Mime;
*/
class AttachmentCollection extends \MailSo\Base\Collection
{
protected function __construct()
{
parent::__construct();
}
public static function NewInstance() : self
{
return new self();

View file

@ -17,11 +17,6 @@ namespace MailSo\Mime;
*/
class PartCollection extends \MailSo\Base\Collection
{
protected function __construct()
{
parent::__construct();
}
public static function NewInstance() : self
{
return new self();

View file

@ -2266,7 +2266,7 @@ NewThemeLink IncludeCss LoadingDescriptionEsc TemplatesLink LangLink IncludeBack
}
}
public function SetIdentities(\RainLoop\Model\Account $oAccount, array $aIdentities = array()) : array
public function SetIdentities(\RainLoop\Model\Account $oAccount, array $aIdentities = array()) : bool
{
$bAllowIdentities = $this->GetCapa(false, false, \RainLoop\Enumerations\Capa::IDENTITIES, $oAccount);