Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1263-1267 (lines=5) @@
1260
        if (!empty($options['order'])) {
1261
            $query->order($options['order']);
1262
        }
1263
        if (!empty($options['limit'])) {
1264
            $limit = (int) $options['limit'];
1265
        } else {
1266
            $limit = 0;
1267
        }
1268
        if (!empty($options['start'])) {
1269
            $start = (int) $options['start'];
1270
        } else {
@@ 959-963 (lines=5) @@
956
        }
957
        static::$needJoin = [];
958
959
        if (!empty($options['limit'])) {
960
            $limit = (int) $options['limit'];
961
        } else {
962
            $limit = 0;
963
        }
964
        if (!empty($options['start'])) {
965
            $start = (int) $options['start'];
966
        } else {