Skip to content

Commit 59243f2

Browse files
committed
Update AvoidReservedParams.md
1 parent 7bf184c commit 59243f2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

RuleDocumentation/AvoidReservedParams.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,18 @@ To fix a violation of this rule, please change the name of your parameter.
1414

1515
Wrong:
1616

17-
function test
17+
function Test
1818
{
19+
1920
[CmdletBinding]
2021
Param($ErrorVariable, $b)
2122
}
2223

2324
Correct:
2425

25-
function test
26+
function Test
2627
{
28+
2729
[CmdletBinding]
2830
Param($err, $b)
2931
}

0 commit comments

Comments
 (0)