@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | } |
| 131 | 131 | |
| 132 | 132 | /** |
| 133 | - * @param $memory |
|
| 133 | + * @param integer $memory |
|
| 134 | 134 | * |
| 135 | 135 | * @return string |
| 136 | 136 | */ |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | } |
| 183 | 183 | |
| 184 | 184 | /** |
| 185 | - * @return EventDispatcherInterface |
|
| 185 | + * @return \Symfony\Component\EventDispatcher\EventDispatcherInterface |
|
| 186 | 186 | */ |
| 187 | 187 | private function getNotificationDispatcher() |
| 188 | 188 | { |
@@ -147,7 +147,7 @@ |
||
| 147 | 147 | * |
| 148 | 148 | * @param array $types |
| 149 | 149 | * |
| 150 | - * @return mixed |
|
| 150 | + * @return MessageInterface[] |
|
| 151 | 151 | */ |
| 152 | 152 | protected function findNextMessages($types) |
| 153 | 153 | { |
@@ -298,6 +298,10 @@ |
||
| 298 | 298 | } |
| 299 | 299 | |
| 300 | 300 | /** |
| 301 | + * @param string $deadLetterExchange |
|
| 302 | + * @param string $deadLetterRoutingKey |
|
| 303 | + * @param integer $ttl |
|
| 304 | + * @param integer $prefetchCount |
|
| 301 | 305 | * @return AMQPBackend |
| 302 | 306 | */ |
| 303 | 307 | protected function buildBackend($recover = false, $deadLetterExchange = null, $deadLetterRoutingKey = null, $ttl = null, $prefetchCount = null) |
@@ -19,6 +19,9 @@ |
||
| 19 | 19 | |
| 20 | 20 | class Message extends BaseMessage |
| 21 | 21 | { |
| 22 | + /** |
|
| 23 | + * @param integer $id |
|
| 24 | + */ |
|
| 22 | 25 | public function setId($id): void |
| 23 | 26 | { |
| 24 | 27 | $this->id = $id; |
@@ -162,6 +162,7 @@ |
||
| 162 | 162 | } |
| 163 | 163 | |
| 164 | 164 | /** |
| 165 | + * @param \Closure $qbCallback |
|
| 165 | 166 | * @return MessageManager |
| 166 | 167 | */ |
| 167 | 168 | protected function getMessageManager($qbCallback) |
@@ -24,7 +24,8 @@ discard block |
||
| 24 | 24 | public function countStates(); |
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | - * @param $maxAge |
|
| 27 | + * @param integer $maxAge |
|
| 28 | + * @return void |
|
| 28 | 29 | */ |
| 29 | 30 | public function cleanup($maxAge); |
| 30 | 31 | |
@@ -32,6 +33,7 @@ discard block |
||
| 32 | 33 | * Cancels a given Message. |
| 33 | 34 | * |
| 34 | 35 | * @param MessageInterface $message |
| 36 | + * @return void |
|
| 35 | 37 | */ |
| 36 | 38 | public function cancel(MessageInterface $message); |
| 37 | 39 | |
@@ -56,8 +58,8 @@ discard block |
||
| 56 | 58 | /** |
| 57 | 59 | * @param array $types |
| 58 | 60 | * @param $state |
| 59 | - * @param $batchSize |
|
| 60 | - * @param null $maxAttempts |
|
| 61 | + * @param integer $batchSize |
|
| 62 | + * @param integer $maxAttempts |
|
| 61 | 63 | * @param int $attemptDelay |
| 62 | 64 | * |
| 63 | 65 | * @return mixed |