Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type casting and minor fixes in preparation for declare strict_types=1 #3648

Merged
merged 15 commits into from
May 6, 2024
Merged
2 changes: 1 addition & 1 deletion app/code/core/Mage/Customer/Model/Address/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
$type = new Varien_Object();
$htmlEscape = strtolower((string)$typeConfig->htmlEscape);
$htmlEscape = !($htmlEscape == 'false' || $htmlEscape == '0' || $htmlEscape == 'no'
|| !strlen((string)$typeConfig->htmlEscape));
|| !strlen($htmlEscape);

Check failure on line 104 in app/code/core/Mage/Customer/Model/Address/Config.php

View workflow job for this annotation

GitHub Actions / PHPStan / Analyze (ubuntu-latest, 8.3)

Syntax error, unexpected ';' on line 104
fballiano marked this conversation as resolved.
Show resolved Hide resolved
$type->setCode($typeCode)
->setTitle((string)$typeConfig->title)
->setDefaultFormat(Mage::getStoreConfig($path, $store))
Expand Down
Loading