File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ interpreted as described in [RFC 2119][RFC2119].
118
118
}
119
119
```
120
120
121
+ <<<<<<< HEAD
121
122
It is NOT RECOMMENDED to use compound definitions for Constants or Properties, since the
122
123
handling of DocBlocks in these situations can lead to unexpected results. If compound statement is
123
124
used each element SHOULD have a preceding DocBlock.
@@ -143,18 +144,6 @@ interpreted as described in [RFC 2119][RFC2119].
143
144
the variable in a foreach explicitly; several IDEs use this information to
144
145
assist their auto-completion functionality.
145
146
146
- This Standard does not cover this specific instance, as a ` foreach ` statement
147
- is considered to be a "Control Flow" statement rather than a "Structural Element".
148
-
149
- ``` php
150
- /** @var \Sqlite3 $sqlite */
151
- foreach ($connections as $sqlite) {
152
- // there should be no docblock here
153
- $sqlite->open('/my/database/path');
154
- <...>
155
- }
156
- ```
157
-
158
147
* "DocComment" is a special type of comment which MUST
159
148
160
149
- start with the character sequence ` /** ` followed by a whitespace character
You can’t perform that action at this time.
0 commit comments