Skip to content

Commit 675756f

Browse files
committed
bug #47195 [FrameworkBundle] fix writes to static $kernel property (xabbuh)
This PR was merged into the 4.4 branch. Discussion ---------- [FrameworkBundle] fix writes to static $kernel property | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #47186 | License | MIT | Doc PR | Commits ------- 458e0aa fix writes to static $kernel property
2 parents fcd9c2d + 458e0aa commit 675756f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ protected static function bootKernel(array $options = [])
7777

7878
$kernel = static::createKernel($options);
7979
$kernel->boot();
80-
self::$kernel = $kernel;
80+
static::$kernel = $kernel;
8181
static::$booted = true;
8282

8383
$container = static::$kernel->getContainer();

0 commit comments

Comments
 (0)