Allow for bool type as config type

This commit is contained in:
Tim
2022-01-30 01:11:39 +01:00
parent da8a1e37ca
commit cd3c5a0a52
3 changed files with 6 additions and 3 deletions

View File

@ -60,10 +60,8 @@ abstract class BaseController extends AbstractController
switch ($type) {
case CheckboxType::class:
return boolval($value);
break;
default:
return $value;
break;
}
}