Skip to content

Commit

Permalink
Fix phpdoc for saveAttribute()
Browse files Browse the repository at this point in the history
  • Loading branch information
Caprico85 authored and Andreas Schuster committed Jul 16, 2022
1 parent 0d99717 commit 1dbd71f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .github/phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/code/core/Mage/Sales/Model/Resource/Order/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1dbd71f

Please sign in to comment.