Code Duplication    Length = 10-11 lines in 2 locations

src/ShakeAround/Device.php 2 locations

@@ 153-162 (lines=10) @@
150
     *
151
     * @return \EasyWeChat\Support\Collection
152
     */
153
    public function pagination($last_seen, $count)
154
    {
155
        $params = [
156
            'type' => 2,
157
            'last_seen' => intval($last_seen),
158
            'count' => intval($count),
159
        ];
160
161
        return $this->fetch($params);
162
    }
163
164
    /**
165
     * Fetch batch of devices by apply_id.
@@ 173-183 (lines=11) @@
170
     *
171
     * @return \EasyWeChat\Support\Collection
172
     */
173
    public function fetchByApplyId($apply_id, $last_seen, $count)
174
    {
175
        $params = [
176
            'type' => 3,
177
            'apply_id' => intval($apply_id),
178
            'last_seen' => intval($last_seen),
179
            'count' => intval($count),
180
        ];
181
182
        return $this->fetch($params);
183
    }
184
185
    /**
186
     * Fetch batch of devices.