@@ -216,13 +216,13 @@ discard block |
||
| 216 | 216 | $name = $this->name; |
| 217 | 217 | |
| 218 | 218 | if (isset($this->parentNode)) { |
| 219 | - $name = $this->parentNode->getName() . '[' . $this->name . ']'; |
|
| 219 | + $name = $this->parentNode->getName().'['.$this->name.']'; |
|
| 220 | 220 | } elseif (!empty($this->uniqueFormNamePostfix)) { |
| 221 | - $name .= '_' . $this->uniqueFormNamePostfix; |
|
| 221 | + $name .= '_'.$this->uniqueFormNamePostfix; |
|
| 222 | 222 | } |
| 223 | 223 | |
| 224 | 224 | if (count($this->options) > 1 |
| 225 | - && $this->tagName == self::TAG_SELECT |
|
| 225 | + && $this->tagName == self::TAG_SELECT |
|
| 226 | 226 | && !empty($this->attributes['multiple']) |
| 227 | 227 | ) { |
| 228 | 228 | $name .= '[]'; |
@@ -238,7 +238,7 @@ discard block |
||
| 238 | 238 | */ |
| 239 | 239 | public function getId() |
| 240 | 240 | { |
| 241 | - return 'id_' . trim(preg_replace('/[^a-z0-9]/', '_', $this->getName()), '_'); |
|
| 241 | + return 'id_'.trim(preg_replace('/[^a-z0-9]/', '_', $this->getName()), '_'); |
|
| 242 | 242 | } |
| 243 | 243 | |
| 244 | 244 | /** |