We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c32168 commit 9d66016Copy full SHA for 9d66016
docs/Rules/AvoidMultipleTypeAttributes.md
@@ -12,7 +12,7 @@ title: AvoidMultipleTypeAttributes
12
## Description
13
14
Parameters should not have more than one type specifier. Multiple type specifiers on parameters
15
-cause runtime errors.
+can cause runtime errors.
16
17
## How
18
@@ -28,14 +28,10 @@ function Test-Script
28
[CmdletBinding()]
29
Param
30
(
31
- [String]
32
- $Param1,
33
-
34
[switch]
35
- [bool]
+ [int]
36
$Switch
37
)
38
- ...
39
}
40
```
41
@@ -47,12 +43,8 @@ function Test-Script
47
43
48
44
49
45
50
51
52
53
46
54
55
56
57
58
0 commit comments