@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | |
70 | 70 | $h = null; |
71 | 71 | |
72 | - $img_rework->resize($w, $h, function ($constraint) { |
|
72 | + $img_rework->resize($w, $h, function($constraint) { |
|
73 | 73 | $constraint->aspectRatio(); |
74 | 74 | $constraint->upsize(); |
75 | 75 | }); |
@@ -83,8 +83,8 @@ discard block |
||
83 | 83 | return [ |
84 | 84 | 'height' => $new_height, |
85 | 85 | 'width' => $new_width, |
86 | - 'height_emus' => (int)($new_height*5187.627118644067797), |
|
87 | - 'width_emus' => (int)($new_width*5187.627118644067797), |
|
86 | + 'height_emus' => (int) ($new_height * 5187.627118644067797), |
|
87 | + 'width_emus' => (int) ($new_width * 5187.627118644067797), |
|
88 | 88 | ]; |
89 | 89 | } |
90 | 90 | } |