Revert type strictness regression
PHP 7.0 doesn't support nullable types, so we can't type-hint this as ?int. If we declare it as int, users can't explicitly pass NULL.
Showing
+1 -1
Please register or sign in to comment
PHP 7.0 doesn't support nullable types, so we can't type-hint this as ?int. If we declare it as int, users can't explicitly pass NULL.