1 | <?php |
||
18 | trait AuthenticatesApplications |
||
19 | { |
||
20 | /** |
||
21 | * Authenticates as an installation. |
||
22 | * |
||
23 | * @param int $installation_id |
||
24 | * @param GitHub $github |
||
25 | * @param JWT $jwt |
||
26 | * |
||
27 | * @return GitHub |
||
28 | */ |
||
29 | protected function authenticateAsInstallation(int $installation_id, GitHub $github, JWT $jwt) : GitHub |
||
36 | |||
37 | /** |
||
38 | * Authenticates as an application. |
||
39 | * |
||
40 | * @param GitHub $github |
||
41 | * @param JWT $jwt |
||
42 | * |
||
43 | * @return GitHub |
||
44 | */ |
||
45 | protected function authenticateAsApplication(GitHub $github, JWT $jwt) : GitHub |
||
51 | } |
||
52 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.