summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/inheritance003.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/inheritance003.phpt')
-rw-r--r--Zend/tests/return_types/inheritance003.phpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/tests/return_types/inheritance003.phpt b/Zend/tests/return_types/inheritance003.phpt
index 0b22dd55d4..e8ebe90cd1 100644
--- a/Zend/tests/return_types/inheritance003.phpt
+++ b/Zend/tests/return_types/inheritance003.phpt
@@ -1,6 +1,5 @@
--TEST--
Return type mismatch; implements interface
-
--FILE--
<?php
@@ -11,6 +10,5 @@ interface A {
class B implements A {
function foo(): StdClass {}
}
-
--EXPECTF--
Fatal error: Declaration of B::foo(): StdClass must be compatible with A::foo(): A in %s on line %d