| @@ 83-91 (lines=9) @@ | ||
| 80 | /** |
|
| 81 | * @param ConstraintAdded $constraintAdded |
|
| 82 | */ |
|
| 83 | protected function applyConstraintAdded(ConstraintAdded $constraintAdded) { |
|
| 84 | if ($constraintAdded->getSapiVersion() |
|
| 85 | ->toNative() === $this->sapiVersion->toNative()) { |
|
| 86 | $this->repository->updateConstraint( |
|
| 87 | $constraintAdded->getUuid(), |
|
| 88 | $constraintAdded->getQuery() |
|
| 89 | ); |
|
| 90 | } |
|
| 91 | } |
|
| 92 | ||
| 93 | /** |
|
| 94 | * @param ConstraintUpdated $constraintUpdated |
|
| @@ 96-105 (lines=10) @@ | ||
| 93 | /** |
|
| 94 | * @param ConstraintUpdated $constraintUpdated |
|
| 95 | */ |
|
| 96 | protected function applyConstraintUpdated(ConstraintUpdated $constraintUpdated) |
|
| 97 | { |
|
| 98 | if ($constraintUpdated->getSapiVersion() |
|
| 99 | ->toNative() === $this->sapiVersion->toNative()) { |
|
| 100 | $this->repository->updateConstraint( |
|
| 101 | $constraintUpdated->getUuid(), |
|
| 102 | $constraintUpdated->getQuery() |
|
| 103 | ); |
|
| 104 | } |
|
| 105 | } |
|
| 106 | ||
| 107 | /** |
|
| 108 | * @param ConstraintRemoved $constraintRemoved |
|