| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 51 | 5 | public function execute() |
|
| 52 | { |
||
| 53 | 5 | $uuid = $this->bindingDescriptor->getUuid(); |
|
| 54 | |||
| 55 | 5 | if ($this->rootModuleFile->hasBindingDescriptor($uuid)) { |
|
| 56 | 1 | $this->previousDescriptor = $this->rootModuleFile->getBindingDescriptor($uuid); |
|
| 57 | } |
||
| 58 | |||
| 59 | 5 | $this->rootModuleFile->addBindingDescriptor($this->bindingDescriptor); |
|
| 60 | 5 | } |
|
| 61 | |||
| 74 |