diff --git a/src/Collection/EntityCollection.php b/src/Collection/EntityCollection.php index 5b64dec..8bf78b0 100644 --- a/src/Collection/EntityCollection.php +++ b/src/Collection/EntityCollection.php @@ -11,7 +11,7 @@ abstract class EntityCollection implements \Countable, \Iterator { /** @var array */ - private $entities; + private $entities = array(); /** @var bool */ protected $allowEntitiesChildren;