Completed
Pull Request — master (#38)
by Brian
34:27 queued 24:25
created

User   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 27
wmc 1
lcom 0
cbo 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A setAccessTokenResponseBody() 0 6 1
1
<?php
2
3
namespace SocialiteProviders\Manager\OAuth1;
4
5
class User extends \Laravel\Socialite\One\User
6
{
7
    /**
8
     * The User Credentials.
9
     *
10
     * e.g. access_token, refresh_token, etc.
11
     *
12
     * @var array
13
     */
14
    public $accessTokenResponseBody;
15
16
    /**
17
     * Set the credentials on the user.
18
     *
19
     * Might include things such as the token and refresh token
20
     *
21
     * @param array $accessTokenResponseBody
22
     *
23
     * @return $this
24
     */
25
    public function setAccessTokenResponseBody(array $accessTokenResponseBody)
26
    {
27
        $this->accessTokenResponseBody = $accessTokenResponseBody;
28
29
        return $this;
30
    }
31
}
32