Skip to content

Commit 494994d

Browse files
authored
Declare argument of ProxyCacheWarmer::warmUp nullable (#46)
1 parent 1679fa6 commit 494994d

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)