summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/rfc004.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/rfc004.phpt')
-rw-r--r--Zend/tests/return_types/rfc004.phpt2
1 files changed, 0 insertions, 2 deletions
diff --git a/Zend/tests/return_types/rfc004.phpt b/Zend/tests/return_types/rfc004.phpt
index 654fb92321..ed40e41b09 100644
--- a/Zend/tests/return_types/rfc004.phpt
+++ b/Zend/tests/return_types/rfc004.phpt
@@ -1,6 +1,5 @@
--TEST--
RFC example: missing return type on override
-
--FILE--
<?php
@@ -16,6 +15,5 @@ class UserGateway_MySql implements UserGateway {
return new User;
}
}
-
--EXPECTF--
Fatal error: Declaration of UserGateway_MySql::find($id) must be compatible with UserGateway::find($id): User in %s on line 9