Skip to content

Commit 6a9c132

Browse files
committed
Update UsePSCredentialType.md
1 parent 8c9fd6c commit 6a9c132

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RuleDocumentation/UsePSCredentialType.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ Please change the parameter type to be PSCredential.
1414

1515
Wrong:
1616

17-
function Credential([string]$credential)
17+
function Credential([String]$Credential)
1818
{
1919
...
2020
}
2121

2222
Correct:
2323

24-
function Credential([PSCredential]$credential)
24+
function Credential([PSCredential]$Credential)
2525
{
2626
...
27-
}
27+
}

0 commit comments

Comments
 (0)