Code Duplication    Length = 5-5 lines in 2 locations

system/Inji/Model.php 2 locations

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