Skip to content

Commit 4e70c97

Browse files
Update CacheKey.php (#456)
BUG FIX
1 parent 93a013c commit 4e70c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CacheKey.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ protected function recursiveImplode(array $items, string $glue = ",") : string
411411
return $result;
412412
}
413413

414-
private function processEnum(\BackedEnum|\UnitEnum|Expression|string $value): string
414+
private function processEnum(\BackedEnum|\UnitEnum|Expression|string|null $value): string|null
415415
{
416416
if ($value instanceof \BackedEnum) {
417417
return $value->value;

0 commit comments

Comments
 (0)