Skip to content

Commit

Permalink
fix doWarmUp $buildDir deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaicher committed Oct 22, 2023
1 parent b1ff934 commit 206fb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CacheWarmer/DoctrineMetadataCacheWarmer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning on line 35 in CacheWarmer/DoctrineMetadataCacheWarmer.php

View check run for this annotation

Codecov / codecov/patch

CacheWarmer/DoctrineMetadataCacheWarmer.php#L35

Added line #L35 was not covered by tests
{
// cache already warmed up, no needs to do it again
if (is_file($this->phpArrayFile)) {
Expand Down

0 comments on commit 206fb6e

Please sign in to comment.