@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | */ |
| 150 | 150 | public function getLabel() |
| 151 | 151 | { |
| 152 | - return $this->label ? : ucwords(str_replace(array('-', '_', '.'), ' ', $this->name)); |
|
| 152 | + return $this->label ?: ucwords(str_replace(array('-', '_', '.'), ' ', $this->name)); |
|
| 153 | 153 | } |
| 154 | 154 | |
| 155 | 155 | /** |
@@ -333,20 +333,20 @@ discard block |
||
| 333 | 333 | } |
| 334 | 334 | } |
| 335 | 335 | |
| 336 | - public function addStyleAttribute($name, $value){ |
|
| 337 | - $this->styleAttributes = $this->styleAttributes. $name. ':' . $value . ';'; |
|
| 336 | + public function addStyleAttribute($name, $value) { |
|
| 337 | + $this->styleAttributes = $this->styleAttributes.$name.':'.$value.';'; |
|
| 338 | 338 | return $this; |
| 339 | 339 | } |
| 340 | 340 | |
| 341 | - public function getStyleAttributes(){ |
|
| 341 | + public function getStyleAttributes() { |
|
| 342 | 342 | return $this->styleAttributes; |
| 343 | 343 | } |
| 344 | 344 | |
| 345 | - public function setFormat($format){ |
|
| 345 | + public function setFormat($format) { |
|
| 346 | 346 | $this->format = $format; |
| 347 | 347 | } |
| 348 | 348 | |
| 349 | - public function getFormat(){ |
|
| 349 | + public function getFormat() { |
|
| 350 | 350 | return $this->format; |
| 351 | 351 | } |
| 352 | 352 | } |