Updated controllers, install and modules for PHP 8.x compatibility

This commit is contained in:
vishalsingh.qlo325
2025-05-23 15:08:00 +05:30
parent b9dbc449fe
commit 2f9c64d0fb
173 changed files with 688 additions and 939 deletions

View File

@@ -31,6 +31,7 @@ class InstallSimplexmlElement extends SimpleXMLElement
*
* @see SimpleXMLElement::addChild()
*/
#[\ReturnTypeWillChange]
public function addChild($name, $value = null, $namespace = null)
{
if ($value instanceof SimplexmlElement) {
@@ -57,6 +58,7 @@ class InstallSimplexmlElement extends SimpleXMLElement
*
* @see SimpleXMLElement::asXML()
*/
#[\ReturnTypeWillChange]
public function asXML($filename = null)
{
$dom = new DOMDocument('1.0');