diff --git a/src/Psalm/Internal/CallMap.php b/src/Psalm/Internal/CallMap.php index 8af4bb9a9..496cf3bc8 100644 --- a/src/Psalm/Internal/CallMap.php +++ b/src/Psalm/Internal/CallMap.php @@ -10500,7 +10500,8 @@ return [ 'RdKafka\Producer::setLogLevel' => ['void', 'level'=>'int'], 'RdKafka\ProducerTopic::__construct' => ['void'], 'RdKafka\ProducerTopic::getName' => ['string'], -'RdKafka\ProducerTopic::produce' => ['void', 'partition'=>'int', 'msgflags'=>'int', 'payload'=>'string', 'key='=>'string'], +'RdKafka\ProducerTopic::produce' => ['void', 'partition'=>'int', 'msgflags'=>'int', 'payload'=>'string', 'key='=>'?string'], +'RdKafka\ProducerTopic::producev' => ['void', 'partition'=>'int', 'msgflags'=>'int', 'payload'=>'string', 'key='=>'?string', 'headers'=>'?array', 'timestamp_ms'=>'?int'], 'RdKafka\Queue::__construct' => ['void'], 'RdKafka\Queue::consume' => ['?RdKafka\Message', 'timeout_ms'=>'string'], 'RdKafka\Topic::getName' => ['string'],