@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use Cmobi\RabbitmqBundle\Queue\QueueInterface; |
| 10 | 10 | use Cmobi\RabbitmqBundle\Queue\QueueServiceInterface; |
| 11 | 11 | use Cmobi\RabbitmqBundle\Tests\BaseTestCase; |
| 12 | -use Cmobi\RabbitmqBundle\Transport\PubSub\ExchangeType; |
|
| 13 | 12 | use Cmobi\RabbitmqBundle\Transport\PubSub\SubscriberBuilder; |
| 14 | 13 | use Cmobi\RabbitmqBundle\Transport\PubSub\SubscriberQueueBag; |
| 15 | 14 | |
@@ -15,6 +15,9 @@ discard block |
||
| 15 | 15 | private $fromName; |
| 16 | 16 | private $queueName; |
| 17 | 17 | |
| 18 | + /** |
|
| 19 | + * @param string $queueName |
|
| 20 | + */ |
|
| 18 | 21 | public function __construct($queueName, ConnectionManager $manager, $fromName = '') |
| 19 | 22 | { |
| 20 | 23 | $this->queueName = $queueName; |
@@ -87,7 +90,7 @@ discard block |
||
| 87 | 90 | } |
| 88 | 91 | |
| 89 | 92 | /** |
| 90 | - * @return string |
|
| 93 | + * @return boolean |
|
| 91 | 94 | */ |
| 92 | 95 | public function getExchange() |
| 93 | 96 | { |
@@ -95,7 +98,7 @@ discard block |
||
| 95 | 98 | } |
| 96 | 99 | |
| 97 | 100 | /** |
| 98 | - * @return string |
|
| 101 | + * @return boolean |
|
| 99 | 102 | */ |
| 100 | 103 | public function getExchangeType() |
| 101 | 104 | { |