Passed
Push — master ( 269417...c6f060 )
by Tobias
02:27
created
src/WrkLst/DocxMustache/DocImage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 }
Please login to merge, or discard this patch.