Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | protected function getConfig($platform) |
||
|
|||
17 | { |
||
18 | return [ |
||
19 | 'app_id' => 'test_app_id', |
||
20 | 'app_secret' => 'test_app_secret', |
||
21 | 'scope' => 'test_scope', |
||
22 | 'callback' => 'http://localhost/callback', |
||
23 | 'response_type' => 'code', |
||
24 | 'grant_type' => 'authorization_code', |
||
25 | 'proxy_url' => null, |
||
26 | ]; |
||
28 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.