Skip to content

Commit da09919

Browse files
committed
Fix cs on image crop demo
1 parent 07594e9 commit da09919

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

demo/src/Crop/Image/Analyzer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ public function getRelevantArea(string $imageData): RelevantArea
5858
}
5959
}
6060

61-
return new RelevantArea((int) $xMin, (int)$yMin, (int)$xMax, (int)$yMax);
61+
return new RelevantArea((int) $xMin, (int) $yMin, (int) $xMax, (int) $yMax);
6262
}
6363
}

demo/src/Crop/Image/Resampler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,6 @@ public function resample(string $imageData, RelevantArea $area, string $format,
8888
imagedestroy($resampled);
8989
unlink($filePath);
9090

91-
return 'data:'.explode(';', explode(':', $imageData, 2)[1], 2)[0].';base64,'. base64_encode($imageContent);
91+
return 'data:'.explode(';', explode(':', $imageData, 2)[1], 2)[0].';base64,'.base64_encode($imageContent);
9292
}
9393
}

0 commit comments

Comments
 (0)