Skip to content

Align native union type order with docblocks#67

Merged
dereuromark merged 1 commit into
masterfrom
fix-docblock-native-union-order
May 27, 2026
Merged

Align native union type order with docblocks#67
dereuromark merged 1 commit into
masterfrom
fix-docblock-native-union-order

Conversation

@dereuromark
Copy link
Copy Markdown
Contributor

Summary

  • Sort native function parameter and return union types with the existing PhpCollective.Commenting.TypeHint order.
  • Keep docblock and native examples aligned for cases like string|int vs int|string.
  • Document the shared union type order behavior.

Checks run

  • composer cs-fix
  • composer cs-check
  • composer test
  • composer stan

@dereuromark dereuromark added the enhancement New feature or request label May 27, 2026
@dereuromark dereuromark merged commit f4a80d6 into master May 27, 2026
4 checks passed
@dereuromark dereuromark deleted the fix-docblock-native-union-order branch May 27, 2026 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant