Skip to content
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

Use $this for fluent interface #306

Merged
merged 4 commits into from
Jan 16, 2023
Merged

Use $this for fluent interface #306

merged 4 commits into from
Jan 16, 2023

Conversation

sreichel
Copy link

@sreichel sreichel commented Jan 10, 2023

This PR may not be complete. I have replaced only the docs where there was a comment with "fluent" or "fluent interface" etc.

I suspect phpstan will find some other occurrences, but I don't have time for that right now.

# Conflicts:
#	library/Zend/Gdata/App/BaseMediaSource.php
#	library/Zend/Gdata/App/Feed.php
#	library/Zend/Gdata/App/MediaSource.php
#	library/Zend/Gdata/Media/Extension/MediaContent.php
#	library/Zend/Validate/File/Size.php
@sreichel
Copy link
Author

sreichel commented Jan 10, 2023

Seems UnitTest fails for 8.1.4/8.2.1 b/c #305.

@sreichel sreichel marked this pull request as draft January 11, 2023 05:05
@Shardj Shardj marked this pull request as ready for review January 11, 2023 09:04
@Shardj Shardj marked this pull request as draft January 11, 2023 09:05
@sreichel
Copy link
Author

@Shardj i set it to draft b/c a want to revert some changes. Static methods should have return type static.

@sreichel sreichel marked this pull request as ready for review January 11, 2023 19:25
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.

2 participants