Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 38d8f15

Browse files
kvdnbergweaverryan
authored andcommitted
Adjust Application use statement
The code example assumes the use of the Console Application (no kernel parameter) but the use statement is for the Frameworkbundle Console Application, which requires the kernel parameter. This is confusing, basically the example cannot work as it is.
1 parent edcfe8d commit 38d8f15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

console.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ console::
216216
namespace Tests\AppBundle\Command;
217217

218218
use AppBundle\Command\CreateUserCommand;
219-
use Symfony\Bundle\FrameworkBundle\Console\Application;
219+
use Symfony\Component\Console\Application;
220220
use Symfony\Component\Console\Tester\CommandTester;
221221

222222
class CreateUserCommandTest extends \PHPUnit_Framework_TestCase

0 commit comments

Comments
 (0)