Code Duplication    Length = 8-8 lines in 2 locations

src/Api/Providers/Provider.php 2 locations

@@ 71-78 (lines=8) @@
68
     * @param string $resourceUrl
69
     * @return array|bool
70
     */
71
    protected function execGetRequest(array $requestOptions = [], $resourceUrl = '')
72
    {
73
        $query = Request::createQuery($requestOptions);
74
75
        $this->execute($resourceUrl . "?{$query}");
76
77
        return $this->response->getResponseData();
78
    }
79
80
    /**
81
     * Executes a GET request to Pinterest API with pagination.
@@ 88-95 (lines=8) @@
85
     * @param array $bookmarks
86
     * @return Response
87
     */
88
    protected function execGetRequestWithPagination(array $requestOptions, $resourceUrl, $bookmarks = [])
89
    {
90
        $query = Request::createQuery($requestOptions, $bookmarks);
91
92
        $this->execute($resourceUrl . "?{$query}");
93
94
        return $this->response;
95
    }
96
97
    /**
98
     * @param $url