Completed
Pull Request — master (#17)
by Nicolas
04:26 queued 01:13
created
features/bootstrap/ConsumeContext.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use Behat\Behat\Tester\Exception\PendingException;
4 3
 use Puzzle\AMQP\Messages\Message;
5 4
 use Puzzle\AMQP\Consumers\Insomniac;
6 5
 use Puzzle\AMQP\Workers\Worker;
Please login to merge, or discard this patch.
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -103,6 +103,9 @@  discard block
 block discarded – undo
103 103
         $this->theMessageIs(self::JSON_ROUTING_KEY, ContentType::JSON);
104 104
     }
105 105
     
106
+    /**
107
+     * @param string $routingKey
108
+     */
106 109
     private function theMessageIs($routingKey, $contentType)
107 110
     {
108 111
         $firstMessage = $this->consumedMessages[0];
@@ -145,6 +148,9 @@  discard block
 block discarded – undo
145 148
         $this->oneOfTheMessagesIs(ContentType::JSON, self::JSON_ROUTING_KEY);
146 149
     }
147 150
     
151
+    /**
152
+     * @param string $routingKey
153
+     */
148 154
     private function oneOfTheMessagesIs($contentType, $routingKey)
149 155
     {
150 156
         $found = null;
Please login to merge, or discard this patch.