The behavior of array_key_exists changed in PHP 8, and it no longer accepts an array-like object; but only arrays. This causes an issue on the SeparableField which gets a custom sublabel through this method on the field object.
This PR fixes the problem by using the \ArrayAccess ability in combination with the Null Coalescing Operator (??).
The behavior of
array_key_exists
changed in PHP 8, and it no longer accepts an array-like object; but only arrays. This causes an issue on theSeparableField
which gets a custom sublabel through this method on the field object.This PR fixes the problem by using the
\ArrayAccess
ability in combination with the Null Coalescing Operator (??
).