Completed
Pull Request — master (#148)
by
unknown
04:22
created
src/Components/TableCell.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,11 +31,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.