Fix coding standard in SlidesTable::sanitizeSettings
CI / Deploy / PHP 8.4 (push) Failing after 7s
CI / Deploy / PHP 8.5 (push) Successful in 1m12s
CI / Deploy / test (push) Failing after 0s
CI / Deploy / deploy (push) Skipped

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Sonnet 5.5 committed 2026-11-17 09:18:47 +01:00
1 parent 0aac113f30
commit 4dcddd15e7
1 file changed
+1 -1
+1 -1
View File
@@ -184,7 +184,7 @@ class SlidesTable extends Table
$settings['ranking'] = filter_var($input['ranking'] ?? false, FILTER_VALIDATE_BOOLEAN); $settings['ranking'] = filter_var($input['ranking'] ?? false, FILTER_VALIDATE_BOOLEAN);
break; break;
case Slide::TYPE_QUIZ: case Slide::TYPE_QUIZ:
$limit =(int)($input['time_limit'] ?? $settings['time_limit']); $limit = (int)($input['time_limit'] ?? $settings['time_limit']);
if (in_array($limit, Slide::QUIZ_TIME_LIMITS, true)) { if (in_array($limit, Slide::QUIZ_TIME_LIMITS, true)) {
$settings['time_limit'] = $limit; $settings['time_limit'] = $limit;
} }