summaryrefslogtreecommitdiff
path: root/Zend/tests/object_types/type_hint_in_class_method.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/object_types/type_hint_in_class_method.phpt')
-rw-r--r--Zend/tests/object_types/type_hint_in_class_method.phpt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zend/tests/object_types/type_hint_in_class_method.phpt b/Zend/tests/object_types/type_hint_in_class_method.phpt
index e41caa0e70..72b0f15704 100644
--- a/Zend/tests/object_types/type_hint_in_class_method.phpt
+++ b/Zend/tests/object_types/type_hint_in_class_method.phpt
@@ -11,9 +11,8 @@ $one = new One();
$one->a(new One());
$one->a(123);
--EXPECTF--
-
Fatal error: Uncaught TypeError: Argument 1 passed to One::a() must be an object, integer given, called in %s:4
Stack trace:
#0 %s(9): One->a(123)
#1 {main}
- thrown in %s on line 4 \ No newline at end of file
+ thrown in %s on line 4