Code Duplication    Length = 9-9 lines in 2 locations

src/ShakeAround/Stats.php 2 locations

@@ 63-71 (lines=9) @@
60
     *
61
     * @return \EasyWeChat\Support\Collection
62
     */
63
    public function batchDeviceSummary($timestamp, $page_index)
64
    {
65
        $params = [
66
            'date' => $timestamp,
67
            'page_index' => $page_index,
68
        ];
69
70
        return $this->parseJSON('json', [self::API_DEVICE_LIST, $params]);
71
    }
72
73
    /**
74
     * Fetch statistics data by page_id.
@@ 100-108 (lines=9) @@
97
     *
98
     * @return \EasyWeChat\Support\Collection
99
     */
100
    public function batchPageSummary($timestamp, $page_index)
101
    {
102
        $params = [
103
            'date' => $timestamp,
104
            'page_index' => $page_index,
105
        ];
106
107
        return $this->parseJSON('json', [self::API_PAGE_LIST, $params]);
108
    }
109
}
110