Skip to content

Commit 625e432

Browse files
hbgamraOskarStark
authored andcommitted
Update console.rst
remove $kernel variable
1 parent 18683a7 commit 625e432

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
@@ -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)