diff --git a/src/PhpSpreadsheet/Reader/Security/XmlScanner.php b/src/PhpSpreadsheet/Reader/Security/XmlScanner.php index 889a06f1..3c8c4209 100644 --- a/src/PhpSpreadsheet/Reader/Security/XmlScanner.php +++ b/src/PhpSpreadsheet/Reader/Security/XmlScanner.php @@ -18,7 +18,7 @@ class XmlScanner public function __construct($pattern = 'pattern = $pattern; - $this->libxmlDisableEntityLoader = $this->IdentifyLibxmlDisableEntityLoaderAvailability(); + $this->libxmlDisableEntityLoader = $this->identifyLibxmlDisableEntityLoaderAvailability(); if ($this->libxmlDisableEntityLoader) { libxml_disable_entity_loader(false);