We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa03376 commit ff2c3c8Copy full SHA for ff2c3c8
src/EntityManager.php
@@ -34,7 +34,7 @@ public function getWrappedEm() : EntityManagerInterface
34
/** @psalm-var EntityManagerInterface */
35
$context[self::class] = ($this->emCreatorFn)();
36
/** @psalm-suppress MixedMethodCall */
37
- Co::defer(function () use ($context) {
+ Co::defer(static function () use ($context) {
38
$context[self::class]->close();
39
unset($context[self::class]);
40
});
0 commit comments