Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 948-952 (lines=5) @@
945
        }
946
        static::$needJoin = [];
947
948
        if (!empty($options['limit'])) {
949
            $limit = (int) $options['limit'];
950
        } else {
951
            $limit = 0;
952
        }
953
        if (!empty($options['start'])) {
954
            $start = (int) $options['start'];
955
        } else {
@@ 1239-1243 (lines=5) @@
1236
        if (!empty($options['order'])) {
1237
            $query->order($options['order']);
1238
        }
1239
        if (!empty($options['limit'])) {
1240
            $limit = (int) $options['limit'];
1241
        } else {
1242
            $limit = 0;
1243
        }
1244
        if (!empty($options['start'])) {
1245
            $start = (int) $options['start'];
1246
        } else {