Code Duplication    Length = 3-3 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1225-1227 (lines=3) @@
1222
                foreach ($where as $key => $whereItem) {
1223
                    $concatenation = empty($whereItem[3]) ? 'AND' : strtoupper($whereItem[3]);
1224
                    switch ($concatenation) {
1225
                        case 'AND':
1226
                            $result = $result && forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1227
                            break;
1228
                        case 'OR':
1229
                            $result = $result || forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1230
                            break;
@@ 1228-1230 (lines=3) @@
1225
                        case 'AND':
1226
                            $result = $result && forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1227
                            break;
1228
                        case 'OR':
1229
                            $result = $result || forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1230
                            break;
1231
                    }
1232
                }
1233