Code Duplication    Length = 9-9 lines in 2 locations

PhpAmqpLib/Helper/Protocol/Protocol080.php 1 location

@@ 33-41 (lines=9) @@
30
     * @param AMQPReader $args
31
     * @return array
32
     */
33
    public static function connectionStartOk($args)
34
    {
35
        $ret = array();
36
        $ret[] = $args->read_table();
37
        $ret[] = $args->read_shortstr();
38
        $ret[] = $args->read_longstr();
39
        $ret[] = $args->read_shortstr();
40
        return $ret;
41
    }
42
43
44

PhpAmqpLib/Helper/Protocol/Protocol091.php 1 location

@@ 33-41 (lines=9) @@
30
     * @param AMQPReader $args
31
     * @return array
32
     */
33
    public static function connectionStartOk($args)
34
    {
35
        $ret = array();
36
        $ret[] = $args->read_table();
37
        $ret[] = $args->read_shortstr();
38
        $ret[] = $args->read_longstr();
39
        $ret[] = $args->read_shortstr();
40
        return $ret;
41
    }
42
43
44