Skip to content

Commit

Permalink
Fixed count issue on php7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyennv committed Jun 12, 2018
1 parent 91c8b10 commit b2d9d64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Zimbra/Common/TypedMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class TypedMap extends Map
*/
public function __construct($type, array $elements = [])
{
parent::__construct();
$this->_type = $type;
$this->setAll($elements);
}
Expand Down
1 change: 1 addition & 0 deletions src/Zimbra/Common/TypedSequence.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class TypedSequence extends Sequence
*/
public function __construct($type, array $elements = [])
{
parent::__construct();
$this->_type = $type;
$this->addAll($elements);
}
Expand Down

0 comments on commit b2d9d64

Please sign in to comment.