summaryrefslogtreecommitdiff
path: root/tests/classes/type_hinting_002.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/classes/type_hinting_002.phpt')
-rw-r--r--tests/classes/type_hinting_002.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/classes/type_hinting_002.phpt b/tests/classes/type_hinting_002.phpt
index 23d201a51a..a491a26a62 100644
--- a/tests/classes/type_hinting_002.phpt
+++ b/tests/classes/type_hinting_002.phpt
@@ -11,7 +11,7 @@ $o = new Foo;
$o->a($o);
?>
--EXPECTF--
-Fatal error: Uncaught TypeError: Argument 1 passed to Foo::a() must be an instance of NonExisting, instance of Foo given, called in %s on line %d and defined in %s:%d
+Fatal error: Uncaught TypeError: Foo::a() expects argument #1 ($foo) to be of type NonExisting, Foo given, called in %s on line %d and defined in %s:%d
Stack trace:
#0 %s(%d): Foo->a(Object(Foo))
#1 {main}