/** * Fill the review form. * * @param FixtureInterface $review * @param SimpleElement|null $element * @return $this */ public function fill(FixtureInterface $review, SimpleElement $element = null) { if ($review->hasData('ratings')) { $this->fillRatings($review->getRatings()); } parent::fill($review, $element); }