| @@ -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 |      { | 
| @@ -16,6 +16,9 @@ | ||
| 16 | 16 | |
| 17 | 17 | class Message extends BaseMessage | 
| 18 | 18 |  { | 
| 19 | + /** | |
| 20 | + * @param integer $id | |
| 21 | + */ | |
| 19 | 22 | public function setId($id) | 
| 20 | 23 |      { | 
| 21 | 24 | $this->id = $id; | 
| @@ -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) | 
| @@ -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) | 
| @@ -66,9 +66,9 @@ discard block | ||
| 66 | 66 | } | 
| 67 | 67 | |
| 68 | 68 | /** | 
| 69 | - * @param mixed $queueName | |
| 69 | + * @param string $queueName | |
| 70 | 70 | * | 
| 71 | - * @return AmqpConsumer|\PHPUnit_Framework_MockObject_MockObject | |
| 71 | + * @return AmqpConsumer | |
| 72 | 72 | */ | 
| 73 | 73 | private function createConsumerStub($queueName = null) | 
| 74 | 74 |      { | 
| @@ -90,7 +90,7 @@ discard block | ||
| 90 | 90 | } | 
| 91 | 91 | |
| 92 | 92 | /** | 
| 93 | - * @return AMQPChannel|\PHPUnit_Framework_MockObject_MockObject|AMQPChannel | |
| 93 | + * @return AMQPChannel | |
| 94 | 94 | */ | 
| 95 | 95 | private function createChannelMock() | 
| 96 | 96 |      { | 
| @@ -24,12 +24,14 @@ 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 | |
| 31 | 32 | /** | 
| 32 | 33 | * Cancels a given Message. | 
| 34 | + * @return void | |
| 33 | 35 | */ | 
| 34 | 36 | public function cancel(MessageInterface $message); | 
| 35 | 37 | |
| @@ -51,8 +53,8 @@ discard block | ||
| 51 | 53 | |
| 52 | 54 | /** | 
| 53 | 55 | * @param $state | 
| 54 | - * @param $batchSize | |
| 55 | - * @param null $maxAttempts | |
| 56 | + * @param integer $batchSize | |
| 57 | + * @param integer $maxAttempts | |
| 56 | 58 | * @param int $attemptDelay | 
| 57 | 59 | * | 
| 58 | 60 | * @return mixed | 
| @@ -156,7 +156,7 @@ | ||
| 156 | 156 | } | 
| 157 | 157 | |
| 158 | 158 | /** | 
| 159 | - * @param $memory | |
| 159 | + * @param integer $memory | |
| 160 | 160 | * | 
| 161 | 161 | * @return string | 
| 162 | 162 | */ |