Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit156ad38

Browse files
committed
minor#10550 [standards] Document "phpdoc_types_order" (phansys)
This PR was merged into the 2.8 branch.Discussion----------[standards] Document "phpdoc_types_order"Seesymfony/symfony#28780.Commits-------7587534 [standards] Document "phpdoc_types_order"
2 parentsd0aa1c2 +7587534 commit156ad38

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎contributing/code/standards.rst‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,10 @@ Structure
194194

195195
* Do not use spaces around ``[`` offset accessor and before ``]`` offset accessor;
196196

197-
* Add a ``use`` statement for every class that is not part of the global namespace.
197+
* Add a ``use`` statement for every class that is not part of the global namespace;
198+
199+
* When PHPDoc blocks like `@param` or `@return` include ``null`` and declare multiple
200+
types, place ``null`` always on the last position.
198201

199202
Naming Conventions
200203
~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp