/** * @return \yii\db\ActiveQuery */ public function getComment() { return $this->hasOne(Comment::className(), ['id' => 'commentId']); }