1 | <?php |
||
8 | class DefaultsMutator extends Mutator |
||
9 | { |
||
10 | /** |
||
11 | * Fill in null properties in object. |
||
12 | * |
||
13 | * Uses the first value present in any of the defaults. |
||
14 | * |
||
15 | * @param Collection $collection |
||
16 | * @param mixed $default |
||
17 | * @param ... |
||
18 | * @return Collection |
||
19 | */ |
||
20 | 1 | public function __invoke($collection, $default) |
|
37 | } |
||
38 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.