Skip to content

Commit

Permalink
phpstan typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel committed Oct 27, 2024
1 parent bef5201 commit 7a2ae70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Catalog/Model/Url.php
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ final public function getSluggerConfig(?string $locale): array
$convertNode = Mage::getConfig()->getNode('default/url/convert/' . $locale);
if ($convertNode instanceof Mage_Core_Model_Config_Element) {
$custom = [];
/** @var Mage_Core_Model_Config_Element $configNode */
/** @var Mage_Core_Model_Config_Element $node */
foreach ($convertNode->children() as $node) {
if (property_exists($node, 'from') && property_exists($node, 'to')) {
$custom[(string) $node->from] = (string) $node->to;
Expand Down

0 comments on commit 7a2ae70

Please sign in to comment.