Code Duplication    Length = 23-23 lines in 2 locations

src/Provider/Trello.php 1 location

@@ 7-29 (lines=23) @@
4
5
use Risan\OAuth1\Signature\HmacSha1Signer;
6
7
class Trello implements ProviderInterface
8
{
9
    /*
10
     * {@inheritdoc}
11
     */
12
    public function getUriConfig()
13
    {
14
        return [
15
            'temporary_credentials_uri' => 'https://trello.com/1/OAuthGetRequestToken',
16
            'authorization_uri' => 'https://trello.com/1/OAuthAuthorizeToken',
17
            'token_credentials_uri' => 'https://trello.com/1/OAuthGetAccessToken',
18
            'base_uri' => 'https://api.trello.com/1/',
19
        ];
20
    }
21
22
    /*
23
     * {@inheritdoc}
24
     */
25
    public function getSigner()
26
    {
27
        return new HmacSha1Signer();
28
    }
29
}
30

src/Provider/Tumblr.php 1 location

@@ 7-29 (lines=23) @@
4
5
use Risan\OAuth1\Signature\HmacSha1Signer;
6
7
class Tumblr implements ProviderInterface
8
{
9
    /*
10
     * {@inheritdoc}
11
     */
12
    public function getUriConfig()
13
    {
14
        return [
15
            'temporary_credentials_uri' => 'https://www.tumblr.com/oauth/request_token',
16
            'authorization_uri' => 'https://www.tumblr.com/oauth/authorize',
17
            'token_credentials_uri' => 'https://www.tumblr.com/oauth/access_token',
18
            'base_uri' => 'https://api.tumblr.com/v2/',
19
        ];
20
    }
21
22
    /*
23
     * {@inheritdoc}
24
     */
25
    public function getSigner()
26
    {
27
        return new HmacSha1Signer();
28
    }
29
}
30