Skip to content

Commit 8ee6449

Browse files
committed
Customisable Sniff Properties: fix incorrect property type
... for the `PSR12.ControlStructures.BooleanOperatorPlacement` sniff.
1 parent 05167fd commit 8ee6449

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wiki/Customisable-Sniff-Properties.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,9 +1159,9 @@ This sniff checks the indent of a list of implemented or extended class names th
11591159

11601160
### PSR12.ControlStructures.BooleanOperatorPlacement
11611161

1162-
Property Name | Type | Default | Available Since
1163-
------------ | ---- | ------- | ---------------
1164-
allowOnly | bool | null | 3.5.4
1162+
Property Name | Type | Default | Available Since
1163+
------------ | ----------- | ------- | ---------------
1164+
allowOnly | string|null | null | 3.5.4
11651165

11661166
This sniff ensures that boolean operators inside control structure conditions either all appear at the beginning of a line, or the end of a line, but not a mix of both. If you prefer to explicitly define where boolean operators should appear, you can set the `allowOnly` property to either `first` or `last` to ensure that boolean operators are always the first or last content of a line.
11671167

0 commit comments

Comments
 (0)