Solved Invalid return type of UserUpgrade entity

This topic has been solved
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...