mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 06:57:03 +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
|
|
@ -32,9 +32,10 @@ class ParameterCollection extends \MailSo\Base\Collection
|
|||
return new self($sRawParams);
|
||||
}
|
||||
|
||||
public function append(Parameter $oHeader, bool $bToTop = false) : void
|
||||
public function append($oParameter, bool $bToTop = false) : void
|
||||
{
|
||||
parent::append($oHeader, $bToTop);
|
||||
assert($oParameter instanceof Parameter);
|
||||
parent::append($oParameter, $bToTop);
|
||||
}
|
||||
|
||||
public function ParameterValueByName(string $sName) : string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue