Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
32 | protected function validateSyntax_search_term() : void |
||
33 | { |
||
34 | $val = $this->validator->createStringLiteral(); |
||
35 | |||
36 | if($val->isValid()) |
||
37 | { |
||
38 | $this->searchTerm = $val->getToken(); |
||
39 | } |
||
40 | else |
||
41 | { |
||
42 | $this->validationResult->makeError( |
||
43 | t('No search term specified.'), |
||
44 | Mailcode_Commands_CommonConstants::VALIDATION_SEARCH_TERM_MISSING |
||
45 | ); |
||
63 |