Skip to content

Commit 9265207

Browse files
authored
Update console.rst
remove $kernel variable
1 parent 4e3a968 commit 9265207

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

console.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -514,8 +514,8 @@ console::
514514
{
515515
public function testExecute(): void
516516
{
517-
$kernel = self::bootKernel();
518-
$application = new Application($kernel);
517+
self::bootKernel();
518+
$application = new Application(self::$kernel);
519519

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

0 commit comments

Comments
 (0)