Skip to content

Commit

Permalink
Add $buildDir to CachePoolClearerCacheWarmer::warmUp()
Browse files Browse the repository at this point in the history
Symfony 7 adds a new parameter `$buildDir` to
`WarmableInterface::warmUp()`, so that the method signature of
`CachePoolClearerCacheWarmer::warmUp()` needs to be updated.
  • Loading branch information
ihmels authored and soyuka committed Nov 29, 2023
1 parent d865adf commit dc51ebe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function __construct(private readonly Psr6CacheClearer $poolClearer, priv
*
* @return string[]
*/
public function warmUp(string $cacheDir): array
public function warmUp(string $cacheDir, string $buildDir = null): array
{
foreach ($this->pools as $pool) {
if ($this->poolClearer->hasPool($pool)) {
Expand Down

0 comments on commit dc51ebe

Please sign in to comment.