Skip to content

Commit da27090

Browse files
committed
Minor tweak
1 parent 6f6b5b5 commit da27090

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

contributing/code/standards.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,9 @@ Structure
180180
to increase readability;
181181

182182
* Declare all the arguments on the same line as the method/function name, no
183-
matter how many arguments there are (with exception of `constructor property promotion`_);
184-
185-
* When using `constructor property promotion`_ put each parameter on a new line with
186-
`trailing comma`_;
183+
matter how many arguments there are. The only exception are constructor methods
184+
using `constructor property promotion`_, where each parameter must be on a new
185+
line with `trailing comma`_;
187186

188187
* Use parentheses when instantiating classes regardless of the number of
189188
arguments the constructor has;

0 commit comments

Comments
 (0)