Bad PhpDocs
dac514 opened this issue · comments
Dac Chartrand commented
Stuff like this makes it very hard to navigate the code base when debugging...
My IDE thinks $data is a string because the project says so.
My IDE doesn't recognize the namespaces (first slash is missing, so it's relative), $data is declared a string, throws is not right.
I use PhpStorm.
Thank you for your consideration.
Woody Gilk commented
Valid points. The documentation is a hold over from pre-2.0 when $data
wasn't parsed at this point. I will update.