Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 7 |
Ratio | 100 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
19 | View Code Duplication | public function withAddedRecipient($email, $name = null) |
|
20 | { |
||
21 | $this->validateEmail($email); |
||
22 | $new = clone $this; |
||
23 | $new->recipients[$email] = $name; |
||
24 | return $new; |
||
25 | } |
||
26 | |||
67 |
This check marks private properties in classes that are never used. Those properties can be removed.