File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Now place the following code in the ``migrations`` file:
2121
2222 use Doctrine\DBAL\DriverManager;
2323 use Doctrine\Migrations\DependencyFactory;
24- use Doctrine\Migrations\Configuration\Configuration \PhpFile;
24+ use Doctrine\Migrations\Configuration\Migration \PhpFile;
2525 use Doctrine\Migrations\Configuration\Connection\ExistingConnection;
2626 use Doctrine\Migrations\Tools\Console\Command;
2727 use Symfony\Component\Console\Application;
@@ -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);
You can’t perform that action at this time.
0 commit comments