Skip to content

Commit 856853a

Browse files
ThomasLandauerondrejmirtes
authored andcommitted
Update README.md
Fixing Kernel namespace, see https://github.com/phpstan/phpstan-symfony#console-command-analysis
1 parent cb4f65e commit 856853a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ For example, in a Symfony project, `object-manager.php` would look something lik
7272
<?php
7373

7474
require dirname(__DIR__).'/../config/bootstrap.php';
75-
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
75+
$kernel = new \App\Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
7676
$kernel->boot();
7777
return $kernel->getContainer()->get('doctrine')->getManager();
7878
```

0 commit comments

Comments
 (0)