@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | |
| 38 | 38 | public function normalize() : string |
| 39 | 39 | { |
| 40 | - if(!$this->command->isValid()) |
|
| 40 | + if (!$this->command->isValid()) |
|
| 41 | 41 | { |
| 42 | 42 | return ''; |
| 43 | 43 | } |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | |
| 58 | 58 | private function addType() : void |
| 59 | 59 | { |
| 60 | - if(!$this->command->supportsType() || !$this->command->hasType()) |
|
| 60 | + if (!$this->command->supportsType() || !$this->command->hasType()) |
|
| 61 | 61 | { |
| 62 | 62 | return; |
| 63 | 63 | } |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | |
| 68 | 68 | private function addParams(Mailcode_Commands_Command $command) : void |
| 69 | 69 | { |
| 70 | - if($command->hasFreeformParameters()) |
|
| 70 | + if ($command->hasFreeformParameters()) |
|
| 71 | 71 | { |
| 72 | 72 | $params = $command->getParams()->getStatementString(); |
| 73 | 73 | } |
@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | $params = $command->getParams()->getNormalized(); |
| 77 | 77 | } |
| 78 | 78 | |
| 79 | - if(empty($params)) |
|
| 79 | + if (empty($params)) |
|
| 80 | 80 | { |
| 81 | 81 | return; |
| 82 | 82 | } |
@@ -87,14 +87,14 @@ discard block |
||
| 87 | 87 | |
| 88 | 88 | private function addLogicKeywords() : void |
| 89 | 89 | { |
| 90 | - if(!$this->command->supportsLogicKeywords()) |
|
| 90 | + if (!$this->command->supportsLogicKeywords()) |
|
| 91 | 91 | { |
| 92 | 92 | return; |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | $keywords = $this->command->getLogicKeywords()->getKeywords(); |
| 96 | 96 | |
| 97 | - foreach($keywords as $keyword) |
|
| 97 | + foreach ($keywords as $keyword) |
|
| 98 | 98 | { |
| 99 | 99 | $this->parts[] = ' '; |
| 100 | 100 | $this->parts[] = $keyword->getKeywordString(); // e.g. "if variable" |