From 99fbd520ff7bb93953e4ad7db7438180fb345a23 Mon Sep 17 00:00:00 2001 From: William DURAND Date: Tue, 25 Oct 2011 12:05:38 +0200 Subject: [PATCH] Fixed notice error if no entities --- src/Faker/ORM/Propel/Populator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Faker/ORM/Propel/Populator.php b/src/Faker/ORM/Propel/Populator.php index 790d67a7..0faa3caf 100644 --- a/src/Faker/ORM/Propel/Populator.php +++ b/src/Faker/ORM/Propel/Populator.php @@ -11,8 +11,8 @@ require_once __DIR__ . '/EntityPopulator.php'; class Populator { protected $generator; - protected $entities; - protected $quantities; + protected $entities = array(); + protected $quantities = array(); public function __construct(\Faker\Generator $generator) {