Skip to content

Commit

Permalink
Adjust Application use statement
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kvdnberg authored and weaverryan committed Aug 20, 2016
1 parent edcfe8d commit 38d8f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console.rst
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ console::
namespace Tests\AppBundle\Command;

use AppBundle\Command\CreateUserCommand;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;

class CreateUserCommandTest extends \PHPUnit_Framework_TestCase
Expand Down

0 comments on commit 38d8f15

Please sign in to comment.