| 1 | <?php |
||
| 11 | class Merge implements Processor |
||
| 12 | { |
||
| 13 | use Processor\Implementation; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * Apply processing to a single node |
||
| 17 | * |
||
| 18 | * @param Node $node |
||
| 19 | */ |
||
| 20 | public function applyToNode($node) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Merge properties of an object |
||
| 30 | * |
||
| 31 | * @param array $merge |
||
| 32 | */ |
||
| 33 | protected function merge($merge) |
||
| 45 | } |
||
| 46 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@returnannotation as described here.