Fix phpdocs

Mostly fully qualified namespaces, incorrect classes or wrong/missing
return values.