Pattern: Too many chained calls on same line
Issue: -
Limits the number of chained calls which can be placed on a single line.
Example of incorrect code:
a().b().c().d().e().f()
Example of correct code:
a().b().c()
.d().e().f()
Pattern: Too many chained calls on same line
Issue: -
Limits the number of chained calls which can be placed on a single line.
Example of incorrect code:
a().b().c().d().e().f()
Example of correct code:
a().b().c()
.d().e().f()