| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 17 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 33 | public function end() : Mailcode_Commands_Command_End  | 
            ||
| 34 |     { | 
            ||
| 35 | $cmd = Mailcode::create()->getCommands()->createCommand(  | 
            ||
| 36 | 'End',  | 
            ||
| 37 | '',  | 
            ||
| 38 | '',  | 
            ||
| 39 |             '{end}' | 
            ||
| 40 | );  | 
            ||
| 41 | |||
| 42 | $this->instantiator->checkCommand($cmd);  | 
            ||
| 43 | |||
| 44 | if($cmd instanceof Mailcode_Commands_Command_End)  | 
            ||
| 45 |         { | 
            ||
| 46 | return $cmd;  | 
            ||
| 47 | }  | 
            ||
| 48 | |||
| 49 |         throw $this->instantiator->exceptionUnexpectedType('End', $cmd); | 
            ||
| 50 | }  | 
            ||
| 52 |