Code Duplication    Length = 3-3 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1192-1194 (lines=3) @@
1189
                foreach ($where as $key => $whereItem) {
1190
                    $concatenation = empty($whereItem[3]) ? 'AND' : strtoupper($whereItem[3]);
1191
                    switch ($concatenation) {
1192
                        case 'AND':
1193
                            $result = $result && forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1194
                            break;
1195
                        case 'OR':
1196
                            $result = $result || forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1197
                            break;
@@ 1195-1197 (lines=3) @@
1192
                        case 'AND':
1193
                            $result = $result && forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1194
                            break;
1195
                        case 'OR':
1196
                            $result = $result || forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1197
                            break;
1198
                    }
1199
                }
1200