@@ -94,7 +94,6 @@ public function getBootstraps(): string
94
94
* provided error code and removed from the stack, starting with
95
95
* the first error code, then the second, etc.
96
96
*
97
- * @param int ...$errorCodes
98
97
* @since 1.3.0 of librdkafka
99
98
* @since 1.4.0 of librdkafka - adds support for Produce request types
100
99
* @since 1.7.0 of librdkafka - you may also use {@link MockCluster::pushRequestErrorsArray()}
@@ -315,7 +314,7 @@ public function setRtt(int $brokerId, int $roundTripTimeDelayMs): void
315
314
* Same as {@link MockCluster::pushRequestErrors()} but for a specific broker.
316
315
* The broker errors take precedence over the cluster errors.
317
316
*
318
- * @param int ... $errorCodes a list of error codes or 0
317
+ * @param int[] $errorCodes a list of error codes or 0
319
318
* @throws RdKafka\Exception
320
319
* @since 1.5.0 of librdkafka
321
320
* @removed 1.7.0 of librdkafka - use {@link MockCluster::pushBrokerRequestErrorRtts()}
@@ -342,7 +341,7 @@ public function pushBrokerRequestErrors(int $brokerId, int $apiKey, int $count,
342
341
* Same as {@link MockCluster::pushBrokerRequestErrors()} but for a specific broker.
343
342
* The broker errors take precedence over the cluster errors.
344
343
*
345
- * @param int ... $errorCodeAndRttTuples plain tuples of error code or 0 (int) and response RTT/delay in millisecond (int)
344
+ * @param int[] $errorCodeAndRttTuples plain tuples of error code or 0 (int) and response RTT/delay in millisecond (int)
346
345
* @throws RdKafka\Exception
347
346
* @since 1.7.0 of librdkafka
348
347
*/
0 commit comments