diff --git a/UPGRADE-6.4.md b/UPGRADE-6.4.md index 36b4ea046fc4..65e26337ac4e 100644 --- a/UPGRADE-6.4.md +++ b/UPGRADE-6.4.md @@ -96,6 +96,7 @@ DependencyInjection DoctrineBridge -------------- + * [BC Break] Add argument `$buildDir` to `ProxyCacheWarmer::warmUp()` * [BC Break] Add return type-hints to `EntityFactory` * Deprecate `DbalLogger`, use a middleware instead * Deprecate not constructing `DoctrineDataCollector` with an instance of `DebugDataHolder` diff --git a/src/Symfony/Bridge/Doctrine/CHANGELOG.md b/src/Symfony/Bridge/Doctrine/CHANGELOG.md index 1e56772bea67..867f9d42295c 100644 --- a/src/Symfony/Bridge/Doctrine/CHANGELOG.md +++ b/src/Symfony/Bridge/Doctrine/CHANGELOG.md @@ -4,6 +4,7 @@ CHANGELOG 6.4 --- + * [BC BREAK] Add argument `$buildDir` to `ProxyCacheWarmer::warmUp()` * [BC BREAK] Add return type-hints to `EntityFactory` * Deprecate `DbalLogger`, use a middleware instead * Deprecate not constructing `DoctrineDataCollector` with an instance of `DebugDataHolder` diff --git a/src/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.php b/src/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.php index f0731c26b794..e59f785b82d4 100644 --- a/src/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.php +++ b/src/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.php @@ -37,10 +37,7 @@ public function isOptional(): bool return false; } - /** - * @param string|null $buildDir - */ - public function warmUp(string $cacheDir /* , string $buildDir = null */): array + public function warmUp(string $cacheDir, string $buildDir = null): array { $files = []; foreach ($this->registry->getManagers() as $em) { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy