10000 [contributing] Tweaking a recent commit · GromNaN/symfony-docs@9362e1a · GitHub
[go: up one dir, main page]

Skip to content

Commit 9362e1a

Browse files
committed
[contributing] Tweaking a recent commit
1 parent 8993150 commit 9362e1a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contributing/code/standards.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ Structure
7777
* Add a single space before the opening parenthesis of a control keyword
7878
(`if`, `else`, `for`, `while`, ...);
7979

80-
* Add a blank line before `return` statements unless return is alone inside a statement-group;
80+
* Add a blank line before `return` statements, unless the return is alone
81+
inside a statement-group (like an `if` statement);
8182

8283
* Don't add trailing spaces at the end of lines;
8384

@@ -128,7 +129,7 @@ Documentation
128129

129130
* Add PHPDoc blocks for all classes, methods, and functions;
130131

131-
* Omit `@return` tag in case method does not return anything;
132+
* Omit the `@return` tag if the method does not return anything;
132133

133134
* The `@package` and `@subpackage` annotations are not used.
134135

0 commit comments

Comments
 (0)
0