1 | <?php |
||
8 | class ExtendMutator extends Mutator |
||
9 | { |
||
10 | /** |
||
11 | * Copy all of the properties in the source objects over to the destination object. |
||
12 | * |
||
13 | * It's in-order, so the last source will override properties of the same name |
||
14 | * in previous arguments. |
||
15 | * |
||
16 | * @param Collection $collection |
||
17 | * @param mixed $source |
||
18 | * @param ... |
||
19 | * @return Collection |
||
20 | */ |
||
21 | 1 | public function __invoke($collection, $source) |
|
36 | } |
||
37 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.