File tree Expand file tree Collapse file tree 3 files changed +36
-9
lines changed
Expand file tree Collapse file tree 3 files changed +36
-9
lines changed Original file line number Diff line number Diff line change @@ -541,9 +541,18 @@ public function __construct()
541541 'allow_before_return_statement ' => true ,
542542 'ignored_tags ' => [],
543543 ],
544- 'phpdoc_to_param_type ' => ['scalar_types ' => true ],
545- 'phpdoc_to_property_type ' => ['scalar_types ' => true ],
546- 'phpdoc_to_return_type ' => ['scalar_types ' => true ],
544+ 'phpdoc_to_param_type ' => [
545+ 'scalar_types ' => true ,
546+ 'union_types ' => true ,
547+ ],
548+ 'phpdoc_to_property_type ' => [
549+ 'scalar_types ' => true ,
550+ 'union_types ' => true ,
551+ ],
552+ 'phpdoc_to_return_type ' => [
553+ 'scalar_types ' => true ,
554+ 'union_types ' => true ,
555+ ],
547556 'phpdoc_trim ' => true ,
548557 'phpdoc_trim_consecutive_blank_line_separation ' => true ,
549558 'phpdoc_types ' => ['groups ' => ['simple ' , 'alias ' , 'meta ' ]],
Original file line number Diff line number Diff line change @@ -541,9 +541,18 @@ public function __construct()
541541 'allow_before_return_statement ' => true ,
542542 'ignored_tags ' => [],
543543 ],
544- 'phpdoc_to_param_type ' => ['scalar_types ' => true ],
545- 'phpdoc_to_property_type ' => ['scalar_types ' => true ],
546- 'phpdoc_to_return_type ' => ['scalar_types ' => true ],
544+ 'phpdoc_to_param_type ' => [
545+ 'scalar_types ' => true ,
546+ 'union_types ' => true ,
547+ ],
548+ 'phpdoc_to_property_type ' => [
549+ 'scalar_types ' => true ,
550+ 'union_types ' => true ,
551+ ],
552+ 'phpdoc_to_return_type ' => [
553+ 'scalar_types ' => true ,
554+ 'union_types ' => true ,
555+ ],
547556 'phpdoc_trim ' => true ,
548557 'phpdoc_trim_consecutive_blank_line_separation ' => true ,
549558 'phpdoc_types ' => ['groups ' => ['simple ' , 'alias ' , 'meta ' ]],
Original file line number Diff line number Diff line change @@ -541,9 +541,18 @@ public function __construct()
541541 'allow_before_return_statement ' => true ,
542542 'ignored_tags ' => [],
543543 ],
544- 'phpdoc_to_param_type ' => ['scalar_types ' => true ],
545- 'phpdoc_to_property_type ' => ['scalar_types ' => true ],
546- 'phpdoc_to_return_type ' => ['scalar_types ' => true ],
544+ 'phpdoc_to_param_type ' => [
545+ 'scalar_types ' => true ,
546+ 'union_types ' => true ,
547+ ],
548+ 'phpdoc_to_property_type ' => [
549+ 'scalar_types ' => true ,
550+ 'union_types ' => true ,
551+ ],
552+ 'phpdoc_to_return_type ' => [
553+ 'scalar_types ' => true ,
554+ 'union_types ' => true ,
555+ ],
547556 'phpdoc_trim ' => true ,
548557 'phpdoc_trim_consecutive_blank_line_separation ' => true ,
549558 'phpdoc_types ' => ['groups ' => ['simple ' , 'alias ' , 'meta ' ]],
You can’t perform that action at this time.
0 commit comments