Skip to content

Ignore __construct and magic methods return checks in type-hint checker #4

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

Closed
moufmouf opened this issue Jul 4, 2017 · 1 comment
Closed

Comments

@moufmouf
Copy link
Member

moufmouf commented Jul 4, 2017

The __construct method and magic methods should have a special treatment regarding the type-hint checker.

For instance: __construct does not return anything. Does it make sense to declare a return void? Probably not.

Same thing for the __set magic method parameters, ...

@moufmouf
Copy link
Member Author

Closed since #5

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

No branches or pull requests

1 participant