summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/inheritance005.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/inheritance005.phpt')
-rw-r--r--Zend/tests/return_types/inheritance005.phpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/tests/return_types/inheritance005.phpt b/Zend/tests/return_types/inheritance005.phpt
index 31e0e11dd8..7415a72b9f 100644
--- a/Zend/tests/return_types/inheritance005.phpt
+++ b/Zend/tests/return_types/inheritance005.phpt
@@ -1,6 +1,5 @@
--TEST--
Internal covariant return type of self
-
--FILE--
<?php
class Foo {
@@ -14,6 +13,5 @@ class Bar extends Foo {
return new Bar;
}
}
-
--EXPECTF--
Fatal error: Declaration of Bar::test(): Bar must be compatible with Foo::test(): Foo in %sinheritance005.php on line 12