[TASK] Use FQ class name when referring to resource DTO

PhpStorm seems to be confused with the imported Resource
namespace..
[BUGFIX] Fix typo in sprintf

Replace invalid "$s" by "%s"