Using {} for array or string offsets is deprecated in PHP 7.4.
I know this file is generated by civix, but this issue is fixed in civix already (totten/civix#177).
If a newer version of civix (not sure which was the first, v21.04.1 is OK) will be used when generating new code, this will be solved.
Until that this patch fixes this issue, so it could be compatible with PHP 7.4.
Using {} for array or string offsets is deprecated in PHP 7.4.
I know this file is generated by civix, but this issue is fixed in civix already (totten/civix#177). If a newer version of civix (not sure which was the first, v21.04.1 is OK) will be used when generating new code, this will be solved.
Until that this patch fixes this issue, so it could be compatible with PHP 7.4.