if ( $option == 'flat' ) { // fold footerlinks into a single array using a bit of trickery $validFooterLinks = array_merge( ...array_values( $validFooterLinks ) ); }
In 1.31 similar code that uses call_user_func_array has the same problem.
On PHP < 7.4, array_merge will emit a warning if passed no arguments (https://3v4l.org/I4Bpc).
This was reported downstream at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971985.