Add type hint in function parameters and return values

Created on 12 October 2020, over 3 years ago
Updated 26 October 2023, 8 months ago

Problem/Motivation

Add type hint in function parameters and return values.
As they are available since PHP <=7.1 (resp. <=7.2 for 'objects') and PHP 7.1 is already end of life, we should be able to add this without breaking anything. (https://www.php.net/supported-versions.php)

Proposed resolution

Add type hint in function parameters and return values.

✨ Feature request
Status

Fixed

Version

1.19

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland marco-s SwitzerlandπŸ‡¨πŸ‡­

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024