@@ -31,11 +31,11 @@ discard block |
||
31 | 31 | public function getAttributes() |
32 | 32 | { |
33 | 33 | if (empty($this->attributes['class'])) { |
34 | - $this->attributes['class'] = 'column-' . $this->getColumn()->getName(); |
|
34 | + $this->attributes['class'] = 'column-'.$this->getColumn()->getName(); |
|
35 | 35 | } |
36 | 36 | if ($this->getColumn()->getCellHtmlAttributes()) { |
37 | 37 | foreach ($this->getColumn()->getCellHtmlAttributes() as $attribute=>$value) { |
38 | - $this->attributes[$attribute] .= (empty($this->attributes[$attribute]) ? '' : ' ') . $value; |
|
38 | + $this->attributes[$attribute] .= (empty($this->attributes[$attribute]) ? '' : ' ').$value; |
|
39 | 39 | } |
40 | 40 | } |
41 | 41 | if (empty($this->attributes['data-label'])) { |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | */ |
56 | 56 | public function getName() |
57 | 57 | { |
58 | - return $this->name ? : 'column_' . $this->column->getName(); |
|
58 | + return $this->name ?: 'column_'.$this->column->getName(); |
|
59 | 59 | } |
60 | 60 | |
61 | 61 | /** |