@@ -22,8 +22,8 @@ |
||
| 22 | 22 | function getCellContent($entity, ?DataGrid $grid) |
| 23 | 23 | { |
| 24 | 24 | $value = (string)$this->getCellValue($entity); |
| 25 | - if (!empty($value)){ |
|
| 26 | - if ($this->format === 'html'){ |
|
| 25 | + if (!empty($value)) { |
|
| 26 | + if ($this->format === 'html') { |
|
| 27 | 27 | return $grid->getTemplate()->renderBlock('grid_img', [ |
| 28 | 28 | 'src' => $value, |
| 29 | 29 | 'width' => $this->width, |