Skip to content

Conversation

walmir-silva
Copy link
Contributor

…ability

  • Marked the $registry property as readonly to ensure immutability and prevent modification after construction.
  • Improved code readability and reliability by enforcing immutability for the ProcessorRegistry dependency.
  • This change provides minor performance improvements due to reduced internal checks and supports better optimization opportunities by PHP.

…ability

- Marked the $registry property as readonly to ensure immutability and prevent modification after construction.
- Improved code readability and reliability by enforcing immutability for the ProcessorRegistry dependency.
- This change provides minor performance improvements due to reduced internal checks and supports better optimization opportunities by PHP.
@walmir-silva walmir-silva merged commit 1b9e3e7 into main Oct 14, 2024
1 check failed
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.

1 participant