public function correctAnswer() { foreach ($this->replies as $reply) { if ($reply->isCorrect()) { return $reply; } } }