name) && is_string($this->comment) && is_string($this->password) && is_string($this->passwordForSpectator) && is_int($this->nextCallVoteTimeOut) && VoteRatio::isRatio($this->callVoteRatio); } /** * @internal * @return mixed[] */ public function toSetterArray() { $out = []; foreach (get_object_vars($this) as $key => $value) { if (str_starts_with($key, 'current') || $value === null) { continue; } if ($key === 'nextUseChangingValidationSeed') { $key = 'useChangingValidationSeed'; } $out[ucfirst($key)] = $value; } return $out; } }