| Conditions | 2 |
| Paths | 2 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 46 | public function end(): Mailcode_Commands_Command_End |
||
| 47 | { |
||
| 48 | $cmd = $this->commands->createCommand( |
||
| 49 | 'End', |
||
| 50 | '', |
||
| 51 | '', |
||
| 52 | '{end}' |
||
| 53 | ); |
||
| 54 | |||
| 55 | $this->instantiator->checkCommand($cmd); |
||
| 56 | |||
| 57 | if ($cmd instanceof Mailcode_Commands_Command_End) { |
||
| 58 | return $cmd; |
||
| 59 | } |
||
| 60 | |||
| 61 | throw $this->instantiator->exceptionUnexpectedType('End', $cmd); |
||
| 62 | } |
||
| 73 |