phpdoc fix

Helps autocompleting when testing ;)
done, all the other ones were bug fixes so I hope it's good now ;)