Skip to content

Commit 96fe0ff

Browse files
authored
Merge pull request #1710 from dmaicher/fix_deprecations
fix doWarmUp $buildDir deprecation
2 parents b1ff934 + af600e2 commit 96fe0ff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CacheWarmer/DoctrineMetadataCacheWarmer.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ public function isOptional(): bool
3131
return false;
3232
}
3333

34-
/** @param string $cacheDir */
35-
protected function doWarmUp($cacheDir, ArrayAdapter $arrayAdapter): bool
34+
protected function doWarmUp(string $cacheDir, ArrayAdapter $arrayAdapter, ?string $buildDir = null): bool
3635
{
3736
// cache already warmed up, no needs to do it again
3837
if (is_file($this->phpArrayFile)) {

0 commit comments

Comments
 (0)