Skip to content

Commit

Permalink
fix: initializing typed property in sortedSetFetchHit (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
rishtigupta authored Oct 18, 2024
1 parent d704d4e commit d5719a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cache/CacheOperationTypes/CacheOperationTypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -3498,7 +3498,7 @@ public function asError(): ?SortedSetFetchError
*/
class SortedSetFetchHit extends SortedSetFetchResponse
{
private array $elements;
private array $elements = [];

public function __construct(_SortedSetFetchResponse $response)
{
Expand Down

0 comments on commit d5719a8

Please sign in to comment.