File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1111use Buggregator \Trap \Client \TrapHandle \StackTrace ;
1212use Google \Protobuf \Internal \MapField ;
1313use Google \Protobuf \Internal \Message ;
14- use Google \Protobuf \Internal \RepeatedField ;
14+ use Google \Protobuf \Internal \RepeatedField as InternalRepeatedField ;
15+ use Google \Protobuf \RepeatedField ;
1516use Symfony \Component \VarDumper \Cloner \AbstractCloner ;
1617
1718try {
@@ -102,6 +103,7 @@ function td(mixed ...$values): never
102103 * @var array<non-empty-string, callable> $casters
103104 */
104105 $ casters [Message::class] ??= [ProtobufCaster::class, 'cast ' ];
106+ $ casters [InternalRepeatedField::class] ??= [ProtobufCaster::class, 'castRepeated ' ];
105107 $ casters [RepeatedField::class] ??= [ProtobufCaster::class, 'castRepeated ' ];
106108 $ casters [MapField::class] ??= [ProtobufCaster::class, 'castMap ' ];
107109 $ casters [EnumValue::class] ??= [ProtobufCaster::class, 'castEnum ' ];
You can’t perform that action at this time.
0 commit comments