diff --git a/psalm-baseline.xml b/psalm-baseline.xml index dcf0fe7..8693360 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -115,8 +115,6 @@ - - diff --git a/src/Image.php b/src/Image.php index afb03a1..bcf25fd 100644 --- a/src/Image.php +++ b/src/Image.php @@ -14,7 +14,6 @@ use function imagecolorat; use function imagecreatefrompng; use function imagecreatetruecolor; -use function imagedestroy; use function imagefilledellipse; use function imagefilledrectangle; use function imageftbbox; @@ -619,8 +618,6 @@ protected function generateImage($id, $word) } imagepng($img2, $imgFile); - imagedestroy($img); - imagedestroy($img2); } /**