Code Duplication    Length = 8-8 lines in 2 locations

src/Api/Providers/Provider.php 2 locations

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