Skip to content

fix: allow method chaining for all functions #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

stijnbernards
Copy link
Contributor

Currently only a few functions return self, updated all functions in Configuration.php to return self instead of void

Copy link
Collaborator

@tdgroot tdgroot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a breaking change, but for easier configuration I think this makes sense

@stijnbernards
Copy link
Contributor Author

Yeah correct 😄 I don't see any classes overwriting these methods in this repository though. I wonder if this is going to be a large breaking change for customers. If you think so updating this with a new major release somewhere in the future would be nice at least 😃

@tdgroot tdgroot merged commit 0caa36f into ByteInternet:master Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants