This commit is contained in:
2021-08-13 21:08:59 +02:00
parent 837d86ae21
commit 77799b26cc
8 changed files with 53 additions and 60 deletions
+2 -5
View File
@@ -32,10 +32,7 @@ class ExamTyperatingQuestion extends Model
];
public $hasMany = [
'exam_answers' => [
'GermanAirlinesVa\Schooling\Models\ExamTyperatingAnswer',
'key' => 'exam_question_id',
],
'exam_answers' => ['GermanAirlinesVa\Schooling\Models\ExamTyperatingAnswer', 'key' => 'exam_question_id'],
];
public $belongsTo = [
@@ -51,7 +48,7 @@ class ExamTyperatingQuestion extends Model
],
];
/**
/**
* The "booting" method of the model.
*
* @return void