summaryrefslogtreecommitdiff
path: root/Zend/tests/object_types/missing_return_type_inheritance_in_interface.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/object_types/missing_return_type_inheritance_in_interface.phpt')
-rw-r--r--Zend/tests/object_types/missing_return_type_inheritance_in_interface.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/tests/object_types/missing_return_type_inheritance_in_interface.phpt b/Zend/tests/object_types/missing_return_type_inheritance_in_interface.phpt
index eb0e98b635..e3652920c8 100644
--- a/Zend/tests/object_types/missing_return_type_inheritance_in_interface.phpt
+++ b/Zend/tests/object_types/missing_return_type_inheritance_in_interface.phpt
@@ -10,5 +10,6 @@ interface One {
interface Two extends One {
public function a();
}
+?>
--EXPECTF--
Fatal error: Declaration of Two::a() must be compatible with One::a(): object in %s on line %d