Skip to content

Conversation

Amirhf1
Copy link

@Amirhf1 Amirhf1 commented Apr 8, 2025

This PR adds support for new initializers in function parameters introduced in PHP 8.1.

Changes:

  • Modified getParameters method to handle object initializers
  • Added support for new object instances in parameter defaults

Fixes #1687

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.

Support new initializers in function parameters
1 participant