@@ -420,10 +420,12 @@ Possible matches are</value>
420
420
<value >Missing statement block in switch statement clause.</value >
421
421
</data >
422
422
<data name =" MissingForeachExpression" xml : space =" preserve" >
423
- <value >Missing expression in foreach loop.</value >
423
+ <value >Missing expression in foreach loop.
424
+ The correct form is: foreach ($a in $b) {...}</value >
424
425
</data >
425
426
<data name =" MissingForeachStatement" xml : space =" preserve" >
426
- <value >Missing statement body in foreach loop.</value >
427
+ <value >Missing statement body in foreach loop.
428
+ The correct form is: foreach ($a in $b) {...}</value >
427
429
</data >
428
430
<data name =" OnlyOneParameterListAllowed" xml : space =" preserve" >
429
431
<value >The param statement cannot be used if arguments were specified in the function declaration.</value >
@@ -516,13 +518,16 @@ Possible matches are</value>
516
518
<value >Missing '{' in switch statement.</value >
517
519
</data >
518
520
<data name =" MissingVariableNameAfterForeach" xml : space =" preserve" >
519
- <value >Missing variable name after foreach.</value >
521
+ <value >Missing variable name after foreach.
522
+ The correct form is: foreach ($a in $b) {...}</value >
520
523
</data >
521
524
<data name =" MissingInInForeach" xml : space =" preserve" >
522
- <value >Missing 'in' after variable in foreach loop.</value >
525
+ <value >Missing 'in' after variable in foreach loop.
526
+ The correct form is: foreach ($a in $b) {...}</value >
523
527
</data >
524
528
<data name =" MissingEndParenthesisAfterForeach" xml : space =" preserve" >
525
- <value >Missing closing ')' after expression part of foreach loop.</value >
529
+ <value >Missing closing ')' after expression part of foreach loop.
530
+ The correct form is: foreach ($a in $b) {...}</value >
526
531
</data >
527
532
<data name =" MissingOpenParenthesisAfterKeyword" xml : space =" preserve" >
528
533
<value >Missing opening '(' after keyword '{0}'.</value >
0 commit comments