@@ -140,9 +140,9 @@ discard block |
||
| 140 | 140 | $valueCalculators[$column->getId()] = $column->getValueCalculator(); |
| 141 | 141 | $valueFormatters[$column->getId()] = $prevFormatter = $column->getValueFormatter(); |
| 142 | 142 | $column->setValueCalculator(null); |
| 143 | - $column->setValueFormatter(function ($value) use ($prevFormatter, $column) { |
|
| 143 | + $column->setValueFormatter(function($value) use ($prevFormatter, $column) { |
|
| 144 | 144 | $operation = $this->getOperation($column->getId()); |
| 145 | - if ($operation === static::OPERATION_IGNORE){ |
|
| 145 | + if ($operation === static::OPERATION_IGNORE) { |
|
| 146 | 146 | return null; |
| 147 | 147 | } |
| 148 | 148 | if ($prevFormatter) { |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | } |
| 151 | 151 | $operation = $this->getOperation($column->getId()); |
| 152 | 152 | if ($value !== null && is_string($operation) && array_key_exists($operation, $this->valuePrefixes)) { |
| 153 | - $value = $this->valuePrefixes[$operation] . ' ' . $value; |
|
| 153 | + $value = $this->valuePrefixes[$operation].' '.$value; |
|
| 154 | 154 | } |
| 155 | 155 | return $value; |
| 156 | 156 | }); |
@@ -244,7 +244,7 @@ discard block |
||
| 244 | 244 | protected function replaceGridDataInjector(Grid $grid) |
| 245 | 245 | { |
| 246 | 246 | /** @var CollectionView $collectionView */ |
| 247 | - $grid->getCollectionView()->setDataInjector(function ($dataRow) use ($grid) { |
|
| 247 | + $grid->getCollectionView()->setDataInjector(function($dataRow) use ($grid) { |
|
| 248 | 248 | $grid->setCurrentRow($dataRow); |
| 249 | 249 | $this->processCurrentRow(); |
| 250 | 250 | }); |