@@ -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 |      { | 
                                                        
@@ -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;  | 
                                                        
@@ -58,6 +58,7 @@  | 
                                                    ||
| 58 | 58 | }  | 
                                                        
| 59 | 59 | |
| 60 | 60 | /**  | 
                                                        
| 61 | + * @param \Closure $qbCallback  | 
                                                        |
| 61 | 62 | * @return \Sonata\NotificationBundle\Entity\MessageManager  | 
                                                        
| 62 | 63 | */  | 
                                                        
| 63 | 64 | protected function getMessageManager($qbCallback)  | 
                                                        
@@ -42,6 +42,7 @@  | 
                                                    ||
| 42 | 42 | |
| 43 | 43 | /**  | 
                                                        
| 44 | 44 |       * {@inheritdoc} | 
                                                        
| 45 | + * @param string $originalClassName  | 
                                                        |
| 45 | 46 | */  | 
                                                        
| 46 | 47 | protected function createMock($originalClassName)  | 
                                                        
| 47 | 48 |      { | 
                                                        
@@ -219,6 +219,12 @@  | 
                                                    ||
| 219 | 219 | $backend->getIterator();  | 
                                                        
| 220 | 220 | }  | 
                                                        
| 221 | 221 | |
| 222 | + /**  | 
                                                        |
| 223 | + * @param string $deadLetterExchange  | 
                                                        |
| 224 | + * @param string $deadLetterRoutingKey  | 
                                                        |
| 225 | + * @param integer $ttl  | 
                                                        |
| 226 | + * @param integer $prefetchCount  | 
                                                        |
| 227 | + */  | 
                                                        |
| 222 | 228 | protected function getBackendAndChannelMock($recover = false, $deadLetterExchange = null, $deadLetterRoutingKey = null, $ttl = null, $prefetchCount = null)  | 
                                                        
| 223 | 229 |      { | 
                                                        
| 224 | 230 | $backend = new AMQPBackend(  |