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

Refactor Reader and Reader_Partial #112

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Conversation

haszi
Copy link
Contributor

@haszi haszi commented Mar 24, 2024

Inject dependencies through the constructor of Reader_Partial, add parameter and return type hints and add tests for both Readers.

haszi added 2 commits March 23, 2024 19:44
Add method parameter and return types.
Make readNode method private.
Change equality to identity comparison for string.
Remove unnecessary comments and empty lines.
Add test.
Inject all dependencies in the constructor.
Add parameter and return type hints.
Remove unused variables.
Add test.
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

Did a brief review but LGTM

@Girgias Girgias merged commit e817ea8 into php:master Apr 16, 2024
8 checks passed
@haszi haszi deleted the Refactor-Readers branch April 16, 2024 11:01
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