Skip to content

Commit d0e2a33

Browse files
authored
mark DoctrineMetadataCacheWarmer final + add $buildDir arg (#1713)
1 parent 4efd966 commit d0e2a33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CacheWarmer/DoctrineMetadataCacheWarmer.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
use function is_file;
1212

13+
/** @final since 2.11 */
1314
class DoctrineMetadataCacheWarmer extends AbstractPhpFileCacheWarmer
1415
{
1516
private EntityManagerInterface $entityManager;
@@ -31,8 +32,7 @@ public function isOptional(): bool
3132
return false;
3233
}
3334

34-
/** @param string $cacheDir */
35-
protected function doWarmUp($cacheDir, ArrayAdapter $arrayAdapter): bool
35+
protected function doWarmUp(string $cacheDir, ArrayAdapter $arrayAdapter, ?string $buildDir = null): bool
3636
{
3737
// cache already warmed up, no needs to do it again
3838
if (is_file($this->phpArrayFile)) {

0 commit comments

Comments
 (0)