@@ -128,13 +128,13 @@ discard block |
||
128 | 128 | $valueCalculators[$column->getId()] = $column->getValueCalculator(); |
129 | 129 | $valueFormatters[$column->getId()] = $prevFormatter = $column->getValueFormatter(); |
130 | 130 | $column->setValueCalculator(null); |
131 | - $column->setValueFormatter(function ($value) use ($prevFormatter, $column) { |
|
131 | + $column->setValueFormatter(function($value) use ($prevFormatter, $column) { |
|
132 | 132 | if ($prevFormatter) { |
133 | 133 | $value = call_user_func($prevFormatter, $value); |
134 | 134 | } |
135 | 135 | $operation = $this->getOperation($column->getId()); |
136 | 136 | if ($value !== null && is_string($operation) && array_key_exists($operation, $this->valuePrefixes)) { |
137 | - $value = $this->valuePrefixes[$operation] . ' ' . $value; |
|
137 | + $value = $this->valuePrefixes[$operation].' '.$value; |
|
138 | 138 | } |
139 | 139 | return $value; |
140 | 140 | }); |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | protected function replaceGridDataInjector(Grid $grid) |
224 | 224 | { |
225 | 225 | /** @var CollectionView $collectionView */ |
226 | - $grid->getCollectionView()->setDataInjector(function ($dataRow) use ($grid) { |
|
226 | + $grid->getCollectionView()->setDataInjector(function($dataRow) use ($grid) { |
|
227 | 227 | $grid->setCurrentRow($dataRow); |
228 | 228 | $this->processCurrentRow(); |
229 | 229 | }); |