Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | protected function authenticateAsInstallation(int $installation_id, GitHub $github, JWT $jwt) : GitHub |
||
|
|||
30 | { |
||
31 | $token = $github->api('apps')->createInstallationToken($installation_id); |
||
32 | $github->authenticate($token['token'], null, GitHub::AUTH_HTTP_TOKEN); |
||
33 | |||
34 | return $github; |
||
35 | } |
||
36 | |||
52 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.