Url::fromPath(): var_export() input value to complain about
... not to hide its type.
This commit is contained in:
parent
d918d6c86f
commit
74d5d69085
|
@ -166,8 +166,8 @@ class Url
|
||||||
|
|
||||||
if (! is_string($url)) {
|
if (! is_string($url)) {
|
||||||
throw new ProgrammingError(
|
throw new ProgrammingError(
|
||||||
'url "%s" is not a string',
|
'url %s is not a string',
|
||||||
$url
|
var_export($url, true)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue