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 95bed44

Browse files
make php-cs-fixer happy
1 parent 266a21a commit 95bed44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎pkg/rdkafka/RdKafkaProducer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function send(Destination $destination, Message $message): void
7070
/**
7171
* @return RdKafkaProducer
7272
*/
73-
public function setDeliveryDelay(int $deliveryDelay = null): Producer
73+
public function setDeliveryDelay(?int $deliveryDelay = null): Producer
7474
{
7575
if (null === $deliveryDelay) {
7676
return $this;
@@ -87,7 +87,7 @@ public function getDeliveryDelay(): ?int
8787
/**
8888
* @return RdKafkaProducer
8989
*/
90-
public function setPriority(int $priority = null): Producer
90+
public function setPriority(?int $priority = null): Producer
9191
{
9292
if (null === $priority) {
9393
return $this;
@@ -101,7 +101,7 @@ public function getPriority(): ?int
101101
return null;
102102
}
103103

104-
public function setTimeToLive(int $timeToLive = null): Producer
104+
public function setTimeToLive(?int $timeToLive = null): Producer
105105
{
106106
if (null === $timeToLive) {
107107
return $this;

0 commit comments

Comments
(0)

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