Project

General

Profile

Actions

Feature proposal #8492

closed

Implement strict getter functions for table and param objects

Added by krileon over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
29 April 2021
Due date:
% Done:

100%

Estimated time:

Description

Constantly putting GetterInterface::INT and other type cleaning all over the place creates an absolute massive amount of clutter, has mixed return type, and is a nightmare to review. Implement strict typed functions (once minimum PHP is set to 7.4 these can have ACTUAL return types of ?int for nullable). These functions would just get getInt, getString, etc..

Actions

Also available in: Atom PDF