Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
38 | public function getNewToken(ClientEntityInterface $clientEntity, array $scopes, $userIdentifier = null) |
||
39 | { |
||
40 | $accessToken = new AccessToken(); |
||
41 | $accessToken->setClient($clientEntity); |
||
42 | foreach ($scopes as $scope) { |
||
43 | $accessToken->addScope($scope); |
||
44 | } |
||
45 | $accessToken->setUserIdentifier($userIdentifier); |
||
46 | return $accessToken; |
||
47 | } |
||
48 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.