We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3f570e commit 8c168ebCopy full SHA for 8c168eb
console.rst
@@ -224,8 +224,8 @@ console::
224
{
225
public function testExecute()
226
227
- self::bootKernel();
228
- $application = new Application(self::$kernel);
+ $kernel = self::bootKernel();
+ $application = new Application($kernel);
229
230
$application->add(new CreateUserCommand());
231
testing/doctrine.rst
@@ -36,9 +36,9 @@ which makes all of this quite easy::
36
*/
37
protected function setUp()
38
39
40
41
- $this->em = static::$kernel->getContainer()
+ $this->em = $kernel->getContainer()
42
->get('doctrine')
43
->getManager();
44
}
0 commit comments