Skip to content

Conversation

@dbu
Copy link
Contributor

@dbu dbu commented Jan 4, 2019

some more strict types where we can. the : void is useful for tools that report when the return value of a void method is being used.

Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

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

Thank you.
I just searched for places I could replace Foo $var = null with ?Foo $var. That's why I did not find these.

@Nyholm
Copy link
Member

Nyholm commented Jan 4, 2019

@dbu
Copy link
Contributor Author

dbu commented Jan 4, 2019

the problem are us mocking the response in a way that violates response interface. the status code must be an int according to the interface.

Copy link
Contributor

@GrahamCampbell GrahamCampbell left a comment

Choose a reason for hiding this comment

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

Looks good (probably needs adding to the v2.0.0 milestone though)

@Nyholm Nyholm added this to the v2.0.0 milestone Jan 4, 2019
@Nyholm Nyholm merged commit bd9812f into master Jan 5, 2019
@Nyholm Nyholm deleted the php-71-types branch January 5, 2019 06:59
@Nyholm
Copy link
Member

Nyholm commented Jan 5, 2019

Thank you

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.

4 participants