Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce640f0

Browse files
committed
[amqp] setDeliveryDelay should return this
fixes #373
1 parent 36aac12 commit ce640f0

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

pkg/amqp-bunny/AmqpProducer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ public function setDeliveryDelay($deliveryDelay)
8989
}
9090

9191
$this->deliveryDelay = $deliveryDelay;
92+
93+
return $this;
9294
}
9395

9496
/**

pkg/amqp-ext/AmqpProducer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ public function setDeliveryDelay($deliveryDelay)
8787
}
8888

8989
$this->deliveryDelay = $deliveryDelay;
90+
91+
return $this;
9092
}
9193

9294
/**

pkg/amqp-lib/AmqpProducer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ public function setDeliveryDelay($deliveryDelay)
9191
}
9292

9393
$this->deliveryDelay = $deliveryDelay;
94+
95+
return $this;
9496
}
9597

9698
/**

0 commit comments

Comments
 (0)