Code Duplication    Length = 3-3 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1067-1069 (lines=3) @@
1064
        foreach ($where as $key => $whereItem) {
1065
          $concatenation = empty($whereItem[3]) ? 'AND' : strtoupper($whereItem[3]);
1066
          switch ($concatenation) {
1067
            case 'AND':
1068
              $result = $result && forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1069
              break;
1070
            case 'OR':
1071
              $result = $result || forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1072
              break;
@@ 1070-1072 (lines=3) @@
1067
            case 'AND':
1068
              $result = $result && forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1069
              break;
1070
            case 'OR':
1071
              $result = $result || forward_static_call_array(['Model', 'checkWhere'], [$item, $whereItem]);
1072
              break;
1073
          }
1074
        }
1075