Skip to content

Commit 4f23382

Browse files
committed
minor #7816 KernelTestCase::createKernel() is static, $this->createKernel() -> static::createKernel() (baruica)
This PR was submitted for the 3.2 branch but it was merged into the 2.7 branch instead (closes #7816). Discussion ---------- KernelTestCase::createKernel() is static, $this->createKernel() -> static::createKernel() Commits ------- b9e931a KernelTestCase::createKernel() is static, $this->createKernel() -> static::createKernel()
2 parents 1d3a10c + b9e931a commit 4f23382

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
@@ -273,7 +273,7 @@ you can extend your test from
273273
{
274274
public function testExecute()
275275
{
276-
$kernel = $this->createKernel();
276+
$kernel = static::createKernel();
277277
$kernel->boot();
278278

279279
$application = new Application($kernel);

0 commit comments

Comments
 (0)