Skip to content

Commit

Permalink
Fixed PHPStan errors introduced in PR OpenMage#1325. (OpenMage#2207)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiatng authored Jun 9, 2022
1 parent c450d45 commit 90fb732
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ protected function _registerProductEvent(Mage_Index_Model_Event $event)
{
$eventType = $event->getType();
if ($eventType == Mage_Index_Model_Event::TYPE_SAVE) {
/** @var Varien_Object|Mage_Catalog_Model_Product $product */
/** @var Mage_Catalog_Model_Product $product */
$product = $event->getDataObject();
/**
* Check if product categories data was changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Mage_Catalog_Model_Resource_Product_Attribute_Backend_Urlkey extends Mage_
/**
* Before save
*
* @param Varien_Object $object
* @param Mage_Catalog_Model_Product $object
* @return $this
*/
public function beforeSave($object)
Expand All @@ -58,7 +58,7 @@ public function beforeSave($object)
/**
* Refresh product rewrites
*
* @param Varien_Object $object
* @param Mage_Catalog_Model_Product $object
* @return $this
*/
public function afterSave($object)
Expand Down

0 comments on commit 90fb732

Please sign in to comment.