diff --git a/CacheWarmer/DoctrineMetadataCacheWarmer.php b/CacheWarmer/DoctrineMetadataCacheWarmer.php index 6a5bbebd6..65f55ed3d 100644 --- a/CacheWarmer/DoctrineMetadataCacheWarmer.php +++ b/CacheWarmer/DoctrineMetadataCacheWarmer.php @@ -31,8 +31,7 @@ public function isOptional(): bool return false; } - /** @param string $cacheDir */ - protected function doWarmUp($cacheDir, ArrayAdapter $arrayAdapter): bool + protected function doWarmUp(string $cacheDir, ArrayAdapter $arrayAdapter, ?string $buildDir = null): bool { // cache already warmed up, no needs to do it again if (is_file($this->phpArrayFile)) {