Completed
Push — master ( a11e28...5757bc )
by Pavel
03:01
created
src/Grid/Columns/ImageColumn.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.