Skip to content

Commit

Permalink
make php-cs-fixer happy
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbusu-motork authored Apr 3, 2024
1 parent 266a21a commit 95bed44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/rdkafka/RdKafkaProducer.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function send(Destination $destination, Message $message): void
/**
* @return RdKafkaProducer
*/
public function setDeliveryDelay(int $deliveryDelay = null): Producer
public function setDeliveryDelay(?int $deliveryDelay = null): Producer
{
if (null === $deliveryDelay) {
return $this;
Expand All @@ -87,7 +87,7 @@ public function getDeliveryDelay(): ?int
/**
* @return RdKafkaProducer
*/
public function setPriority(int $priority = null): Producer
public function setPriority(?int $priority = null): Producer
{
if (null === $priority) {
return $this;
Expand All @@ -101,7 +101,7 @@ public function getPriority(): ?int
return null;
}

public function setTimeToLive(int $timeToLive = null): Producer
public function setTimeToLive(?int $timeToLive = null): Producer
{
if (null === $timeToLive) {
return $this;
Expand Down

0 comments on commit 95bed44

Please sign in to comment.