Skip to content

[BUGFIX] Correct type annotation for ValueList components #826

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

JakeQZ
Copy link
Collaborator

@JakeQZ JakeQZ commented Jan 27, 2025

The Color class uses this property (aComponents) as an associative array. Therefore all related type annotations need array-key rather than int for the array key type.

The `Color` class uses this property (`aComponents`) as an associative array.
Therefore all related type annotations need `array-key` rather than `int`
for the array key type.
@JakeQZ
Copy link
Collaborator Author

JakeQZ commented Jan 27, 2025

It's a bug in the DocBlock, rather than the actual code, so I don't think warrants a changelog entry.

@coveralls
Copy link

Coverage Status

coverage: 50.946%. remained the same
when pulling c044db0 on bugfix/valuelist/components-type
into 59bcb6c on main.

@oliverklee oliverklee merged commit c26f4a3 into main Jan 27, 2025
21 checks passed
@oliverklee oliverklee deleted the bugfix/valuelist/components-type branch January 27, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants