summaryrefslogtreecommitdiff
path: root/Zend/tests/return_types/026.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/return_types/026.phpt')
-rw-r--r--Zend/tests/return_types/026.phpt1
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/tests/return_types/026.phpt b/Zend/tests/return_types/026.phpt
index 5693e95c7e..f08c527512 100644
--- a/Zend/tests/return_types/026.phpt
+++ b/Zend/tests/return_types/026.phpt
@@ -4,6 +4,5 @@ Return type of parent is not allowed in function
<?php
function test(): parent {}
-
--EXPECTF--
Fatal error: Cannot use "parent" when no class scope is active in %s on line %d