Fixed PHP-4ism where it was common (but still wrong) to pass arrays by reference

This commit is contained in:
Derick Rethans
2025-05-29 14:18:00 +01:00
parent 9b5e865148
commit 0e2b88d212
2 changed files with 2 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ class XML_Presentation extends XML_Parser
* @param array Attributes of XML tag
* @return void
*/
function startHandler($parser, $element, &$attribs)
function startHandler($parser, $element, $attribs)
{
switch ($element) {
/* These tags can have other tags inside */

View File

@@ -98,7 +98,7 @@ class XML_Slide extends XML_Parser
* @param array Attributes of XML tag
* @return void
*/
function startHandler($parser, $element, &$attribs)
function startHandler($parser, $element, $attribs)
{
switch ($element) {
/* These tags can have other tags inside */