Code Duplication    Length = 3-3 lines in 2 locations

system/Inji/Model.php 2 locations

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