@@ -76,7 +76,7 @@ discard block |
||
| 76 | 76 | { |
| 77 | 77 | if ($this->variables[$variable]->getValue() != $newValue) { |
| 78 | 78 | $this->variables[$variable]->setValue($newValue); |
| 79 | - $uniqueId = '"' . uniqid('exp_') . '"'; |
|
| 79 | + $uniqueId = '"'.uniqid('exp_').'"'; |
|
| 80 | 80 | $this->checkVariable->setValue($uniqueId); |
| 81 | 81 | |
| 82 | 82 | if (is_null($this->queuedForUpdate)) { |
@@ -134,16 +134,16 @@ discard block |
||
| 134 | 134 | { |
| 135 | 135 | $scriptContent = ''; |
| 136 | 136 | foreach ($this->variables as $variable) { |
| 137 | - $scriptContent .= $variable->getScriptDeclaration() . "\n"; |
|
| 137 | + $scriptContent .= $variable->getScriptDeclaration()."\n"; |
|
| 138 | 138 | if ($defaultValues) { |
| 139 | - $scriptContent .= $variable->getScriptValueSet() . "\n"; |
|
| 139 | + $scriptContent .= $variable->getScriptValueSet()."\n"; |
|
| 140 | 140 | } |
| 141 | 141 | } |
| 142 | - $scriptContent .= $this->checkVariable->getScriptDeclaration() . "\n"; |
|
| 143 | - $scriptContent .= $this->checkOldVariable->getScriptDeclaration() . "\n"; |
|
| 142 | + $scriptContent .= $this->checkVariable->getScriptDeclaration()."\n"; |
|
| 143 | + $scriptContent .= $this->checkOldVariable->getScriptDeclaration()."\n"; |
|
| 144 | 144 | if ($defaultValues) { |
| 145 | - $scriptContent .= $this->checkVariable->getScriptValueSet() . "\n"; |
|
| 146 | - $scriptContent .= $this->checkOldVariable->getVariableName() . ' = "";'; |
|
| 145 | + $scriptContent .= $this->checkVariable->getScriptValueSet()."\n"; |
|
| 146 | + $scriptContent .= $this->checkOldVariable->getVariableName().' = "";'; |
|
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | return $scriptContent; |