From 5f06ec8d28322251eab6c4ac1690f8f921baaca7 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Fri, 8 Oct 2021 12:31:12 +0200 Subject: [PATCH] Improve getCallableName() helper function --- src/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/functions.php b/src/includes/functions.php index 5827514a..11b8f632 100644 --- a/src/includes/functions.php +++ b/src/includes/functions.php @@ -631,7 +631,7 @@ function withoutAccents($string){ **/ function getCallableName($callable) { if (is_string($callable)) { - return $callable; + return $callable.'()'; } elseif(is_array($callable) && count($callable)==2) { if (is_string($callable[0])) {