Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 1025-1029 (lines=5) @@
1022
            $query->join($join);
1023
        }
1024
        static::$relJoins = [];
1025
        if (!empty($options['limit'])) {
1026
            $limit = (int)$options['limit'];
1027
        } else {
1028
            $limit = 0;
1029
        }
1030
        if (!empty($options['start'])) {
1031
            $start = (int)$options['start'];
1032
        } else {
@@ 1136-1140 (lines=5) @@
1133
        if (!empty($options['order'])) {
1134
            $query->order($options['order']);
1135
        }
1136
        if (!empty($options['limit'])) {
1137
            $limit = (int)$options['limit'];
1138
        } else {
1139
            $limit = 0;
1140
        }
1141
        if (!empty($options['start'])) {
1142
            $start = (int)$options['start'];
1143
        } else {