| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 49 | public function getSearchTerm() : string |
||
| 50 | { |
||
| 51 | if($this->searchTerm instanceof Mailcode_Parser_Statement_Tokenizer_Token_StringLiteral) |
||
| 52 | { |
||
| 53 | return $this->searchTerm->getNormalized(); |
||
| 54 | } |
||
| 55 | |||
| 56 | throw new Mailcode_Exception( |
||
| 57 | 'No string literal available', |
||
| 58 | null, |
||
| 59 | Mailcode_Commands_CommonConstants::ERROR_NO_STRING_LITERAL_AVAILABLE |
||
| 60 | ); |
||
| 63 |