rspec/rules/S107/swift/rule.adoc

27 lines
511 B
Plaintext
Raw Normal View History

2020-06-30 10:16:44 +02:00
include::../description.adoc[]
== Noncompliant Code Example
With a maximum number of 4 parameters:
2020-06-30 10:16:44 +02:00
----
func doSomething(param1: String, param2: String, param3: String, param4: String, param5: String) {
// ...
}
----
== Compliant Solution
----
func doSomething(param1: String, param2: String, param3: String, param4: String) {
// ...
}
----
ifdef::env-github,rspecator-view[]
== Comments And Links
(visible only on this page)
include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]