From 74d5d690855f8720593e43b5c2c1f94808be7dfc Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Thu, 6 Aug 2020 10:19:17 +0200 Subject: [PATCH] Url::fromPath(): var_export() input value to complain about ... not to hide its type. --- library/Icinga/Web/Url.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/Icinga/Web/Url.php b/library/Icinga/Web/Url.php index db7172283..57758e0fe 100644 --- a/library/Icinga/Web/Url.php +++ b/library/Icinga/Web/Url.php @@ -166,8 +166,8 @@ class Url if (! is_string($url)) { throw new ProgrammingError( - 'url "%s" is not a string', - $url + 'url %s is not a string', + var_export($url, true) ); }