3 declare(strict_types=1);
79 if (is_null($this->type)) {
81 $data = $this->
raw(self::FIELD_TYPE);
85 $this->type = (string) $data;
99 if (is_null($this->oldRating)) {
101 $data = $this->
raw(self::FIELD_OLD_RATING);
102 if (is_null($data)) {
105 $this->oldRating = (float) $data;
119 if (is_null($this->newRating)) {
121 $data = $this->
raw(self::FIELD_NEW_RATING);
122 if (is_null($data)) {
125 $this->newRating = (float) $data;
139 if (is_null($this->includedInStatistics)) {
141 $data = $this->
raw(self::FIELD_INCLUDED_IN_STATISTICS);
142 if (is_null($data)) {
145 $this->includedInStatistics = (bool) $data;
159 if (is_null($this->target)) {
161 $data = $this->
raw(self::FIELD_TARGET);
162 if (is_null($data)) {
166 $this->target = $className::of($data);