We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f094ef1 commit f055efdCopy full SHA for f055efd
src/Consumer/ConsumerFactory.php
@@ -57,11 +57,11 @@ private function create(string $name): Consumer
57
$prefetchSize = null;
58
$prefetchCount = null;
59
60
- if (($consumerData['qos']['prefetchSize'] ?? null) !== null) {
+ if (isset($consumerData['qos']['prefetchSize'])) {
61
$prefetchSize = $consumerData['qos']['prefetchSize'];
62
}
63
64
- if (($consumerData['qos']['prefetchCount'] ?? null) !== null) {
+ if (isset($consumerData['qos']['prefetchCount'])) {
65
$prefetchCount = $consumerData['qos']['prefetchCount'];
66
67
0 commit comments