summaryrefslogtreecommitdiff
path: root/tests/lang/type_hints_001.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/type_hints_001.phpt')
-rw-r--r--tests/lang/type_hints_001.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lang/type_hints_001.phpt b/tests/lang/type_hints_001.phpt
index f82a53fe75..eb17ff5b8d 100644
--- a/tests/lang/type_hints_001.phpt
+++ b/tests/lang/type_hints_001.phpt
@@ -20,7 +20,7 @@ type_hint_foo($bar);
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: Argument 1 passed to type_hint_foo() must be an instance of Foo, instance of Bar given, called in %s on line 16 and defined in %s:9
+Fatal error: Uncaught TypeError: type_hint_foo() expects argument #1 ($a) to be of type Foo, Bar given, called in %s on line 16 and defined in %s:9
Stack trace:
#0 %s(%d): type_hint_foo(Object(Bar))
#1 {main}