0 is not a string, maybe phpdoc should be updated accordingly