mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 15:07:02 +03:00
Resolve Declaration *Collection::append should be compatible with Collection::append
This commit is contained in:
parent
559ebe0f28
commit
5af6e30b8f
8 changed files with 19 additions and 11 deletions
|
|
@ -27,8 +27,9 @@ class PartCollection extends \MailSo\Base\Collection
|
|||
return new self();
|
||||
}
|
||||
|
||||
public function append(Part $oPart, bool $bToTop = false) : void
|
||||
public function append($oPart, bool $bToTop = false) : void
|
||||
{
|
||||
assert($oPart instanceof Part);
|
||||
parent::append($oPart, $bToTop);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue