Code Duplication    Length = 13-13 lines in 3 locations

Transport/Rpc/RpcQueueBag.php 1 location

@@ 203-215 (lines=13) @@
200
    /**
201
     * @return array
202
     */
203
    public function getQueueConsume()
204
    {
205
        return [
206
            $this->getQueue(),
207
            $this->getConsumerTag(),
208
            $this->getNoLocal(),
209
            $this->getNoAck(),
210
            $this->getExclusive(),
211
            $this->getNoWait(),
212
            $this->getTicket(),
213
            $this->getArguments(),
214
        ];
215
    }
216
217
    /**
218
     * @param array $options

Transport/Worker/WorkerQueueBag.php 1 location

@@ 167-179 (lines=13) @@
164
    /**
165
     * @return array
166
     */
167
    public function getQueueConsume()
168
    {
169
        return [
170
            $this->getQueue(),
171
            $this->getConsumerTag(),
172
            $this->getNoLocal(),
173
            $this->getNoAck(),
174
            $this->getExclusive(),
175
            $this->getNoWait(),
176
            $this->getTicket(),
177
            $this->getArguments(),
178
        ];
179
    }
180
181
    /**
182
     * @return array|false

Transport/Subscriber/SubscriberQueueBag.php 1 location

@@ 221-233 (lines=13) @@
218
    /**
219
     * @return array
220
     */
221
    public function getQueueConsume()
222
    {
223
        return [
224
            $this->getQueue(),
225
            $this->getConsumerTag(),
226
            $this->getNoLocal(),
227
            $this->getNoAck(),
228
            false,
229
            $this->getNoWait(),
230
            $this->getTicket(),
231
            $this->getArguments(),
232
        ];
233
    }
234
235
    public function getExchangeDeclare()
236
    {