From 7b1dc582ed2ff7c2b0d62e6b69b67e10492a0aa8 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Thu, 20 Aug 2020 14:13:49 +0200 Subject: [PATCH] Use global namespace for generic call to \strtotime in MD_STD::strtotime --- MD_STD.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MD_STD.php b/MD_STD.php index 59e4848..ec49462 100644 --- a/MD_STD.php +++ b/MD_STD.php @@ -163,7 +163,7 @@ class MD_STD { */ public static function strtotime(string $datetime):int { - $output = strtotime($datetime); + $output = \strtotime($datetime); if ($output === false) throw new MDInvalidInputDate("Invalid input date {$datetime}."); return $output;