Skip to content

Commit a8d437e

Browse files
committed
minor #19191 Update console.rst (hbgamra)
This PR was submitted for the 6.3 branch but it was merged into the 5.4 branch instead. Discussion ---------- Update console.rst remove $kernel variable <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- 625e432 Update console.rst
2 parents 18683a7 + 625e432 commit a8d437e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

console.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -513,8 +513,8 @@ console::
513513
{
514514
public function testExecute()
515515
{
516-
$kernel = self::bootKernel();
517-
$application = new Application($kernel);
516+
self::bootKernel();
517+
$application = new Application(self::$kernel);
518518

519519
$command = $application->find('app:create-user');
520520
$commandTester = new CommandTester($command);

0 commit comments

Comments
 (0)