Skip to content

Commit

Permalink
Update CacheKey.php (#456)
Browse files Browse the repository at this point in the history
BUG FIX
  • Loading branch information
peter-brennan committed Dec 23, 2023
1 parent 93a013c commit 4e70c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CacheKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ protected function recursiveImplode(array $items, string $glue = ",") : string
return $result;
}

private function processEnum(\BackedEnum|\UnitEnum|Expression|string $value): string
private function processEnum(\BackedEnum|\UnitEnum|Expression|string|null $value): string|null
{
if ($value instanceof \BackedEnum) {
return $value->value;
Expand Down

0 comments on commit 4e70c97

Please sign in to comment.