Skip to content

[Sync-En] language: document the compile-time and runtime checks for never - #1412

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/never-checks
Open

lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-en/never-checks

Conversation

@lacatoire

Copy link
Copy Markdown
Member

Translation of php/doc-en#5906 (commit 18a1cc5): a return statement in a never function is a compile-time error, and reaching the end of one throws a TypeError. EN-Revision updated.

Fixed the untranslated union type link text and its missing full stop along the way.

Fixes: #1408

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Sync EN] Document the compile-time and runtime checks for never (#5906)

1 participant