mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
parent
666cc3b4c9
commit
47cf69ded1
@ -10433,7 +10433,7 @@ return [
|
||||
'RdKafka::newTopic' => ['RdKafka\Topic', 'topic_name'=>'string', 'topic_conf='=>'?RdKafka\TopicConf'],
|
||||
'RdKafka::poll' => ['void', 'timeout_ms'=>'int'],
|
||||
'RdKafka::setLogLevel' => ['void', 'level'=>'int'],
|
||||
'RdKafka\Conf::dump' => ['array'],
|
||||
'RdKafka\Conf::dump' => ['array<string, string>'],
|
||||
'RdKafka\Conf::set' => ['void', 'name'=>'string', 'value'=>'string'],
|
||||
'RdKafka\Conf::setDefaultTopicConf' => ['void', 'topic_conf'=>'RdKafka\TopicConf'],
|
||||
'RdKafka\Conf::setDrMsgCb' => ['void', 'callback'=>'callable'],
|
||||
@ -10456,10 +10456,10 @@ return [
|
||||
'RdKafka\ConsumerTopic::getName' => ['string'],
|
||||
'RdKafka\ConsumerTopic::offsetStore' => ['void', 'partition'=>'int', 'offset'=>'int'],
|
||||
'RdKafka\KafkaConsumer::__construct' => ['void', 'conf'=>'RdKafka\Conf'],
|
||||
'RdKafka\KafkaConsumer::assign' => ['void', 'topic_partitions='=>'RdKafka\TopicPartition[]'],
|
||||
'RdKafka\KafkaConsumer::assign' => ['void', 'topic_partitions='=>'RdKafka\TopicPartition[]|null'],
|
||||
'RdKafka\KafkaConsumer::commit' => ['void', 'message_or_offsets='=>'RdKafka\Message|RdKafka\TopicPartition[]|null'],
|
||||
'RdKafka\KafkaConsumer::commitAsync' => ['void', 'message_or_offsets='=>'string'],
|
||||
'RdKafka\KafkaConsumer::consume' => ['RdKafka\Message', 'timeout_ms'=>'string'],
|
||||
'RdKafka\KafkaConsumer::consume' => ['RdKafka\Message', 'timeout_ms'=>'int'],
|
||||
'RdKafka\KafkaConsumer::getAssignment' => ['RdKafka\TopicPartition[]'],
|
||||
'RdKafka\KafkaConsumer::getMetadata' => ['RdKafka\Metadata', 'all_topics'=>'bool', 'only_topic='=>'RdKafka\KafkaConsumerTopic', 'timeout_ms'=>'int'],
|
||||
'RdKafka\KafkaConsumer::getSubscription' => ['array'],
|
||||
@ -10501,7 +10501,7 @@ return [
|
||||
'RdKafka\Queue::__construct' => ['void'],
|
||||
'RdKafka\Queue::consume' => ['?RdKafka\Message', 'timeout_ms'=>'string'],
|
||||
'RdKafka\Topic::getName' => ['string'],
|
||||
'RdKafka\TopicConf::dump' => ['array'],
|
||||
'RdKafka\TopicConf::dump' => ['array<string, string>'],
|
||||
'RdKafka\TopicConf::set' => ['void', 'name'=>'string', 'value'=>'string'],
|
||||
'RdKafka\TopicConf::setPartitioner' => ['void', 'partitioner'=>'int'],
|
||||
'RdKafka\TopicPartition::__construct' => ['void', 'topic'=>'string', 'partition'=>'int', 'offset='=>'int'],
|
||||
|
@ -509,4 +509,14 @@ return [
|
||||
'phpparser\\node\\stmt\\interface_' => [
|
||||
'stmts' => 'array<int, PhpParser\Node\Stmt>',
|
||||
],
|
||||
'rdkafka\\message' => [
|
||||
'err' => 'int',
|
||||
'topic_name' => 'string',
|
||||
'partition' => 'int',
|
||||
'payload' => 'string',
|
||||
'key' => 'string|null',
|
||||
'offset' => 'int',
|
||||
'timestamp' => 'int',
|
||||
'headers' => 'array<string, string>|null',
|
||||
],
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user