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: Introduce type hinting in Connection class #625

Merged

Conversation

DannyvdSluijs
Copy link
Contributor

@DannyvdSluijs DannyvdSluijs commented Oct 29, 2023

In an effort / discovery to see if this library could be improved with the PHP Type Hints. This is adding them to the Connection class where the type was very clear. There are still a lot of mixed and missing types but I don't want to introduce any breakage beyond what the docblocks already pointed out.

I'm curious about your opinions and remarks to see if we should move this forward and if so in which way (small increments or one big bang commit).

Copy link
Collaborator

@remkobrenters remkobrenters left a comment

Choose a reason for hiding this comment

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

I personally think this is a very welcome addition and the start of a move to implement more and more strict coding.

@stephangroen stephangroen merged commit a6b33cd into picqer:main Nov 1, 2023
@stephangroen
Copy link
Member

Thanks @DannyvdSluijs. I think this is very welcome. It doesn't have to be one big bang commit, unless someone want to put in the effort all at once.

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.

3 participants