Conditions | 2 |
Paths | 2 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
41 | 994 | protected function applyChanges(Tuple $parentTuple, Tuple $tuple): void |
|
42 | 994 | { |
|
43 | $state = $tuple->state; |
||
44 | $state->setRelation($this->getTargetRelationName(), $parentTuple->entity); |
||
45 | foreach ($this->innerKeys as $i => $innerKey) { |
||
46 | $state->register($this->outerKeys[$i], $parentTuple->state->getValue($innerKey)); |
||
47 | } |
||
50 |