Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 9 |
Ratio | 100 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
27 | View Code Duplication | public function withAddedRecipients(array $recipients) |
|
28 | { |
||
29 | $new = clone $this; |
||
30 | foreach($recipients as $email => $name) { |
||
31 | $this->validateEmail($email); |
||
32 | $new->recipients[$email] = $name; |
||
33 | } |
||
34 | return $new; |
||
35 | } |
||
36 | |||
67 |
This check marks private properties in classes that are never used. Those properties can be removed.