summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionProperty_constructor_error.phpt
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-03-18 21:39:56 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-03-23 17:23:45 +0100
commitd7b73de8c9299ef1e7c55f22449dff3e0833f68e (patch)
treeffcd00ce0bd09844a0a36271d288ae622379f76a /ext/reflection/tests/ReflectionProperty_constructor_error.phpt
parent568592f1e9481c496fe2f141c4330fa653b6b20b (diff)
downloadphp-git-d7b73de8c9299ef1e7c55f22449dff3e0833f68e.tar.gz
Improve error messages of ext/reflection
Closes GH-5277
Diffstat (limited to 'ext/reflection/tests/ReflectionProperty_constructor_error.phpt')
-rw-r--r--ext/reflection/tests/ReflectionProperty_constructor_error.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/tests/ReflectionProperty_constructor_error.phpt b/ext/reflection/tests/ReflectionProperty_constructor_error.phpt
index 38a34681db..a2df954309 100644
--- a/ext/reflection/tests/ReflectionProperty_constructor_error.phpt
+++ b/ext/reflection/tests/ReflectionProperty_constructor_error.phpt
@@ -38,7 +38,7 @@ Non-existent class:
Class NonExistentClass does not exist
Wrong property parameter type:
-The parameter class is expected to be either a string or an object
+ReflectionProperty::__construct(): Argument #1 ($class) must be of type object|string, int given
Non-existent property:
Property TestClass::$nonExistentProperty does not exist