diff --git a/integrations/Symfony/Serializer/AvroSerDeEncoder.php b/integrations/Symfony/Serializer/AvroSerDeEncoder.php index 99d8013..2ca41b5 100644 --- a/integrations/Symfony/Serializer/AvroSerDeEncoder.php +++ b/integrations/Symfony/Serializer/AvroSerDeEncoder.php @@ -32,7 +32,7 @@ public function __construct(RecordSerializer $recordSerializer) * * @throws \FlixTech\SchemaRegistryApi\Exception\SchemaRegistryException */ - public function decode($data, $format, array $context = []) + public function decode($data, $format, array $context = []): mixed { $readersSchema = $context[self::CONTEXT_DECODE_READERS_SCHEMA] ?? null; Assert::that($readersSchema)->nullOr()->isInstanceOf(\AvroSchema::class);