diff --git a/.github/phpstan-baseline.neon b/.github/phpstan-baseline.neon index 7557d4c7334..7c65d44ed5c 100644 --- a/.github/phpstan-baseline.neon +++ b/.github/phpstan-baseline.neon @@ -7010,11 +7010,6 @@ parameters: count: 1 path: ../app/code/core/Mage/Sales/Model/Recurring/Profile.php - - - message: "#^Variable \\$attribute in empty\\(\\) always exists and is not falsy\\.$#" - count: 1 - path: ../app/code/core/Mage/Sales/Model/Resource/Order/Abstract.php - - message: "#^Cannot call method updateOnRelatedRecordChanged\\(\\) on Mage_Core_Model_Resource_Db_Collection_Abstract\\|false\\.$#" count: 1 diff --git a/app/code/core/Mage/Sales/Model/Resource/Order/Abstract.php b/app/code/core/Mage/Sales/Model/Resource/Order/Abstract.php index a900475dd05..aa12fdf504c 100644 --- a/app/code/core/Mage/Sales/Model/Resource/Order/Abstract.php +++ b/app/code/core/Mage/Sales/Model/Resource/Order/Abstract.php @@ -323,7 +323,7 @@ protected function _afterSaveAttribute(Mage_Core_Model_Abstract $object, $attrib * Perform actions after object save * * @param Mage_Core_Model_Abstract $object - * @param string $attribute + * @param string|string[]|Mage_Eav_Model_Entity_Attribute_Abstract $attribute * @return $this */ public function saveAttribute(Mage_Core_Model_Abstract $object, $attribute)