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:
21
21
22
22
use Doctrine\DBAL\DriverManager;
23
23
use Doctrine\Migrations\DependencyFactory;
24
- use Doctrine\Migrations\Configuration\Configuration \PhpFile;
24
+ use Doctrine\Migrations\Configuration\Migration \PhpFile;
25
25
use Doctrine\Migrations\Configuration\Connection\ExistingConnection;
26
26
use Doctrine\Migrations\Tools\Console\Command;
27
27
use Symfony\Component\Console\Application;
@@ -38,7 +38,7 @@ Now place the following code in the ``migrations`` file:
38
38
39
39
$config = new PhpFile('migrations.php'); // Or use one of the Doctrine\Migrations\Configuration\Configuration\* loaders
40
40
41
- $dependencyFactory = DependencyFactory::fromConnection($config, new ExistingConnection($conn ));
41
+ $dependencyFactory = DependencyFactory::fromConnection($config, new ExistingConnection($connection ));
42
42
43
43
$cli = new Application('Doctrine Migrations');
44
44
$cli->setCatchExceptions(true);
You can’t perform that action at this time.
0 commit comments