Skip to content

Commit

Permalink
Change default for nullable_type_declaration_for_default_null_value (#…
Browse files Browse the repository at this point in the history
…236)

Because support for implicit support for implicit nullability exists
only for backwards compatibility reasons and will be removed in the
future. See #235.
  • Loading branch information
otsch authored Dec 4, 2023
1 parent cb4070b commit a1ec24b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions resources/presets/laravel.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,7 @@
'normalize_index_brace' => true,
'not_operator_with_successor_space' => true,
'nullable_type_declaration' => true,
'nullable_type_declaration_for_default_null_value' => [
'use_nullable_type_declaration' => false,
],
'nullable_type_declaration_for_default_null_value' => true,
'object_operator_without_whitespace' => true,
'ordered_imports' => ['sort_algorithm' => 'alpha', 'imports_order' => ['const', 'class', 'function']],
'ordered_interfaces' => true,
Expand Down

0 comments on commit a1ec24b

Please sign in to comment.