Skip to content

Commit a1ec24b

Browse files
authored
Change default for nullable_type_declaration_for_default_null_value (#236)
Because support for implicit support for implicit nullability exists only for backwards compatibility reasons and will be removed in the future. See #235.
1 parent cb4070b commit a1ec24b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

resources/presets/laravel.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,7 @@
132132
'normalize_index_brace' => true,
133133
'not_operator_with_successor_space' => true,
134134
'nullable_type_declaration' => true,
135-
'nullable_type_declaration_for_default_null_value' => [
136-
'use_nullable_type_declaration' => false,
137-
],
135+
'nullable_type_declaration_for_default_null_value' => true,
138136
'object_operator_without_whitespace' => true,
139137
'ordered_imports' => ['sort_algorithm' => 'alpha', 'imports_order' => ['const', 'class', 'function']],
140138
'ordered_interfaces' => true,

0 commit comments

Comments
 (0)