From 872544150a004ba8286099c58b3d7d144fc22d58 Mon Sep 17 00:00:00 2001 From: Dhaval Patel Date: Thu, 10 Mar 2016 21:28:43 -0500 Subject: [PATCH] Update CONECTION_WRITE reference CONNECTION_WRITE has been moved under ServiceContainerInterface in propel2 --- src/Faker/ORM/Propel2/Populator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Faker/ORM/Propel2/Populator.php b/src/Faker/ORM/Propel2/Populator.php index 47ea08c57b..c0efe3b82c 100644 --- a/src/Faker/ORM/Propel2/Populator.php +++ b/src/Faker/ORM/Propel2/Populator.php @@ -87,6 +87,6 @@ protected function getConnection() $peer = $class::TABLE_MAP; - return Propel::getConnection($peer::DATABASE_NAME, Propel::CONNECTION_WRITE); + return Propel::getConnection($peer::DATABASE_NAME, ServiceContainerInterface::CONNECTION_WRITE); } }