Skip to content

Commit 922c368

Browse files
authored
Fix variable name in docs
1 parent a5ffbdc commit 922c368

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/reference/custom-integration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Now place the following code in the ``migrations`` file:
3838
3939
$config = new PhpFile('migrations.php'); // Or use one of the Doctrine\Migrations\Configuration\Configuration\* loaders
4040
41-
$dependencyFactory = DependencyFactory::fromConnection($config, new ExistingConnection($conn));
41+
$dependencyFactory = DependencyFactory::fromConnection($config, new ExistingConnection($connection));
4242
4343
$cli = new Application('Doctrine Migrations');
4444
$cli->setCatchExceptions(true);

0 commit comments

Comments
 (0)