Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
30 | public function dependency($project, $version = null) |
||
31 | { |
||
32 | $project = (array)$project; |
||
33 | |||
34 | if (isset($version)) { |
||
35 | $project = array_map( |
||
36 | function ($item) use ($version) { |
||
37 | return "$item:$version"; |
||
38 | }, |
||
39 | $project |
||
40 | ); |
||
41 | } |
||
42 | $this->args($project); |
||
43 | return $this; |
||
44 | } |
||
45 | |||
69 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.