99use PhpAmqpLib \Connection \AMQPConnection ;
1010use PhpAmqpLib \Message \AMQPMessage ;
1111use PHPUnit \Framework \Assert ;
12+ use PHPUnit \Framework \MockObject \MockObject ;
1213use PHPUnit \Framework \TestCase ;
1314
1415class MultipleConsumerTest extends TestCase
@@ -23,14 +24,14 @@ class MultipleConsumerTest extends TestCase
2324 /**
2425 * AMQP channel
2526 *
26- * @var \PHPUnit_Framework_MockObject_MockObject |AMQPChannel
27+ * @var MockObject |AMQPChannel
2728 */
2829 private $ amqpChannel ;
2930
3031 /**
3132 * AMQP connection
3233 *
33- * @var \PHPUnit_Framework_MockObject_MockObject |AMQPConnection
34+ * @var MockObject |AMQPConnection
3435 */
3536 private $ amqpConnection ;
3637
@@ -202,7 +203,7 @@ public function processMessageProvider()
202203 /**
203204 * Preparing AMQP Connection
204205 *
205- * @return \PHPUnit_Framework_MockObject_MockObject |AMQPConnection
206+ * @return MockObject |AMQPConnection
206207 */
207208 private function prepareAMQPConnection ()
208209 {
@@ -214,7 +215,7 @@ private function prepareAMQPConnection()
214215 /**
215216 * Preparing AMQP Connection
216217 *
217- * @return \PHPUnit_Framework_MockObject_MockObject |AMQPChannel
218+ * @return MockObject |AMQPChannel
218219 */
219220 private function prepareAMQPChannel ()
220221 {
@@ -226,7 +227,7 @@ private function prepareAMQPChannel()
226227 /**
227228 * Preparing QueuesProviderInterface instance
228229 *
229- * @return \PHPUnit_Framework_MockObject_MockObject |QueuesProviderInterface
230+ * @return MockObject |QueuesProviderInterface
230231 */
231232 private function prepareQueuesProvider ()
232233 {
@@ -237,8 +238,8 @@ private function prepareQueuesProvider()
237238 /**
238239 * Preparing AMQP Channel Expectations
239240 *
240- * @param $expectedMethod
241- * @param $expectedRequeue
241+ * @param mixed $expectedMethod
242+ * @param string $expectedRequeue
242243 *
243244 * @return void
244245 */
@@ -261,7 +262,7 @@ private function prepareAMQPChannelExpectations($expectedMethod, $expectedRequeu
261262 /**
262263 * Prepare callback
263264 *
264- * @param $processFlag
265+ * @param bool $processFlag
265266 * @return callable
266267 */
267268 private function prepareCallback ($ processFlag )
0 commit comments