Fix for erroneous detection of return type in PhpStorm.