Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | 1 | public function addContactToList($name, $contact, array $parameters = []) |
|
36 | { |
||
37 | 1 | $contactListId = $this->contactListConvertor->convert($name); |
|
38 | 1 | $this->contactCreator->create($name, $contact, $parameters); |
|
39 | 1 | $this->contactCreator->addToList($contactListId, $contact); |
|
40 | 1 | } |
|
41 | } |
||
42 |