Code correction

This commit is contained in:
Vlad 2020-09-18 13:07:21 +03:00
parent 55e29f68a6
commit b022bfce95
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ custom_rules:
parameter_closure: parameter_closure:
name: "Parameter closure" name: "Parameter closure"
regex: '\w*<\S*, Void\S*>' regex: '\w*Closure<[^\r\n\t\f\v]*, Void[^\r\n\t\f\v]*>'
message: "Use `ParameterClosure` instead of declaring an explicit return value of `Void`." message: "Use `ParameterClosure` instead of declaring an explicit return value of `Void`."
severity: error severity: error