Phpinspectionsea: New value type (float) is not in annotated types.

Created on 10 Apr 2018  路  3Comments  路  Source: kalessil/phpinspectionsea

I have in some old code this defined:

 * @param  int    $time

and then I'm getting the float type notice for this line:

$time = time() + 3600 * 24 * 365;

while this is still an integer

bug / false-positive fixed

All 3 comments

Will check, thank you for reporting Michael!

Fixed

Thank you so much!!! :)

Was this page helpful?
0 / 5 - 0 ratings