Skip to content

Commit 1c9fdd6

Browse files
ihmelssoyuka
authored andcommitted
Add $buildDir to CachePoolClearerCacheWarmer::warmUp()
Symfony 7 adds a new parameter `$buildDir` to `WarmableInterface::warmUp()`, so that the method signature of `CachePoolClearerCacheWarmer::warmUp()` needs to be updated.
1 parent 86e6d5a commit 1c9fdd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/CacheWarmer/CachePoolClearerCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __construct(private readonly Psr6CacheClearer $poolClearer, priv
3434
*
3535
* @return string[]
3636
*/
37-
public function warmUp(string $cacheDir): array
37+
public function warmUp(string $cacheDir, string $buildDir = null): array
3838
{
3939
foreach ($this->pools as $pool) {
4040
if ($this->poolClearer->hasPool($pool)) {

0 commit comments

Comments
 (0)