From 01ac23229b936a29e9d3d934aaaa312fbee62b38 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Tue, 20 Jul 2021 03:34:01 +0200 Subject: [PATCH] Use MD_STD::unlink over unlink in mime type check --- src/MD_STD.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MD_STD.php b/src/MD_STD.php index c6fc24a..262ad61 100644 --- a/src/MD_STD.php +++ b/src/MD_STD.php @@ -594,7 +594,7 @@ final class MD_STD { \curl_close($ch); $mime_type = MD_STD::mime_content_type($tmp_file); - \unlink($tmp_file); + self::unlink($tmp_file); return $mime_type;