Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5cbd208

Browse files
chore: add typehint to RdKafkaConsumer#getQueue
Prevent the vscode intelephense error : "Undefined method 'getPartition'."
1 parent 2221fe2 commit 5cbd208

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎pkg/rdkafka/RdKafkaConsumer.php‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ public function setOffset(int $offset = null): void
7575
$this->offset = $offset;
7676
}
7777

78+
/**
79+
* @return RdKafkaTopic
80+
*/
7881
public function getQueue(): Queue
7982
{
8083
return $this->topic;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /