Skip to content

Conversation

seebeen
Copy link
Contributor

@seebeen seebeen commented Feb 28, 2025

Removed final keyword from class definitions of Inject and Injectable attributes.

Final keyword prevents extending these classes which goes against the open-closed principle.

Fixes #902

Final keyword prevents extending inject and injectable attributes
@mnapoli mnapoli merged commit 8aa09e0 into PHP-DI:master Feb 28, 2025
@seebeen seebeen deleted the fix/strip-final branch February 28, 2025 17:41
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.

Remove final from Inject attribute definition
2 participants