@@ -129,7 +129,7 @@ |
||
| 129 | 129 | break; |
| 130 | 130 | case "gt": |
| 131 | 131 | $operator = '>'; |
| 132 | - break; |
|
| 132 | + break; |
|
| 133 | 133 | case "lt": |
| 134 | 134 | $operator = '<'; |
| 135 | 135 | break; |
@@ -149,7 +149,7 @@ |
||
| 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 | /** |
@@ -125,7 +125,7 @@ |
||
| 125 | 125 | */ |
| 126 | 126 | protected function sortColumns() |
| 127 | 127 | { |
| 128 | - $this->config->getColumns()->sort(function (FieldConfig $a, FieldConfig $b) { |
|
| 128 | + $this->config->getColumns()->sort(function(FieldConfig $a, FieldConfig $b) { |
|
| 129 | 129 | return $a->getOrder() > $b->getOrder(); |
| 130 | 130 | }); |
| 131 | 131 | } |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | */ |
| 68 | 68 | public function getSorting() |
| 69 | 69 | { |
| 70 | - return $_ =& $this->input['sort']; |
|
| 70 | + return $_ = & $this->input['sort']; |
|
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | public function getSortingHiddenInputsHtml() |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | } else { |
| 28 | 28 | try { |
| 29 | 29 | return $this->src->{$fieldName}; |
| 30 | - } catch(Exception $e) { |
|
| 30 | + } catch (Exception $e) { |
|
| 31 | 31 | throw new RuntimeException( |
| 32 | 32 | "Can't read '$fieldName' property from DataRow" |
| 33 | 33 | ); |