Code Duplication    Length = 9-10 lines in 2 locations

source/MySQLiByDanielGP.php 2 locations

@@ 650-658 (lines=9) @@
647
                    case 'array_key2_value':
648
                    case 'array_numbered':
649
                    case 'array_pairs_key_value':
650
                    case 'full_array_key_numbered':
651
                        $aReturn           = $this->setMySQLquery2ServerByPattern([
652
                            'NoOfColumns' => $result->field_count,
653
                            'NoOfRows'    => $result->num_rows,
654
                            'QueryResult' => $result,
655
                            'returnType'  => $sReturnType,
656
                            'return'      => $aReturn
657
                        ]);
658
                        break;
659
                    case 'full_array_key_numbered_with_record_number_prefix':
660
                    case 'full_array_key_numbered_with_prefix':
661
                        $aReturn           = $this->setMySQLquery2ServerByPattern([
@@ 660-669 (lines=10) @@
657
                        ]);
658
                        break;
659
                    case 'full_array_key_numbered_with_record_number_prefix':
660
                    case 'full_array_key_numbered_with_prefix':
661
                        $aReturn           = $this->setMySQLquery2ServerByPattern([
662
                            'NoOfColumns' => $result->field_count,
663
                            'NoOfRows'    => $result->num_rows,
664
                            'QueryResult' => $result,
665
                            'returnType'  => $sReturnType,
666
                            'prefix'      => $ftrs['prefix'],
667
                            'return'      => $aReturn
668
                        ]);
669
                        break;
670
                    case 'id':
671
                        $aReturn['result'] = $this->mySQLconnection->insert_id;
672
                        break;