Bug Invalid return type of UserUpgrade entity

There is a bug in this version
T

truonglv

Guest
PHP:

Code:
protected function setupApiResultData(EntityResult $result, $verbosity = self::VERBOSITY_NORMAL, array $options = []): void
{
   $result->cost_phrase = $this->cost_phrase;
}

Should not have :void in the end of function.

Continue reading...