should be \OC_Image ???

There are return statements in the code which do not match the PHPDoc comment