Skip to content

statics replaced by selfs and Optional#34

Draft
petrknap wants to merge 9 commits intomainfrom
refactoring
Draft

statics replaced by selfs and Optional#34
petrknap wants to merge 9 commits intomainfrom
refactoring

Conversation

@petrknap
Copy link
Owner

@petrknap petrknap commented Jan 7, 2026

  • This pull request does not contain any breaking change.

Is change on PHP interface from function x(): static to function x(): self breaking change?

Yes — changing a PHP interface method return type from static to self is a breaking change in almost all real-world cases.

@petrknap petrknap self-assigned this Jan 7, 2026
@petrknap petrknap added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 7, 2026
@petrknap petrknap force-pushed the refactoring branch 2 times, most recently from f481d2a to b59eefc Compare January 10, 2026 08:05
@petrknap petrknap changed the title statics replaced by selfs and Optionals statics replaced by selfs and Optional Jan 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant