Url::fromPath(): var_export() input value to complain about

... not to hide its type.
This commit is contained in:
Alexander A. Klimov 2020-08-06 10:19:17 +02:00 committed by Johannes Meyer
parent d918d6c86f
commit 74d5d69085
1 changed files with 2 additions and 2 deletions

View File

@ -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)
);
}