PHP 8.1 RFC: Add return type declarations for internal methods

Add return type declarations for internal methods
PHP 8.1
Implemented
Return types in PHP built-in class methods and deprecation notices

RFC Vote: Add return type declarations for internal methods

Implemented
-
>= 2/3
Yes: 17No: 7

Add return type declarations for internal methods

TypeImprovement
Version PHP 8.1
Subscribe to PHP.Watch newsletter for monthly updates

You will receive an email on last Wednesday of every month and on major PHP releases with new articles related to PHP, upcoming changes, new features and what's changing in the language. No marketing emails, no selling of your contacts, no click-tracking, and one-click instant unsubscribe from any email you receive.