Skip to content

Commit cb23434

Browse files
committed
Declare argument of ProxyCacheWarmer::warmUp nullable
1 parent cd88657 commit cb23434

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CacheWarmer/ProxyCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function isOptional(): bool
2020
return false;
2121
}
2222

23-
public function warmUp(string $cacheDir, string $buildDir = null): array
23+
public function warmUp(string $cacheDir, ?string $buildDir = null): array
2424
{
2525
$proxyDir = $this->proxyFactory->getProxyDir();
2626
if (!is_dir($proxyDir)) {

0 commit comments

Comments
 (0)