Code Duplication    Length = 10-10 lines in 2 locations

src/Framing/Frame.php 2 locations

@@ 404-413 (lines=10) @@
401
                        Value\ShortStringValue::decode($data)
402
                    );
403
                }
404
                if ($method === "\x00\x3C") {
405
                    return new Method\BasicDeliver(
406
                        $header['channel'],
407
                        Value\ShortStringValue::decode($data),
408
                        Value\LongLongValue::decode($data),
409
                        Value\BooleanValue::decode($data),
410
                        Value\ShortStringValue::decode($data),
411
                        Value\ShortStringValue::decode($data)
412
                    );
413
                }
414
                if ($method === "\x00\x46") {
415
                    return new Method\BasicGet(
416
                        $header['channel'],
@@ 422-431 (lines=10) @@
419
                        Value\BooleanValue::decode($data)
420
                    );
421
                }
422
                if ($method === "\x00\x47") {
423
                    return new Method\BasicGetOk(
424
                        $header['channel'],
425
                        Value\LongLongValue::decode($data),
426
                        Value\BooleanValue::decode($data),
427
                        Value\ShortStringValue::decode($data),
428
                        Value\ShortStringValue::decode($data),
429
                        Value\LongValue::decode($data)
430
                    );
431
                }
432
                if ($method === "\x00\x48") {
433
                    return new Method\BasicGetEmpty(
434
                        $header['channel'],