commit fb2c31caf40eb623d46b828e1b7dcd64a84a73ef parent 6906a0ea3acb9212ba0b939a8dcad09f31f83a8f Author: Felicitus <felicitus@felicitus.org> Date: Mon, 12 Oct 2015 13:11:15 +0200 Fixed variable name copy'n'paste error Diffstat:
M | src/PartKeepr/CoreBundle/DoctrineMigrations/Version20151002183125.php | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/PartKeepr/CoreBundle/DoctrineMigrations/Version20151002183125.php b/src/PartKeepr/CoreBundle/DoctrineMigrations/Version20151002183125.php @@ -16,11 +16,11 @@ class Version20151002183125 extends BaseMigration { $this->performDatabaseUpgrade(); - $userProviderRepository = $this->getEM()->getRepository( + $partRepository = $this->getEM()->getRepository( 'PartKeeprPartBundle:Part' ); - $parts = $userProviderRepository->findAll(); + $parts = $partRepository->findAll(); foreach ($parts as $part) { $part->recomputeStockLevels();