Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 956-960 (lines=5) @@
953
        }
954
        static::$needJoin = [];
955
956
        if (!empty($options['limit'])) {
957
            $limit = (int) $options['limit'];
958
        } else {
959
            $limit = 0;
960
        }
961
        if (!empty($options['start'])) {
962
            $start = (int) $options['start'];
963
        } else {
@@ 1250-1254 (lines=5) @@
1247
        if (!empty($options['order'])) {
1248
            $query->order($options['order']);
1249
        }
1250
        if (!empty($options['limit'])) {
1251
            $limit = (int) $options['limit'];
1252
        } else {
1253
            $limit = 0;
1254
        }
1255
        if (!empty($options['start'])) {
1256
            $start = (int) $options['start'];
1257
        } else {