Invalid return type of UserUpgrade entity

Status
This content is read-only, or is not open for further replies.

truonglv

Guest
offline
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom