summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/rfc001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/rfc001.phpt')
-rw-r--r--Zend/tests/return_types/rfc001.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/return_types/rfc001.phpt b/Zend/tests/return_types/rfc001.phpt
index cbe2335afb..f9cdbec2b7 100644
--- a/Zend/tests/return_types/rfc001.phpt
+++ b/Zend/tests/return_types/rfc001.phpt
@@ -9,7 +9,7 @@ function get_config(): array {
get_config();
--EXPECTF--
-Fatal error: Uncaught TypeError: Return value of get_config() must be of type array, int returned in %s:%d
+Fatal error: Uncaught TypeError: get_config(): Return value must be of type array, int returned in %s:%d
Stack trace:
#0 %s(%d): get_config()
#1 {main}