Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | function package_configs($keys = [], $default = null) : array |
||
27 | { |
||
28 | /** |
||
29 | * If $default is not explicitly provided, it should not be passed to Package::getConfig(), |
||
30 | * hence not simply calling getConfig($keys, $default), as explicitly passing $default = null |
||
31 | * to getConfig() is different to omitting it |
||
32 | */ |
||
33 | return packages()->getConfig(...func_get_args()); |
||
34 | } |
||
35 | |||
64 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.