Skip to content

Commit 5c7f310

Browse files
Merge branch '6.4' into 7.2
* 6.4: - CS fixes
2 parents daca531 + c01c719 commit 5c7f310

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Normalizer/GetSetMethodNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private function isSetMethod(\ReflectionMethod $method): bool
103103
&& 3 < \strlen($method->name)
104104
&& str_starts_with($method->name, 'set')
105105
&& !ctype_lower($method->name[3])
106-
;
106+
;
107107
}
108108

109109
protected function extractAttributes(object $object, ?string $format = null, array $context = []): array

SerializerInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ public function serialize(mixed $data, string $format, array $context = []): str
3232
* @param TType $type
3333
* @param array<string, mixed> $context
3434
*
35-
* @psalm-return (TType is class-string<TObject> ? TObject : mixed)
36-
*
3735
* @phpstan-return ($type is class-string<TObject> ? TObject : mixed)
36+
*
37+
* @psalm-return (TType is class-string<TObject> ? TObject : mixed)
3838
*/
3939
public function deserialize(mixed $data, string $type, string $format, array $context = []): mixed;
4040
}

Tests/Attribute/ContextTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public static function provideValidInputs(): iterable
8686
-normalizationContext: []
8787
-denormalizationContext: []
8888
}
89-
DUMP
89+
DUMP,
9090
];
9191

9292
yield 'named arguments: with normalization context option' => [
@@ -100,7 +100,7 @@ public static function provideValidInputs(): iterable
100100
]
101101
-denormalizationContext: []
102102
}
103-
DUMP
103+
DUMP,
104104
];
105105

106106
yield 'named arguments: with denormalization context option' => [
@@ -114,7 +114,7 @@ public static function provideValidInputs(): iterable
114114
"foo" => "bar",
115115
]
116116
}
117-
DUMP
117+
DUMP,
118118
];
119119

120120
yield 'named arguments: with groups option as string' => [
@@ -130,7 +130,7 @@ public static function provideValidInputs(): iterable
130130
-normalizationContext: []
131131
-denormalizationContext: []
132132
}
133-
DUMP
133+
DUMP,
134134
];
135135

136136
yield 'named arguments: with groups option as array' => [
@@ -147,7 +147,7 @@ public static function provideValidInputs(): iterable
147147
-normalizationContext: []
148148
-denormalizationContext: []
149149
}
150-
DUMP
150+
DUMP,
151151
];
152152
}
153153
}

0 commit comments

Comments
 (0)