summaryrefslogtreecommitdiff
path: root/Zend/tests/object_types/return_type_inheritance_in_interface.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/object_types/return_type_inheritance_in_interface.phpt')
-rw-r--r--Zend/tests/object_types/return_type_inheritance_in_interface.phpt1
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/tests/object_types/return_type_inheritance_in_interface.phpt b/Zend/tests/object_types/return_type_inheritance_in_interface.phpt
index fe1f6e6c0c..249c7ea002 100644
--- a/Zend/tests/object_types/return_type_inheritance_in_interface.phpt
+++ b/Zend/tests/object_types/return_type_inheritance_in_interface.phpt
@@ -17,7 +17,6 @@ $three = new class implements 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: