Skip to content
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

[12.x] Improve type annotations for sequence() method and Sequence::$sequence property #55143

Closed

Conversation

shane-zeng
Copy link
Contributor

• Updated Sequence::$sequence annotation to @var array<int, callable|array> for clearer type definition.
• Refined sequence(...$sequence) method annotation to @param array|callable ...$sequence.

@shane-zeng shane-zeng deleted the improve-sequence-type-annotations branch March 24, 2025 04:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants