@@ -165,13 +165,13 @@ |
||
| 165 | 165 | ); |
| 166 | 166 | } |
| 167 | 167 | |
| 168 | - /** |
|
| 169 | - * |
|
| 170 | - * @param Mailcode_Variables_Variable $variable |
|
| 171 | - * @param bool $caseSensitive |
|
| 172 | - * @param Mailcode_Parser_Statement_Tokenizer_Token_StringLiteral[] $searchTerms |
|
| 173 | - * @return string |
|
| 174 | - */ |
|
| 168 | + /** |
|
| 169 | + * |
|
| 170 | + * @param Mailcode_Variables_Variable $variable |
|
| 171 | + * @param bool $caseSensitive |
|
| 172 | + * @param Mailcode_Parser_Statement_Tokenizer_Token_StringLiteral[] $searchTerms |
|
| 173 | + * @return string |
|
| 174 | + */ |
|
| 175 | 175 | protected function _translateContains(Mailcode_Variables_Variable $variable, bool $caseSensitive, array $searchTerms, string $containsType) : string |
| 176 | 176 | { |
| 177 | 177 | $parts = array(); |
@@ -23,9 +23,9 @@ discard block |
||
| 23 | 23 | const ERROR_INVALID_COMMAND_CREATED = 50001; |
| 24 | 24 | const ERROR_UNEXPECTED_COMMAND_TYPE = 50002; |
| 25 | 25 | |
| 26 | - /** |
|
| 27 | - * @var Mailcode_Factory_CommandSets |
|
| 28 | - */ |
|
| 26 | + /** |
|
| 27 | + * @var Mailcode_Factory_CommandSets |
|
| 28 | + */ |
|
| 29 | 29 | private static $commandSets; |
| 30 | 30 | |
| 31 | 31 | // region Show commands |
@@ -409,34 +409,34 @@ discard block |
||
| 409 | 409 | return self::$commandSets->if()->ifNotEmpty($variable); |
| 410 | 410 | } |
| 411 | 411 | |
| 412 | - /** |
|
| 413 | - * Creates a renderer instance, which can be used to easily |
|
| 414 | - * create and convert commands to strings. |
|
| 415 | - * |
|
| 416 | - * @return Mailcode_Renderer |
|
| 417 | - */ |
|
| 412 | + /** |
|
| 413 | + * Creates a renderer instance, which can be used to easily |
|
| 414 | + * create and convert commands to strings. |
|
| 415 | + * |
|
| 416 | + * @return Mailcode_Renderer |
|
| 417 | + */ |
|
| 418 | 418 | public static function createRenderer() : Mailcode_Renderer |
| 419 | 419 | { |
| 420 | 420 | return new Mailcode_Renderer(); |
| 421 | 421 | } |
| 422 | 422 | |
| 423 | - /** |
|
| 424 | - * Creates a printer instance, which works like the renderer, |
|
| 425 | - * but outputs the generated strings to standard output. |
|
| 426 | - * |
|
| 427 | - * @return Mailcode_Printer |
|
| 428 | - */ |
|
| 423 | + /** |
|
| 424 | + * Creates a printer instance, which works like the renderer, |
|
| 425 | + * but outputs the generated strings to standard output. |
|
| 426 | + * |
|
| 427 | + * @return Mailcode_Printer |
|
| 428 | + */ |
|
| 429 | 429 | public static function createPrinter() : Mailcode_Printer |
| 430 | 430 | { |
| 431 | 431 | return new Mailcode_Printer(); |
| 432 | 432 | } |
| 433 | 433 | |
| 434 | - /** |
|
| 435 | - * Gets/creates the global instance of the date format info |
|
| 436 | - * class, used to handle date formatting aspects. |
|
| 437 | - * |
|
| 438 | - * @return Mailcode_Date_FormatInfo |
|
| 439 | - */ |
|
| 434 | + /** |
|
| 435 | + * Gets/creates the global instance of the date format info |
|
| 436 | + * class, used to handle date formatting aspects. |
|
| 437 | + * |
|
| 438 | + * @return Mailcode_Date_FormatInfo |
|
| 439 | + */ |
|
| 440 | 440 | public static function createDateInfo() : Mailcode_Date_FormatInfo |
| 441 | 441 | { |
| 442 | 442 | return Mailcode_Date_FormatInfo::getInstance(); |