Skip to content

Commit 17b0a17

Browse files
committed
Bump symplify/easy-coding-standard to ^10.0 and fix minor cs
1 parent 0f5224f commit 17b0a17

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"require-dev": {
4545
"phpunit/phpunit": "^9.4",
4646
"ircmaxell/php-c-parser": "dev-master",
47-
"symplify/easy-coding-standard": "^9.4",
47+
"symplify/easy-coding-standard": "^10.0",
4848
"klitsche/ffigen": "^0.6",
4949
"klitsche/dog": "^0.4",
5050
"symfony/dom-crawler": "^5.1",

src/RdKafka/Test/MockCluster.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ public function getBootstraps(): string
9494
* provided error code and removed from the stack, starting with
9595
* the first error code, then the second, etc.
9696
*
97-
* @param int ...$errorCodes
9897
* @since 1.3.0 of librdkafka
9998
* @since 1.4.0 of librdkafka - adds support for Produce request types
10099
* @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
315314
* Same as {@link MockCluster::pushRequestErrors()} but for a specific broker.
316315
* The broker errors take precedence over the cluster errors.
317316
*
318-
* @param int ...$errorCodes a list of error codes or 0
317+
* @param int[] $errorCodes a list of error codes or 0
319318
* @throws RdKafka\Exception
320319
* @since 1.5.0 of librdkafka
321320
* @removed 1.7.0 of librdkafka - use {@link MockCluster::pushBrokerRequestErrorRtts()}
@@ -342,7 +341,7 @@ public function pushBrokerRequestErrors(int $brokerId, int $apiKey, int $count,
342341
* Same as {@link MockCluster::pushBrokerRequestErrors()} but for a specific broker.
343342
* The broker errors take precedence over the cluster errors.
344343
*
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)
346345
* @throws RdKafka\Exception
347346
* @since 1.7.0 of librdkafka
348347
*/

0 commit comments

Comments
 (0)