8000 minor #34542 [HttpKernel] Fix write signature according to ConfigCach… · symfony/symfony@6925a4a · GitHub
[go: up one dir, main page]

Skip to content

Commit 6925a4a

Browse files
committed
minor #34542 [HttpKernel] Fix write signature according to ConfigCacheInterface (thiagocordeiro)
This PR was merged into the 5.0 branch. Discussion ---------- [HttpKernel] Fix write signature according to ConfigCacheInterface | Q 8000 | A | ------------- | --- | Branch? | 5.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | #SymfonyHackday Commits ------- 5c3c295 [HttpKernel] Fix write signature
2 parents 3912cc0 + 5c3c295 commit 6925a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ protected function initializeContainer()
458458
$cache = new class($cachePath, $this->debug) extends ConfigCache {
459459
public $lock;
460460

461-
public function write($content, array $metadata = null)
461+
public function write(string $content, array $metadata = null)
462462
{
463463
rewind($this->lock);
464464
ftruncate($this->lock, 0);

0 commit comments

Comments
 (0)
0