Skip to content

Commit 00b7a10

Browse files
committed
minor #40728 [PHPDoc] Fix some union type cases (fancyweb)
This PR was merged into the 4.4 branch. Discussion ---------- [PHPDoc] Fix some union type cases | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - While working on symfony/symfony#40154, I discovered some PHPDoc issues, I'm going to comment in the review. Upper branches will need some fixes too. Commits ------- dd1481642b [PHPDoc] Fix some union type cases
2 parents 6bff58e + 00bb81b commit 00b7a10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Serializer.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ class Serializer implements SerializerInterface, ContextAwareNormalizerInterface
6666
private $normalizerCache = [];
6767

6868
/**
69-
* @param (NormalizerInterface|DenormalizerInterface)[] $normalizers
70-
* @param (EncoderInterface|DecoderInterface)[] $encoders
69+
* @param array<NormalizerInterface|DenormalizerInterface> $normalizers
70+
* @param array<EncoderInterface|DecoderInterface> $encoders
7171
*/
7272
public function __construct(array $normalizers = [], array $encoders = [])
7373
{

0 commit comments

Comments
 (0)