From d2eb35fbb2d50e8c7b0be994f7e6a4e37ee01ff5 Mon Sep 17 00:00:00 2001 From: Bastian Allgeier Date: Thu, 29 Feb 2024 17:43:33 +0100 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20redeclare=20the=20dump=20helper?= =?UTF-8?q?=20if=20it=20already=20exists?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/helpers.php b/config/helpers.php index 12f86a9e52..2dc83d8956 100644 --- a/config/helpers.php +++ b/config/helpers.php @@ -109,7 +109,7 @@ function deprecated(string $message): bool } } -if (Helpers::hasOverride('dump') === false) { // @codeCoverageIgnore +if (Helpers::hasOverride('dump') === false && function_exists('dump') === false) { // @codeCoverageIgnore /** * Simple object and variable dumper * to help with debugging.