summaryrefslogtreecommitdiff
path: root/Zend/tests/object_types/return_type_in_class.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/object_types/return_type_in_class.phpt')
-rw-r--r--Zend/tests/object_types/return_type_in_class.phpt1
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/tests/object_types/return_type_in_class.phpt b/Zend/tests/object_types/return_type_in_class.phpt
index 2d0f771106..599b1a6ddc 100644
--- a/Zend/tests/object_types/return_type_in_class.phpt
+++ b/Zend/tests/object_types/return_type_in_class.phpt
@@ -18,7 +18,6 @@ $three = new class extends Two {
};
$three->a();
--EXPECTF--
-
Fatal error: Uncaught TypeError: Return value of class@anonymous::a() must be an object, integer returned in %s:13
Stack trace:
#0 %s(16): class@anonymous->a()