From 206fb6e97c6408c59f99016d693059cb10f0290f Mon Sep 17 00:00:00 2001 From: David Maicher Date: Sun, 22 Oct 2023 11:27:25 +0200 Subject: [PATCH] fix doWarmUp $buildDir deprecation --- CacheWarmer/DoctrineMetadataCacheWarmer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CacheWarmer/DoctrineMetadataCacheWarmer.php b/CacheWarmer/DoctrineMetadataCacheWarmer.php index 6a5bbebd6..fff5c33b9 100644 --- a/CacheWarmer/DoctrineMetadataCacheWarmer.php +++ b/CacheWarmer/DoctrineMetadataCacheWarmer.php @@ -32,7 +32,7 @@ public function isOptional(): bool } /** @param string $cacheDir */ - protected function doWarmUp($cacheDir, ArrayAdapter $arrayAdapter): bool + protected function doWarmUp($cacheDir, ArrayAdapter $arrayAdapter, ?string $buildDir = null): bool { // cache already warmed up, no needs to do it again if (is_file($this->phpArrayFile)) {