diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-02-25 20:58:33 +0100 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-02-26 15:00:08 +0100 |
commit | 960318ed95d17bd30c2896e2f3189ebffb965dce (patch) | |
tree | 2890972c266dabe649a44b540869a49e41a3e450 /Zend/tests/bug39003.phpt | |
parent | c7094d892639fedffb67c273f8fd44f3ffff86d6 (diff) | |
download | php-git-960318ed95d17bd30c2896e2f3189ebffb965dce.tar.gz |
Change argument error message format
Closes GH-5211
Diffstat (limited to 'Zend/tests/bug39003.phpt')
-rw-r--r-- | Zend/tests/bug39003.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/bug39003.phpt b/Zend/tests/bug39003.phpt index 758e3f9c83..5f7c784976 100644 --- a/Zend/tests/bug39003.phpt +++ b/Zend/tests/bug39003.phpt @@ -20,7 +20,7 @@ test($obj); echo "Done\n"; ?> --EXPECTF-- -Fatal error: Uncaught TypeError: test() expects argument #1 ($object) to be of type OtherClassName, ClassName given, called in %s on line %d and defined in %s:%d +Fatal error: Uncaught TypeError: test(): Argument #1 ($object) must be of type OtherClassName, ClassName given, called in %s:%d Stack trace: #0 %s(%d): test(Object(ClassName)) #1 {main} |