Skip to content

Commit

Permalink
Revert "fix doWarmUp $buildDir deprecation"
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaicher authored Oct 23, 2023
1 parent 96fe0ff commit 3f193e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CacheWarmer/DoctrineMetadataCacheWarmer.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public function isOptional(): bool
return false;
}

protected function doWarmUp(string $cacheDir, ArrayAdapter $arrayAdapter, ?string $buildDir = null): bool
/** @param string $cacheDir */
protected function doWarmUp($cacheDir, ArrayAdapter $arrayAdapter): 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 3f193e5

Please sign in to comment.