8000 [Serializer] more precise type for CamelCaseToSnakeCaseNameConverter:… · symfony/symfony@a2a958b · GitHub
[go: up one dir, main page]

Skip to content

Commit a2a958b

Browse files
committed
[Serializer] more precise type for CamelCaseToSnakeCaseNameConverter::$attributes
1 parent 1c8cd56 commit a2a958b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Serializer/NameConverter/CamelCaseToSnakeCaseNameConverter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ class CamelCaseToSnakeCaseNameConverter implements NameConverterInterface
2727
public const REQUIRE_SNAKE_CASE_PROPERTIES = 'require_snake_case_properties';
2828

2929
/**
30-
* @param array|null $attributes The list of attributes to rename or null f 58DC or all attributes
31-
* @param bool $lowerCamelCase Use lowerCamelCase style
30+
* @param string[]|null $attributes The list of attributes to rename or null for all attributes
31+
* @param bool $lowerCamelCase Use lowerCamelCase style
3232
*/
3333
public function __construct(
3434
private ?array $attributes = null,

0 commit comments

Comments
 (0)
0