feat: Add support for big segments #61
Annotations
4 errors
Run /./.github/actions/ci:
src/LaunchDarkly/Impl/Evaluation/Evaluator.php#L318
src/LaunchDarkly/Impl/Evaluation/Evaluator.php:318:107: InvalidReturnType: The declared return type 'bool' for LaunchDarkly\Impl\Evaluation\Evaluator::bigSegmentContextMatch is incorrect, got 'array<string, bool>|bool' (see https://psalm.dev/011)
|
Run /./.github/actions/ci:
src/LaunchDarkly/Impl/Evaluation/Evaluator.php#L351
src/LaunchDarkly/Impl/Evaluation/Evaluator.php:351:17: InvalidPropertyAssignmentValue: $state->bigSegmentMembership with declared type 'array<string, array<string, bool>>|null' cannot be assigned type 'non-empty-array<string, array<array-key, array<string, bool>|bool>|null>' (see https://psalm.dev/145)
|
Run /./.github/actions/ci:
src/LaunchDarkly/Impl/Evaluation/Evaluator.php#L364
src/LaunchDarkly/Impl/Evaluation/Evaluator.php:364:20: InvalidReturnStatement: The inferred type 'array<string, bool>|bool' does not match the declared return type 'bool' for LaunchDarkly\Impl\Evaluation\Evaluator::bigSegmentContextMatch (see https://psalm.dev/128)
|
Run /./.github/actions/ci
Process completed with exit code 2.
|
Loading