Skip to content

Commit

Permalink
PHP 8.1 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
srenon committed Feb 25, 2023
1 parent f2fbee6 commit 40dd6d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/Config/Source/Sections.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function getSections()
$fileList = $this->utilityFiles->getLayoutFiles(['area_name' => 'frontend'], false);

foreach ($fileList as $configFile) {
if (strpos($configFile, 'customer_account.xml') !== false) {
if (strpos((string) $configFile, 'customer_account.xml') !== false) {
$configXml = simplexml_load_file($configFile);
$this->processXmlElement($configXml);
}
Expand Down

0 comments on commit 40dd6d6

Please sign in to comment.