Update DocumentFactoryResolver.php

Removed obsolete use statement.