mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
Remove useless NewInstance
Bugfix: BodyStructure->SearchCharset return value
This commit is contained in:
parent
82e560bc53
commit
693e0f4c10
61 changed files with 802 additions and 1345 deletions
|
|
@ -17,6 +17,14 @@ namespace MailSo\Base;
|
|||
*/
|
||||
abstract class Collection extends \ArrayObject
|
||||
{
|
||||
function __construct($input = array(), int $flags = 0, string $iterator_class = "ArrayIterator")
|
||||
{
|
||||
parent::__construct();
|
||||
foreach ($input as $item) {
|
||||
$this->append($item);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $mItem
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue