Fix for a couple of undefined classes in docblocks
minor #9991 Fix for a couple of undefined classes in docblocks (dave1010)

This PR was submitted for the 2.3-dev branch but it was merged into the 2.3 branch instead (closes #9991).

Discussion
----------

Fix for a couple of undefined classes in docblocks

These are the 2 that I've come across, but there may be some more.

Commits
-------

3918d6d Fix for a couple of undefined classes in docblocks