Skip to content

Commit 02ed15b

Browse files
author
Jakub Caban
committed
Code Style
1 parent 688ae9b commit 02ed15b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Commands/LimitColorsCommand.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ function () use ($image, $bits, $matte) {
3636
$core = $image->getCore();
3737

3838
$alpha = null;
39-
if($core->hasAlpha()) {
39+
if ($core->hasAlpha()) {
4040
$alpha = $this->extractAlphaChannel($core);
4141
$core = $this->flattenImage($core);
4242
}
4343

44-
if($matte) {
44+
if ($matte) {
4545
$matteColor = new Color($matte);
4646

4747
$canvas = $image->getDriver()->newImage(
@@ -59,7 +59,7 @@ function () use ($image, $bits, $matte) {
5959
]
6060
);
6161
$core = Image::pngload_buffer($buffer);
62-
if($alpha) {
62+
if ($alpha) {
6363
$core = $core->bandjoin($alpha);
6464
}
6565

0 commit comments

Comments
 (0)