Skip to content

Commit 712de74

Browse files
null-pipe is not a valid value for null-type-hint
Allowed values are `NullPipe`, `long`, `null_pipe`, `pipe`, `|`, `?`, `Question`, `question` and `short`.
1 parent 043978f commit 712de74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tools/formatter/configuration-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ excludes = ["src/**/AutoGenerated/**/*.php"] # Additionally excluded from forma
7272
| `sort-class-methods` | `boolean` | `false` | Sort class methods by visibility and type (constructor first, then static methods, then instance methods by visibility, destructor last). |
7373
| `separate-use-types` | `boolean` | `true` | Insert a blank line between different types of `use` statements. |
7474
| `expand-use-groups` | `boolean` | `true` | Expand grouped `use` statements into individual statements. |
75-
| `null-type-hint` | `enum("null-pipe", "question")` | `"question"` | How to format null type hints (`null\|T` vs `?T`). |
75+
| `null-type-hint` | `enum("null_pipe", "question")` | `"question"` | How to format null type hints (`null\|T` vs `?T`). |
7676
| `parentheses-around-new-in-member-access` | `boolean` | `false` | Add parentheses around `new` in member access (`(new Foo)->bar()`). |
7777
| `parentheses-in-new-expression` | `boolean` | `true` | Add parentheses to `new` expressions without arguments (`new Foo()`). |
7878
| `parentheses-in-exit-and-die` | `boolean` | `true` | Add parentheses to `exit` and `die` constructs. |

0 commit comments

Comments
 (0)