summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/005.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/005.phpt')
-rw-r--r--Zend/tests/return_types/005.phpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/tests/return_types/005.phpt b/Zend/tests/return_types/005.phpt
index a114b3ee93..f8d666fae5 100644
--- a/Zend/tests/return_types/005.phpt
+++ b/Zend/tests/return_types/005.phpt
@@ -1,6 +1,5 @@
--TEST--
Return value fails inheritance check in method
-
--FILE--
<?php
class foo {}
@@ -13,7 +12,6 @@ class qux {
$qux = new qux();
$qux->foo();
-
--EXPECTF--
Fatal error: Uncaught TypeError: Return value of qux::foo() must be an instance of foo, instance of qux returned in %s:%d
Stack trace: