Fix coding standard in SlidesTable::sanitizeSettings
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0aac113f30
commit
4dcddd15e7
1 file changed
+1
-1
@@ -184,7 +184,7 @@ class SlidesTable extends Table
|
||||
$settings['ranking'] = filter_var($input['ranking'] ?? false, FILTER_VALIDATE_BOOLEAN);
|
||||
break;
|
||||
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)) {
|
||||
$settings['time_limit'] = $limit;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user