mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 07:57:02 +03:00
Changed: MailSo\*Collection now extends \ArrayObject
Changed: fixed __constructor param type hinting Replace: &$o with $o as objects don't need & referencing
This commit is contained in:
parent
9bb44e7f98
commit
f6fdb69c65
30 changed files with 290 additions and 736 deletions
|
|
@ -37,8 +37,7 @@ class PartCollection extends \MailSo\Base\Collection
|
|||
{
|
||||
$aResult = array();
|
||||
|
||||
$aParts =& $this->GetAsArray();
|
||||
foreach ($aParts as /* @var $oPart \MailSo\Mime\Part */ &$oPart)
|
||||
foreach ($this as /* @var $oPart \MailSo\Mime\Part */ $oPart)
|
||||
{
|
||||
if (0 < count($aResult))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue