Code Duplication    Length = 8-8 lines in 2 locations

src/Api/Providers/Provider.php 2 locations

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