diff --git a/CacheWarmer/HydratorCacheWarmer.php b/CacheWarmer/HydratorCacheWarmer.php index cd391959..7351f308 100644 --- a/CacheWarmer/HydratorCacheWarmer.php +++ b/CacheWarmer/HydratorCacheWarmer.php @@ -46,7 +46,7 @@ public function isOptional() } /** @return string[] */ - public function warmUp(string $cacheDir, ?string $buildDir = null) + public function warmUp(string $cacheDir) { // we need the directory no matter the hydrator cache generation strategy. $hydratorCacheDir = (string) $this->container->getParameter('doctrine_mongodb.odm.hydrator_dir'); diff --git a/CacheWarmer/PersistentCollectionCacheWarmer.php b/CacheWarmer/PersistentCollectionCacheWarmer.php index fa3f2327..135e9017 100644 --- a/CacheWarmer/PersistentCollectionCacheWarmer.php +++ b/CacheWarmer/PersistentCollectionCacheWarmer.php @@ -47,7 +47,7 @@ public function isOptional() } /** @return string[] */ - public function warmUp(string $cacheDir, ?string $buildDir = null) + public function warmUp(string $cacheDir) { // we need the directory no matter the hydrator cache generation strategy. $collCacheDir = (string) $this->container->getParameter('doctrine_mongodb.odm.persistent_collection_dir'); diff --git a/CacheWarmer/ProxyCacheWarmer.php b/CacheWarmer/ProxyCacheWarmer.php index 3ca8f574..1380e8eb 100644 --- a/CacheWarmer/ProxyCacheWarmer.php +++ b/CacheWarmer/ProxyCacheWarmer.php @@ -48,7 +48,7 @@ public function isOptional() } /** @return string[] */ - public function warmUp(string $cacheDir, ?string $buildDir = null) + public function warmUp(string $cacheDir) { // we need the directory no matter the proxy cache generation strategy. $proxyCacheDir = (string) $this->container->getParameter('doctrine_mongodb.odm.proxy_dir'); diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 4e4480da..62f22f33 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -23,7 +23,7 @@ - +