Code Duplication    Length = 13-13 lines in 3 locations

Transport/PubSub/SubscriberQueueBag.php 1 location

@@ 204-216 (lines=13) @@
201
    /**
202
     * @return array
203
     */
204
    public function getQueueDeclare()
205
    {
206
        return [
207
            $this->getQueue(),
208
            $this->getPassive(),
209
            $this->getDurable(),
210
            true,
211
            $this->getAutoDelete(),
212
            $this->getNoWait(),
213
            $this->getArguments(),
214
            $this->getTicket(),
215
        ];
216
    }
217
218
    /**
219
     * @return array

Transport/Rpc/RpcQueueBag.php 1 location

@@ 186-198 (lines=13) @@
183
    /**
184
     * @return array
185
     */
186
    public function getQueueDeclare()
187
    {
188
        return [
189
            $this->getQueue(),
190
            $this->getPassive(),
191
            $this->getDurable(),
192
            $this->getExclusive(),
193
            $this->getAutoDelete(),
194
            $this->getNoWait(),
195
            $this->getArguments(),
196
            $this->getTicket(),
197
        ];
198
    }
199
200
    /**
201
     * @return array

Transport/Worker/WorkerQueueBag.php 1 location

@@ 150-162 (lines=13) @@
147
    /**
148
     * @return array
149
     */
150
    public function getQueueDeclare()
151
    {
152
        return [
153
            $this->getQueue(),
154
            $this->getPassive(),
155
            $this->getDurable(),
156
            $this->getExclusive(),
157
            $this->getAutoDelete(),
158
            $this->getNoWait(),
159
            $this->getArguments(),
160
            $this->getTicket(),
161
        ];
162
    }
163
164
    /**
165
     * @return array