| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 10 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 2 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 78 | 18 | public function setRecipientOverride($recipientOverride)  | 
            |
| 79 |     { | 
            ||
| 80 | 18 |         if (!filter_var($recipientOverride, FILTER_VALIDATE_EMAIL)) { | 
            |
| 81 | 3 |             throw new Exception('Recipient override must be a valid email address'); | 
            |
| 82 | }  | 
            ||
| 83 | |||
| 84 | 15 | $this->recipientOverride = (string) $recipientOverride;  | 
            |
| 85 | |||
| 86 | 15 | return $this;  | 
            |
| 87 | }  | 
            ||
| 88 | }  | 
            ||
| 89 |