Skip to content

Commit 568ab41

Browse files
llupafabpot
authored andcommitted
Change ProxyCacheWarmer::warmUp signature
1 parent bd181da commit 568ab41

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CHANGELOG
44
6.4
55
---
66

7+
* [BC BREAK] Add argument `$buildDir` to `ProxyCacheWarmer::warmUp()`
78
* [BC BREAK] Add return type-hints to `EntityFactory`
89
* Deprecate `DbalLogger`, use a middleware instead
910
* Deprecate not constructing `DoctrineDataCollector` with an instance of `DebugDataHolder`

CacheWarmer/ProxyCacheWarmer.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,7 @@ public function isOptional(): bool
3737
return false;
3838
}
3939

40-
/**
41-
* @param string|null $buildDir
42-
*/
43-
public function warmUp(string $cacheDir /* , string $buildDir = null */): array
40+
public function warmUp(string $cacheDir, string $buildDir = null): array
4441
{
4542
$files = [];
4643
foreach ($this->registry->getManagers() as $em) {

0 commit comments

Comments
 (0)