Code Duplication    Length = 9-9 lines in 2 locations

src/ShakeAround/Stats.php 2 locations

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