doc cleanups

this is mainly removing the namespace if the target class is in the same namespace and adding namespace where it was missing. the test suite still works and phpstorm also sees no error so i think it should be fine.