Skip to content

Commit d826d9b

Browse files
committed
app must be in use!
1 parent 6a9e011 commit d826d9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dflydev/Pimple/Provider/DoctrineOrm/DoctrineOrmServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function register(\Pimple $app)
9191
$config = $app['orm.ems.config'][$name];
9292
}
9393

94-
$ems[$name] = $app->share(function ($app) use ($options, $config) {
94+
$ems[$name] = $app->share(function () use ($app, $options, $config) {
9595
return EntityManager::create(
9696
$app['dbs'][$options['connection']],
9797
$config,

0 commit comments

Comments
 (0)