mi-schi / phpmd-extension

Contains extra phpmd rules from clean code book and the best practices of my experiences.
MIT License
39 stars 7 forks source link

Fixes issue when passing values directly to setter #6

Closed zakivanovic closed 7 years ago

zakivanovic commented 7 years ago

There's an issue in the case values are passed directly to the setter params : $dateTime->setDate(1955, 04, 18); The method $method->getFirstChildOfType('Variable') returns null.

mi-schi commented 7 years ago

Thank you :)