Code Duplication    Length = 3-3 lines in 2 locations

system/Inji/Model.php 2 locations

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