Skip to content

Commit 4fb9e45

Browse files
committed
feature #1203 [Translator][LiveComponent] Fix cache warmers compatibility with Symfony 6.4 (norkunas)
This PR was merged into the 2.x branch. Discussion ---------- [Translator][LiveComponent] Fix cache warmers compatibility with Symfony 6.4 | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Tickets | N/A | License | MIT Commits ------- 4a574dd [Translator][LiveComponent] Fix cache warmers compatibility with Symfony 6.4
2 parents d3ce11f + 4a574dd commit 4fb9e45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/LiveComponent/src/Twig/TemplateCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct(private \IteratorAggregate $templateIterator, privat
2626
{
2727
}
2828

29-
public function warmUp(string $cacheDir): array
29+
public function warmUp(string $cacheDir, string $buildDir = null): array
3030
{
3131
$map = [];
3232
foreach ($this->templateIterator as $item) {

src/Translator/src/CacheWarmer/TranslationsCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function isOptional(): bool
3333
return true;
3434
}
3535

36-
public function warmUp(string $cacheDir): array
36+
public function warmUp(string $cacheDir, string $buildDir = null): array
3737
{
3838
$this->translationsDumper->dump(
3939
...$this->translatorBag->getCatalogues()

0 commit comments

Comments
 (0)