changing foreign key in user_response from id to uuid, completed add greedy loading, some refactoring

This commit is contained in:
iIronside
2021-11-09 17:41:44 +03:00
parent de90b3178e
commit 560de1c05e
29 changed files with 3539 additions and 202 deletions

View File

@ -22,7 +22,7 @@ class AnswerHelper
/**
* @throws Exception
*/
public static function answerStatusLabel($status): string
public static function answerFlagLabel($status): string
{
switch ($status) {
case self::FLAG_FALSE:
@ -40,7 +40,7 @@ class AnswerHelper
]);
}
public static function answerFlagLable($answer_flag)
public static function answerStatusLabel($answer_flag): string
{
$class = 'label label-warning';
$content = 'Не проверен';