Skip to content

Commit a0702ef

Browse files
committed
...
1 parent 7a44301 commit a0702ef

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Zend/tests/return_hint/014.phpt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ Basic return hints no yield
55
function foo() : array {
66
yield;
77
}
8-
9-
foo();
108
?>
119
--EXPECTF--
1210
Fatal error: The "yield" expression can not be used inside a function with a return type hint in %s on line %d

0 commit comments

Comments
 (0)