Skip to content

Commit 7730496

Browse files
committed
Add redirect for yield keyword
1 parent 64efd46 commit 7730496

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/errors.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,7 @@ function is_known_term (string $term): ?string {
456456
'timestamp' => 'function.time.php',
457457
'try' => 'language.exceptions.php',
458458
'upload' => 'features.file-upload.php',
459+
'yield' => 'language.generators.syntax.php#control-structures.yield',
459460
];
460461

461462
return $terms[$term] ?? null;

0 commit comments

Comments
 (0)