Skip to content

Commit b5fee7c

Browse files
committed
[JsonStreamer] Make cache warmers non-optional
1 parent 4798ba5 commit b5fee7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/JsonStreamer/CacheWarmer/LazyGhostCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function warmUp(string $cacheDir, ?string $buildDir = null): array
5555

5656
public function isOptional(): bool
5757
{
58-
return true;
58+
return false;
5959
}
6060

6161
/**

src/Symfony/Component/JsonStreamer/CacheWarmer/StreamerCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function warmUp(string $cacheDir, ?string $buildDir = null): array
7070

7171
public function isOptional(): bool
7272
{
73-
return true;
73+
return false;
7474
}
7575

7676
private function warmUpStreamWriter(Type $type): void

0 commit comments

Comments
 (0)