Skip to content

Commit

Permalink
Merge pull request #1 from atrapalo/CollectionInit
Browse files Browse the repository at this point in the history
Init collection entities to empty array
  • Loading branch information
GuilleGF authored Mar 29, 2017
2 parents 0061386 + 767fdd9 commit 1cd2c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Collection/EntityCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
abstract class EntityCollection implements \Countable, \Iterator
{
/** @var array */
private $entities;
private $entities = array();
/** @var bool */
protected $allowEntitiesChildren;

Expand Down

0 comments on commit 1cd2c7c

Please sign in to comment.