Skip to content

Commit b42c0d4

Browse files
committed
Fixing static analysis issues
Fixing issue raised by phpstan
1 parent 9236342 commit b42c0d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

RdKafkaProducer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,7 @@ public function flush(int $timeout): ?int
121121
if (method_exists($this->producer, 'flush')) {
122122
return $this->producer->flush($timeout);
123123
}
124+
125+
return null;
124126
}
125127
}

0 commit comments

Comments
 (0)