| Conditions | 3 |
| Paths | 4 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function setChangeSet(array $change_set) |
||
| 20 | { |
||
| 21 | // On ajoute les tags changés au change_set s'ils avaient été ajouté |
||
| 22 | if (false === empty($this->getChangeSet()["added_tags"])) { |
||
| 23 | $change_set["added_tags"] = $this->getChangeSet()["added_tags"]; |
||
| 24 | } |
||
| 25 | |||
| 26 | if (false === empty($this->getChangeSet()["deleted_tags"])) { |
||
| 27 | $change_set["deleted_tags"] = $this->getChangeSet()["deleted_tags"]; |
||
| 28 | } |
||
| 29 | |||
| 30 | $this->change_set = $change_set; |
||
| 31 | |||
| 32 | return $this; |
||
| 33 | } |
||
| 34 | |||
| 58 |