Skip to content

Commit 82277de

Browse files
Merge pull request #20033 from kamil-tekiela/Remove-isset
Remove isset
2 parents 73de1b8 + 88984ce commit 82277de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Image/ImageWrapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static function create(int $width, int $height, array|null $background =
4848
return null;
4949
}
5050

51-
if (! isset($background['red'], $background['green'], $background['blue'])) {
51+
if ($background === null) {
5252
return new self($image);
5353
}
5454

0 commit comments

Comments
 (0)