Skip to content

Commit f0bd0fe

Browse files
committed
[JsonStreamer] Fix #61880 upmerge
1 parent 3cd9483 commit f0bd0fe

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Mapping/PropertyMetadata.php

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,11 @@ public function __construct(
4040
}
4141

4242
/**
43-
* @param list<string|\Closure> $nativeToStreamValueTransformers
44-
* @param list<string|\Closure> $streamToNativeValueTransformers
43+
* @param list<string|\Closure> $valueTransformers
4544
*/
46-
public static function createSynthetic(
47-
Type $type,
48-
array $nativeToStreamValueTransformers = [],
49-
array $streamToNativeValueTransformers = [],
50-
): self {
51-
return new self(null, $type, $nativeToStreamValueTransformers, $streamToNativeValueTransformers);
45+
public static function createSynthetic(Type $type, array $valueTransformers = []): self
46+
{
47+
return new self(null, $type, $valueTransformers);
5248
}
5349

5450
public function getName(): ?string

0 commit comments

Comments
 (0)