Skip to content

Commit 8ae5303

Browse files
authored
Merge pull request #425 from php-enqueue/makasim-patch-1
[skip ci] Update doc block. return value should be "self"
2 parents 72c682f + 0368df6 commit 8ae5303

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: pkg/enqueue/Consumption/Result.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function setReply(PsrMessage $reply = null)
9090
/**
9191
* @param string $reason
9292
*
93-
* @return Result
93+
* @return self
9494
*/
9595
public static function ack($reason = '')
9696
{
@@ -100,7 +100,7 @@ public static function ack($reason = '')
100100
/**
101101
* @param string $reason
102102
*
103-
* @return Result
103+
* @return self
104104
*/
105105
public static function reject($reason)
106106
{
@@ -110,7 +110,7 @@ public static function reject($reason)
110110
/**
111111
* @param string $reason
112112
*
113-
* @return Result
113+
* @return self
114114
*/
115115
public static function requeue($reason = '')
116116
{
@@ -122,7 +122,7 @@ public static function requeue($reason = '')
122122
* @param string $status
123123
* @param string|null $reason
124124
*
125-
* @return Result
125+
* @return self
126126
*/
127127
public static function reply(PsrMessage $replyMessage, $status = self::ACK, $reason = null)
128128
{

0 commit comments

Comments
 (0)