fix: support both snake_case and camelCase versions of impression data #801
Annotations
3 errors
Run static analysis:
src/Repository/DefaultUnleashProxyRepository.php#L44
Parameter #1 $response of class Unleash\Client\DTO\DefaultProxyFeature constructor expects array{name: string, enabled: bool, variant: array{name: string, enabled: bool, payload?: array{type: string, value: string}}, impression_data: bool, impressionData: bool}, array{name: string, enabled: bool, variant: array{name: string, enabled: bool, payload?: array{type: string, value: string}}, impressionData: bool} given.
|
Run static analysis:
src/Repository/DefaultUnleashProxyRepository.php#L79
Parameter #1 $response of class Unleash\Client\DTO\DefaultProxyFeature constructor expects array{name: string, enabled: bool, variant: array{name: string, enabled: bool, payload?: array{type: string, value: string}}, impression_data: bool, impressionData: bool}, array{name: string, enabled: bool, variant: array{name: string, enabled: bool, payload?: array{type: string, value: string}}, impressionData: bool} given.
|
Run static analysis
Process completed with exit code 1.
|
Loading