fix tests

This commit is contained in:
Dennis Eichhorn 2024-04-25 02:08:09 +00:00
parent 326e2172ec
commit e11dc38385

View File

@ -151,8 +151,13 @@ final class TesseractOcr
$parsed = '';
}
\unlink($filepath);
\unlink($temp);
if (\is_file($filepath)) {
\unlink($filepath);
}
if (\is_file($temp)) {
\unlink($temp);
}
return \trim($parsed);
}