@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | |
| 70 | 70 | // All other special characters have to be escaped |
| 71 | 71 | // with two backslashes. |
| 72 | - foreach($this->regexSpecialChars as $char) |
|
| 72 | + foreach ($this->regexSpecialChars as $char) |
|
| 73 | 73 | { |
| 74 | 74 | $string = str_replace($char, '\\'.$char, $string); |
| 75 | 75 | } |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | |
| 84 | 84 | protected function addURLEncoding(Mailcode_Commands_Command $command, string $statement) : string |
| 85 | 85 | { |
| 86 | - if($command->isURLEncoded()) |
|
| 86 | + if ($command->isURLEncoded()) |
|
| 87 | 87 | { |
| 88 | 88 | return sprintf( |
| 89 | 89 | '${esc.url($%s)}', |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | ); |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | - if($command->isURLDecoded()) |
|
| 94 | + if ($command->isURLDecoded()) |
|
| 95 | 95 | { |
| 96 | 96 | return sprintf( |
| 97 | 97 | '${esc.unurl($%s)}', |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | { |
| 110 | 110 | $varName = '$'.ltrim($varName, '$'); |
| 111 | 111 | |
| 112 | - if($absolute) |
|
| 112 | + if ($absolute) |
|
| 113 | 113 | { |
| 114 | 114 | $varName = sprintf('${price.abs(%s)}', $varName); |
| 115 | 115 | } |