change to strict comparison

This commit is contained in:
Dennis Eichhorn 2022-11-25 23:49:56 +01:00
parent 8c3d4fffa5
commit 868ad1d5c4
3 changed files with 4 additions and 4 deletions

View File

@ -86,7 +86,7 @@ final class Kernel
$im = \imagecreatefromgif($inPath);
}
if ($im == false) {
if ($im === false) {
return;
}

View File

@ -44,7 +44,7 @@ final class Skew
$im = \imagecreatefromgif($inPath);
}
if ($im == false) {
if ($im === false) {
return;
}
@ -97,7 +97,7 @@ final class Skew
}
$im = \imagerotate($im, $bestDegree, 1);
if ($im == false) {
if ($im === false) {
return;
}

View File

@ -50,7 +50,7 @@ final class Thresholding
$im = \imagecreatefromgif($inPath);
}
if ($im == false) {
if ($im === false) {
return;
}