| @@ -50,8 +50,9 @@ | ||
| 50 | 50 | parent::__construct($parent); | 
| 51 | 51 | $this->layout = $layout; | 
| 52 | 52 | |
| 53 | - if (is_float($width)) | |
| 54 | - $width = round($width, 2); | |
| 53 | +        if (is_float($width)) { | |
| 54 | + $width = round($width, 2); | |
| 55 | + } | |
| 55 | 56 | $this->width = $width; | 
| 56 | 57 | } | 
| 57 | 58 | |
| @@ -36,12 +36,14 @@ | ||
| 36 | 36 | $this->collection = $collection; | 
| 37 | 37 | $this->occurrenceKey = $occurrenceKey; | 
| 38 | 38 | |
| 39 | - if (is_float($width)) | |
| 40 | - $width = round($width, 2); | |
| 39 | +        if (is_float($width)) { | |
| 40 | + $width = round($width, 2); | |
| 41 | + } | |
| 41 | 42 | $this->width = $width; | 
| 42 | 43 | |
| 43 | - if (is_float($height)) | |
| 44 | - $height = round($height, 2); | |
| 44 | +        if (is_float($height)) { | |
| 45 | + $height = round($height, 2); | |
| 46 | + } | |
| 45 | 47 | $this->height = $height; | 
| 46 | 48 | } | 
| 47 | 49 | |