Code Duplication    Length = 3-3 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1178-1180 (lines=3) @@
1175
        foreach ($where as $key => $whereItem) {
1176
          $concatenation = empty($whereItem[3]) ? 'AND' : strtoupper($whereItem[3]);
1177
          switch ($concatenation) {
1178
            case 'AND':
1179
              $result = $result && forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1180
              break;
1181
            case 'OR':
1182
              $result = $result || forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1183
              break;
@@ 1181-1183 (lines=3) @@
1178
            case 'AND':
1179
              $result = $result && forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1180
              break;
1181
            case 'OR':
1182
              $result = $result || forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1183
              break;
1184
          }
1185
        }
1186