Catrope added a comment.

  The relevant code is
  
                $layout->appendContent(
                        ...$this->getCaptionsContent(
                                $entity->getLabels(),
                                $this->getLanguagesOrderedByFallbackChain( 
$entity )
                        )
                );
  
  I think the simplest fix would be to simply remove the spread operator 
(`...`), since `appendContent()` can also be called with an array as the only 
parameter.

TASK DETAIL
  https://phabricator.wikimedia.org/T259745

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Catrope
Cc: Catrope, Aklapper, brennen, CBogen, Akuckartz, darthmon_wmde, Nandana, 
Lahi, Gq86, Ramsey-WMF, Pablo-WMDE, GoranSMilovanovic, QZanden, LawExplorer, 
Poyekhali, _jensen, rosalieper, Taiwania_Justo, Scott_WUaS, Jonas, Ixocactus, 
Wong128hk, Wikidata-bugs, aude, El_Grafo, Dinoguy1000, Lydia_Pintscher, 
Jdforrester-WMF, Steinsplitter, Mbch331, Rxy, Jay8g, Krenair, Keegan
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to