Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

@@ 756-760 (lines=5) @@
753
        }
754
        static::$needJoin = [];
755
756
        if (!empty($options['limit']))
757
            $limit = (int) $options['limit'];
758
        else {
759
            $limit = 0;
760
        }
761
        if (!empty($options['start']))
762
            $start = (int) $options['start'];
763
        else {
@@ 1029-1033 (lines=5) @@
1026
        if (!empty($options['order'])) {
1027
            $query->order($options['order']);
1028
        }
1029
        if (!empty($options['limit']))
1030
            $limit = (int) $options['limit'];
1031
        else {
1032
            $limit = 0;
1033
        }
1034
        if (!empty($options['start']))
1035
            $start = (int) $options['start'];
1036
        else {