Commit 656adea9 authored by Fabiano Sant'Ana's avatar Fabiano Sant'Ana
Browse files

Issue #3086495 by wundo: Add type to getAvailableChallengeTypes() method parameter

parent e574e9bb
......@@ -20,7 +20,7 @@ class CaptchaService {
* "$type (from module $module)" with $module the module name
* implementing the CAPTCHA and $type the name of the CAPTCHA type.
*/
public function getAvailableChallengeTypes($add_special_options = TRUE) {
public function getAvailableChallengeTypes(bool $add_special_options = TRUE) {
$challenges = [];
if ($add_special_options) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment