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