@@ -22,13 +22,14 @@ |
||
| 22 | 22 | * @param string $name |
| 23 | 23 | * @param string $action |
| 24 | 24 | * @param string $method |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function __construct($name, $action = '', $method = 'POST'); |
| 27 | 28 | |
| 28 | 29 | /** |
| 29 | 30 | * Gets the form elements. |
| 30 | 31 | * |
| 31 | - * @return FormElement[]; |
|
| 32 | + * @return FormElement[] |
|
| 32 | 33 | */ |
| 33 | 34 | public function getChildNodes(); |
| 34 | 35 | |
@@ -93,7 +93,7 @@ discard block |
||
| 93 | 93 | public function getName() |
| 94 | 94 | { |
| 95 | 95 | if (isset($this->parentNode)) { |
| 96 | - return $this->parentNode->getName() . '[' . $this->name . ']'; |
|
| 96 | + return $this->parentNode->getName().'['.$this->name.']'; |
|
| 97 | 97 | } |
| 98 | 98 | |
| 99 | 99 | return $this->name; |
@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | public function getAttribute($name) |
| 205 | 205 | { |
| 206 | 206 | if (!isset($this->attributes[$name])) { |
| 207 | - throw new RuntimeException('Invalid attribute: "' . $name . '"'); |
|
| 207 | + throw new RuntimeException('Invalid attribute: "'.$name.'"'); |
|
| 208 | 208 | } |
| 209 | 209 | |
| 210 | 210 | return $this->attributes[$name]; |