diff options
Diffstat (limited to 'Zend/tests/object_types/return_type_in_function.phpt')
-rw-r--r-- | Zend/tests/object_types/return_type_in_function.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/object_types/return_type_in_function.phpt b/Zend/tests/object_types/return_type_in_function.phpt index 1c60759bb3..b94541c8d7 100644 --- a/Zend/tests/object_types/return_type_in_function.phpt +++ b/Zend/tests/object_types/return_type_in_function.phpt @@ -8,7 +8,7 @@ function a() : object { } a(); --EXPECTF-- -Fatal error: Uncaught TypeError: Return value of a() must be of type object, int returned in %s:4 +Fatal error: Uncaught TypeError: a(): Return value must be of type object, int returned in %s:%d Stack trace: #0 %s(6): a() #1 {main} |