diff --git a/.phpstan.dist.baseline.neon b/.phpstan.dist.baseline.neon
index 18291848aca..8e50e08bf4f 100644
--- a/.phpstan.dist.baseline.neon
+++ b/.phpstan.dist.baseline.neon
@@ -4860,11 +4860,6 @@ parameters:
count: 1
path: lib/Mage/DB/Mysqli.php
- -
- message: "#^Property Mage_HTTP_Client_Curl\\:\\:\\$_ch \\(object\\) does not accept resource\\.$#"
- count: 1
- path: lib/Mage/HTTP/Client/Curl.php
-
-
message: "#^Property Mage_HTTP_Client_Socket\\:\\:\\$_postFields is never read, only written\\.$#"
count: 1
diff --git a/.phpstan.dist.neon b/.phpstan.dist.neon
index 77ead18bbde..d56b4f77325 100644
--- a/.phpstan.dist.neon
+++ b/.phpstan.dist.neon
@@ -69,9 +69,5 @@ parameters:
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
treatPhpDocTypesAsCertain: false
- # For v1.12+ with "bleeding edge"
- ignoreErrors:
- -
- identifier: missingType.iterableValue
# universalObjectCratesClasses:
# - Varien_Object
diff --git a/app/Mage.php b/app/Mage.php
index f2b920667ad..dd016e03030 100644
--- a/app/Mage.php
+++ b/app/Mage.php
@@ -199,8 +199,6 @@ public static function getOpenMageVersion(): string
* Gets the detailed OpenMage version information
* @link https://openmage.github.io/supported-versions.html
* @link https://semver.org/
- *
- * @return array
*/
public static function getOpenMageVersionInfo(): array
{
@@ -410,9 +408,7 @@ public static function getStoreConfig($path, $store = null)
}
/**
- * @param string $path
* @param null|string|bool|int|Mage_Core_Model_Store $store
- * @return float
*/
public static function getStoreConfigAsFloat(string $path, $store = null): float
{
@@ -420,9 +416,7 @@ public static function getStoreConfigAsFloat(string $path, $store = null): float
}
/**
- * @param string $path
* @param null|string|bool|int|Mage_Core_Model_Store $store
- * @return int
*/
public static function getStoreConfigAsInt(string $path, $store = null): int
{
@@ -518,7 +512,6 @@ public static function addObserver($eventName, $callback, $data = [], $observerN
* and multiple observers matching event name pattern
*
* @param string $name
- * @param array $data
* @return Mage_Core_Model_App
*/
public static function dispatchEvent($name, array $data = [])
@@ -546,7 +539,6 @@ public static function getModel($modelClass = '', $arguments = [])
* Retrieve model object singleton
*
* @param string $modelClass
- * @param array $arguments
* @return Mage_Core_Model_Abstract|false
*/
public static function getSingleton($modelClass = '', array $arguments = [])
@@ -576,7 +568,6 @@ public static function getResourceModel($modelClass, $arguments = [])
* @param string $class
* @param Mage_Core_Controller_Request_Http $request
* @param Mage_Core_Controller_Response_Http $response
- * @param array $invokeArgs
* @return Mage_Core_Controller_Front_Action
*/
public static function getControllerInstance($class, $request, $response, array $invokeArgs = [])
@@ -588,7 +579,6 @@ public static function getControllerInstance($class, $request, $response, array
* Retrieve resource vodel object singleton
*
* @param string $modelClass
- * @param array $arguments
* @return object
*/
public static function getResourceSingleton($modelClass = '', array $arguments = [])
@@ -945,8 +935,6 @@ public static function log($message, $level = null, $file = '', $forceLog = fals
/**
* Write exception to log
- *
- * @param Throwable $e
*/
public static function logException(Throwable $e)
{
@@ -981,8 +969,6 @@ public static function getIsDeveloperMode()
/**
* Display exception
- *
- * @param Throwable $e
*/
public static function printException(Throwable $e, $extra = '')
{
diff --git a/app/code/core/Mage/Admin/Model/Acl/Assert/Ip.php b/app/code/core/Mage/Admin/Model/Acl/Assert/Ip.php
index b8cc71fe7ad..fa333d89a0d 100644
--- a/app/code/core/Mage/Admin/Model/Acl/Assert/Ip.php
+++ b/app/code/core/Mage/Admin/Model/Acl/Assert/Ip.php
@@ -24,9 +24,6 @@ class Mage_Admin_Model_Acl_Assert_Ip implements Zend_Acl_Assert_Interface
/**
* Check whether ip is allowed
*
- * @param Mage_Admin_Model_Acl $acl
- * @param Mage_Admin_Model_Acl_Role|null $role
- * @param Mage_Admin_Model_Acl_Resource|null $resource
* @param string|null $privilege
* @return bool|null
*/
diff --git a/app/code/core/Mage/Admin/Model/Acl/Assert/Time.php b/app/code/core/Mage/Admin/Model/Acl/Assert/Time.php
index bc5a5b323f2..a88100fd02c 100644
--- a/app/code/core/Mage/Admin/Model/Acl/Assert/Time.php
+++ b/app/code/core/Mage/Admin/Model/Acl/Assert/Time.php
@@ -24,9 +24,6 @@ class Mage_Admin_Model_Acl_Assert_Time implements Zend_Acl_Assert_Interface
/**
* Assert time
*
- * @param Mage_Admin_Model_Acl $acl
- * @param Mage_Admin_Model_Acl_Role|null $role
- * @param Mage_Admin_Model_Acl_Resource|null $resource
* @param string|null $privilege
* @return bool|null
*/
diff --git a/app/code/core/Mage/Admin/Model/Config.php b/app/code/core/Mage/Admin/Model/Config.php
index 5b6d99217f4..504acca68c7 100644
--- a/app/code/core/Mage/Admin/Model/Config.php
+++ b/app/code/core/Mage/Admin/Model/Config.php
@@ -71,7 +71,6 @@ public function __construct()
/**
* Load Acl resources from config
*
- * @param Mage_Admin_Model_Acl $acl
* @param Mage_Core_Model_Config_Element|Varien_Simplexml_Element $resource
* @param string $parentName
* @return $this
diff --git a/app/code/core/Mage/Admin/Model/Redirectpolicy.php b/app/code/core/Mage/Admin/Model/Redirectpolicy.php
index d8381674b1b..a32a79e61d0 100644
--- a/app/code/core/Mage/Admin/Model/Redirectpolicy.php
+++ b/app/code/core/Mage/Admin/Model/Redirectpolicy.php
@@ -38,8 +38,6 @@ public function __construct($parameters = [])
/**
* Redirect to startup page after logging in if request contains any params (except security key)
*
- * @param Mage_Admin_Model_User $user
- * @param Zend_Controller_Request_Http|null $request
* @param string|null $alternativeUrl
* @return null|string
*/
diff --git a/app/code/core/Mage/Admin/Model/Resource/Acl.php b/app/code/core/Mage/Admin/Model/Resource/Acl.php
index d51c19c9d2f..bd5880f9b99 100644
--- a/app/code/core/Mage/Admin/Model/Resource/Acl.php
+++ b/app/code/core/Mage/Admin/Model/Resource/Acl.php
@@ -75,8 +75,6 @@ public function loadAcl()
/**
* Load roles
*
- * @param Mage_Admin_Model_Acl $acl
- * @param array $rolesArr
* @return $this
*/
public function loadRoles(Mage_Admin_Model_Acl $acl, array $rolesArr)
@@ -106,8 +104,6 @@ public function loadRoles(Mage_Admin_Model_Acl $acl, array $rolesArr)
/**
* Load rules
*
- * @param Mage_Admin_Model_Acl $acl
- * @param array $rulesArr
* @return $this
*/
public function loadRules(Mage_Admin_Model_Acl $acl, array $rulesArr)
diff --git a/app/code/core/Mage/Admin/Model/Resource/Role.php b/app/code/core/Mage/Admin/Model/Resource/Role.php
index 8d06d309b6b..bbcd231f134 100644
--- a/app/code/core/Mage/Admin/Model/Resource/Role.php
+++ b/app/code/core/Mage/Admin/Model/Resource/Role.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Admin
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Process role before saving
*
- * @param Mage_Core_Model_Abstract|Mage_Admin_Model_Role $object
* @return $this
*/
protected function _beforeSave(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Admin/Model/Resource/Roles.php b/app/code/core/Mage/Admin/Model/Resource/Roles.php
index 91e0d6efd03..029a84a0923 100644
--- a/app/code/core/Mage/Admin/Model/Resource/Roles.php
+++ b/app/code/core/Mage/Admin/Model/Resource/Roles.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Admin
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -46,7 +46,6 @@ protected function _construct()
/**
* Process role before saving
*
- * @param Mage_Core_Model_Abstract|Mage_Admin_Model_Roles $role
* @return $this
*/
protected function _beforeSave(Mage_Core_Model_Abstract $role)
@@ -82,7 +81,6 @@ protected function _beforeSave(Mage_Core_Model_Abstract $role)
/**
* Process role after saving
*
- * @param Mage_Core_Model_Abstract $role
* @return $this
*/
protected function _afterSave(Mage_Core_Model_Abstract $role)
@@ -98,7 +96,6 @@ protected function _afterSave(Mage_Core_Model_Abstract $role)
/**
* Process role after deleting
*
- * @param Mage_Core_Model_Abstract $role
* @return $this
*/
protected function _afterDelete(Mage_Core_Model_Abstract $role)
@@ -112,7 +109,6 @@ protected function _afterDelete(Mage_Core_Model_Abstract $role)
/**
* Get role users
*
- * @param Mage_Admin_Model_Roles $role
* @return array
*/
public function getRoleUsers(Mage_Admin_Model_Roles $role)
@@ -129,7 +125,6 @@ public function getRoleUsers(Mage_Admin_Model_Roles $role)
/**
* Update role users
*
- * @param Mage_Admin_Model_Roles $role
* @return bool
*/
private function _updateRoleUsersAcl(Mage_Admin_Model_Roles $role)
diff --git a/app/code/core/Mage/Admin/Model/Resource/Rules.php b/app/code/core/Mage/Admin/Model/Resource/Rules.php
index 2c76aaaedb0..0034335de7e 100644
--- a/app/code/core/Mage/Admin/Model/Resource/Rules.php
+++ b/app/code/core/Mage/Admin/Model/Resource/Rules.php
@@ -28,8 +28,6 @@ protected function _construct()
/**
* Save ACL resources
- *
- * @param Mage_Admin_Model_Rules $rule
*/
public function saveRel(Mage_Admin_Model_Rules $rule)
{
@@ -96,8 +94,6 @@ public function setResourceIdAsIdFieldName()
/**
* Delete orphaned resources
*
- * @param array $orphanedIds
- * @return int
* @throws Mage_Core_Exception
*/
public function deleteOrphanedResources(array $orphanedIds): int
diff --git a/app/code/core/Mage/Admin/Model/Resource/User.php b/app/code/core/Mage/Admin/Model/Resource/User.php
index e834f921ce9..cf4624ff8ca 100644
--- a/app/code/core/Mage/Admin/Model/Resource/User.php
+++ b/app/code/core/Mage/Admin/Model/Resource/User.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Admin
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2017-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -47,7 +47,6 @@ protected function _initUniqueFields()
/**
* Authenticate user by $username and $password
*
- * @param Mage_Admin_Model_User $user
* @return $this
*/
public function recordLogin(Mage_Admin_Model_User $user)
@@ -154,7 +153,6 @@ protected function _beforeSave(Mage_Core_Model_Abstract $user)
/**
* Unserialize user extra data after user save
*
- * @param Mage_Core_Model_Abstract $user
* @return $this
*/
protected function _afterSave(Mage_Core_Model_Abstract $user)
@@ -176,7 +174,6 @@ protected function _afterLoad(Mage_Core_Model_Abstract $user)
/**
* Delete user role record with user
*
- * @param Mage_Core_Model_Abstract $user
* @return $this
* @throws Exception
*/
@@ -206,7 +203,6 @@ public function delete(Mage_Core_Model_Abstract $user)
/**
* TODO: unify _saveRelations() and add() methods, they make same things
*
- * @param Mage_Core_Model_Abstract|Mage_Admin_Model_User $user
* @return $this|Mage_Core_Model_Abstract
*/
public function _saveRelations(Mage_Core_Model_Abstract $user)
@@ -265,7 +261,6 @@ public function _saveRelations(Mage_Core_Model_Abstract $user)
/**
* Get user roles
*
- * @param Mage_Core_Model_Abstract $user
* @return array
*/
public function getRoles(Mage_Core_Model_Abstract $user)
@@ -301,7 +296,6 @@ public function getRoles(Mage_Core_Model_Abstract $user)
/**
* Save user roles
*
- * @param Mage_Core_Model_Abstract|Mage_Admin_Model_User $user
* @return $this
*/
public function add(Mage_Core_Model_Abstract $user)
@@ -346,7 +340,6 @@ public function add(Mage_Core_Model_Abstract $user)
/**
* Delete user role
*
- * @param Mage_Core_Model_Abstract|Mage_Admin_Model_User $user
* @return $this
*/
public function deleteFromRole(Mage_Core_Model_Abstract $user)
@@ -372,7 +365,6 @@ public function deleteFromRole(Mage_Core_Model_Abstract $user)
/**
* Check if role user exists
*
- * @param Mage_Core_Model_Abstract|Mage_Admin_Model_User $user
* @return array
*/
public function roleUserExists(Mage_Core_Model_Abstract $user)
@@ -400,7 +392,6 @@ public function roleUserExists(Mage_Core_Model_Abstract $user)
/**
* Check if user exists
*
- * @param Mage_Core_Model_Abstract|Mage_Admin_Model_User $user
* @return array|false
*/
public function userExists(Mage_Core_Model_Abstract $user)
@@ -471,7 +462,6 @@ public function saveReloadAclFlag($object, $flag)
/**
* Unserializes user extra data
*
- * @param Mage_Core_Model_Abstract|Mage_Admin_Model_User $user
* @return Mage_Core_Model_Abstract
*/
protected function _unserializeExtraData(Mage_Core_Model_Abstract $user)
diff --git a/app/code/core/Mage/Admin/Model/Roles.php b/app/code/core/Mage/Admin/Model/Roles.php
index 6e1e24034c5..af64915a018 100644
--- a/app/code/core/Mage/Admin/Model/Roles.php
+++ b/app/code/core/Mage/Admin/Model/Roles.php
@@ -114,7 +114,6 @@ public function getRoleUsers()
/**
* Build resources array process
*
- * @param null|Varien_Simplexml_Element $resource
* @param null|string $parentName
* @param null|int $level
* @param null|mixed $represent2Darray
diff --git a/app/code/core/Mage/AdminNotification/Model/Inbox.php b/app/code/core/Mage/AdminNotification/Model/Inbox.php
index 0b8363d7d9a..efb9dcf6e54 100644
--- a/app/code/core/Mage/AdminNotification/Model/Inbox.php
+++ b/app/code/core/Mage/AdminNotification/Model/Inbox.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_AdminNotification
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -96,7 +96,6 @@ public function getNoticeStatus()
/**
* Parse and save new data
*
- * @param array $data
* @return $this
*/
public function parse(array $data)
diff --git a/app/code/core/Mage/AdminNotification/Model/Observer.php b/app/code/core/Mage/AdminNotification/Model/Observer.php
index fec07161d0d..9f84d85dec9 100644
--- a/app/code/core/Mage/AdminNotification/Model/Observer.php
+++ b/app/code/core/Mage/AdminNotification/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_AdminNotification
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,8 +23,6 @@ class Mage_AdminNotification_Model_Observer
{
/**
* Predispath admin action controller
- *
- * @param Varien_Event_Observer $observer
*/
public function preDispatch(Varien_Event_Observer $observer)
{
diff --git a/app/code/core/Mage/AdminNotification/Model/Resource/Inbox.php b/app/code/core/Mage/AdminNotification/Model/Resource/Inbox.php
index fafdf3eeb0b..f5bc27bf4bd 100644
--- a/app/code/core/Mage/AdminNotification/Model/Resource/Inbox.php
+++ b/app/code/core/Mage/AdminNotification/Model/Resource/Inbox.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_AdminNotification
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -33,7 +33,6 @@ protected function _construct()
/**
* Load latest notice
*
- * @param Mage_AdminNotification_Model_Inbox $object
* @return $this
*/
public function loadLatestNotice(Mage_AdminNotification_Model_Inbox $object)
@@ -59,7 +58,6 @@ public function loadLatestNotice(Mage_AdminNotification_Model_Inbox $object)
/**
* Get notifications grouped by severity
*
- * @param Mage_AdminNotification_Model_Inbox $object
* @return array
*/
public function getNoticeStatus(Mage_AdminNotification_Model_Inbox $object)
@@ -77,9 +75,6 @@ public function getNoticeStatus(Mage_AdminNotification_Model_Inbox $object)
/**
* Save notifications (if not exists)
- *
- * @param Mage_AdminNotification_Model_Inbox $object
- * @param array $data
*/
public function parse(Mage_AdminNotification_Model_Inbox $object, array $data)
{
diff --git a/app/code/core/Mage/Adminhtml/Block/Catalog/Category/Edit/Form.php b/app/code/core/Mage/Adminhtml/Block/Catalog/Category/Edit/Form.php
index fed75f6b88f..6bb0e53be55 100644
--- a/app/code/core/Mage/Adminhtml/Block/Catalog/Category/Edit/Form.php
+++ b/app/code/core/Mage/Adminhtml/Block/Catalog/Category/Edit/Form.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -202,7 +202,6 @@ public function getDeleteUrl(array $args = [])
/**
* Return URL for refresh input element 'path' in form
*
- * @param array $args
* @return string
*/
public function getRefreshPathUrl(array $args = [])
diff --git a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Composite/Configure.php b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Composite/Configure.php
index e6e51e2ad5f..ac40e5953be 100644
--- a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Composite/Configure.php
+++ b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Composite/Configure.php
@@ -51,7 +51,6 @@ public function getProduct()
/**
* Set product object
*
- * @param Mage_Catalog_Model_Product|null $product
* @return $this
*/
public function setProduct(?Mage_Catalog_Model_Product $product = null)
diff --git a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Composite/Fieldset/Options.php b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Composite/Fieldset/Options.php
index f41d5106289..84077aaa2e8 100644
--- a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Composite/Fieldset/Options.php
+++ b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Composite/Fieldset/Options.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -34,7 +34,6 @@ public function __construct()
/**
* Get option html block
*
- * @param Mage_Catalog_Model_Product_Option $option
*
* @return string
*/
diff --git a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Price/Group/Abstract.php b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Price/Group/Abstract.php
index e189e7362be..39f28eeda08 100644
--- a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Price/Group/Abstract.php
+++ b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Price/Group/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -55,7 +55,6 @@ public function getProduct()
/**
* Render HTML
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
@@ -67,7 +66,6 @@ public function render(Varien_Data_Form_Element_Abstract $element)
/**
* Set form element instance
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return $this
*/
public function setElement(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Grid.php b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Grid.php
index 8a9686703c9..2627f127420 100644
--- a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Grid.php
+++ b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Grid.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -350,7 +350,6 @@ protected function _getConfigAttributeCodes()
/**
* Retrieve item row configurable attribute data
*
- * @param Varien_Object $item
* @return array
*/
protected function _retrieveRowData(Varien_Object $item)
diff --git a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Grid/Renderer/Checkbox.php b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Grid/Renderer/Checkbox.php
index 45777be9494..afde1c9a1ad 100644
--- a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Grid/Renderer/Checkbox.php
+++ b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Grid/Renderer/Checkbox.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Super_Config_Grid_Renderer_C
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Grid/Renderer/Inventory.php b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Grid/Renderer/Inventory.php
index bf708259546..7071e69eb73 100644
--- a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Grid/Renderer/Inventory.php
+++ b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Grid/Renderer/Inventory.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Super_Config_Grid_Renderer_I
/**
* Renders grid column value
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Weight.php b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Weight.php
index 069e7c05cbe..510adac26de 100644
--- a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Weight.php
+++ b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Weight.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,8 +23,6 @@ class Mage_Adminhtml_Block_Catalog_Product_Helper_Form_Weight extends Varien_Dat
{
/**
* Validation classes for weight field which corresponds to DECIMAL(12,4) SQL type
- *
- * @param array $attributes
*/
public function __construct(array $attributes = [])
{
diff --git a/app/code/core/Mage/Adminhtml/Block/Cms/Wysiwyg/Images/Content/Files.php b/app/code/core/Mage/Adminhtml/Block/Cms/Wysiwyg/Images/Content/Files.php
index 1ec9e998895..75e1dcf56ef 100644
--- a/app/code/core/Mage/Adminhtml/Block/Cms/Wysiwyg/Images/Content/Files.php
+++ b/app/code/core/Mage/Adminhtml/Block/Cms/Wysiwyg/Images/Content/Files.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -55,7 +55,6 @@ public function getFilesCount()
/**
* File idetifier getter
*
- * @param Varien_Object $file
* @return string
*/
public function getFileId(Varien_Object $file)
@@ -66,7 +65,6 @@ public function getFileId(Varien_Object $file)
/**
* File thumb URL getter
*
- * @param Varien_Object $file
* @return string
*/
public function getFileThumbUrl(Varien_Object $file)
@@ -77,7 +75,6 @@ public function getFileThumbUrl(Varien_Object $file)
/**
* File name URL getter
*
- * @param Varien_Object $file
* @return string
*/
public function getFileName(Varien_Object $file)
@@ -88,7 +85,6 @@ public function getFileName(Varien_Object $file)
/**
* Image file width getter
*
- * @param Varien_Object $file
* @return string
*/
public function getFileWidth(Varien_Object $file)
@@ -99,7 +95,6 @@ public function getFileWidth(Varien_Object $file)
/**
* Image file height getter
*
- * @param Varien_Object $file
* @return string
*/
public function getFileHeight(Varien_Object $file)
@@ -110,7 +105,6 @@ public function getFileHeight(Varien_Object $file)
/**
* File short name getter
*
- * @param Varien_Object $file
* @return string
*/
public function getFileShortName(Varien_Object $file)
diff --git a/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Renderer/Adminpass.php b/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Renderer/Adminpass.php
index e8bbff52117..c859d04b87a 100644
--- a/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Renderer/Adminpass.php
+++ b/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Renderer/Adminpass.php
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Customer_Edit_Renderer_Adminpass extends Mage_Adminht
/**
* Render block
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
@@ -39,7 +38,6 @@ public function render(Varien_Data_Form_Element_Abstract $element)
}
/**
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
protected function _getScriptHtml(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Renderer/Newpass.php b/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Renderer/Newpass.php
index 964289dc0c0..b551233da28 100644
--- a/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Renderer/Newpass.php
+++ b/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Renderer/Newpass.php
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Customer_Edit_Renderer_Newpass extends Mage_Adminhtml
/**
* Render block
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Renderer/Region.php b/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Renderer/Region.php
index eb35d5bc441..56fd4706c2d 100644
--- a/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Renderer/Region.php
+++ b/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Renderer/Region.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -28,9 +28,6 @@ class Mage_Adminhtml_Block_Customer_Edit_Renderer_Region extends Mage_Adminhtml_
*/
protected $_factory;
- /**
- * @param array $args
- */
public function __construct(array $args = [])
{
$this->_factory = !empty($args['factory']) ? $args['factory'] : Mage::getSingleton('core/factory');
@@ -39,7 +36,6 @@ public function __construct(array $args = [])
/**
* Output the region element and javasctipt that makes it dependent from country element
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/View/Grid/Renderer/Item.php b/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/View/Grid/Renderer/Item.php
index bc293d3a6c7..56c48db39cf 100644
--- a/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/View/Grid/Renderer/Item.php
+++ b/app/code/core/Mage/Adminhtml/Block/Customer/Edit/Tab/View/Grid/Renderer/Item.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -106,7 +106,6 @@ protected function getFormattedOptionValue($option)
/**
* Renders item product name and its configuration
*
- * @param Varien_Object $item
* @return string
*/
public function render(Varien_Object $item)
diff --git a/app/code/core/Mage/Adminhtml/Block/Customer/Form/Element/File.php b/app/code/core/Mage/Adminhtml/Block/Customer/Form/Element/File.php
index d06544fcbe3..797723b460b 100644
--- a/app/code/core/Mage/Adminhtml/Block/Customer/Form/Element/File.php
+++ b/app/code/core/Mage/Adminhtml/Block/Customer/Form/Element/File.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -165,7 +165,6 @@ protected function _getPreviewUrl()
* Return Element HTML
*
* @param string $element
- * @param array $attributes
* @param bool $closed
* @return string
*/
diff --git a/app/code/core/Mage/Adminhtml/Block/Customer/Grid/Renderer/Multiaction.php b/app/code/core/Mage/Adminhtml/Block/Customer/Grid/Renderer/Multiaction.php
index 185a8c9214a..d7ce105d3f4 100644
--- a/app/code/core/Mage/Adminhtml/Block/Customer/Grid/Renderer/Multiaction.php
+++ b/app/code/core/Mage/Adminhtml/Block/Customer/Grid/Renderer/Multiaction.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Customer_Grid_Renderer_Multiaction extends Mage_Admin
/**
* Renders column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
@@ -55,7 +54,6 @@ public function render(Varien_Object $row)
* Render single action as link html
*
* @param array $action
- * @param Varien_Object $row
* @return string
*/
protected function _toLinkHtml($action, Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Customer/Online/Grid/Renderer/Url.php b/app/code/core/Mage/Adminhtml/Block/Customer/Online/Grid/Renderer/Url.php
index 1e34bfdec8a..12b49000c0a 100644
--- a/app/code/core/Mage/Adminhtml/Block/Customer/Online/Grid/Renderer/Url.php
+++ b/app/code/core/Mage/Adminhtml/Block/Customer/Online/Grid/Renderer/Url.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Customer_Online_Grid_Renderer_Url extends Mage_Adminh
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Customer/System/Config/Validatevat.php b/app/code/core/Mage/Adminhtml/Block/Customer/System/Config/Validatevat.php
index 6c212c438ee..7aae44fc778 100644
--- a/app/code/core/Mage/Adminhtml/Block/Customer/System/Config/Validatevat.php
+++ b/app/code/core/Mage/Adminhtml/Block/Customer/System/Config/Validatevat.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -38,7 +38,6 @@ protected function _prepareLayout()
/**
* Unset some non-related element parameters
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
@@ -50,7 +49,6 @@ public function render(Varien_Data_Form_Element_Abstract $element)
/**
* Get the button and scripts contents
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php b/app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php
index 3c84069d3b8..706b698b558 100644
--- a/app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php
+++ b/app/code/core/Mage/Adminhtml/Block/Dashboard/Graph.php
@@ -134,7 +134,6 @@ public function setDataRows($rows)
* Add series
*
* @param string $seriesId
- * @param array $options
*/
public function addSeries($seriesId, array $options)
{
diff --git a/app/code/core/Mage/Adminhtml/Block/Newsletter/Problem/Grid/Renderer/Checkbox.php b/app/code/core/Mage/Adminhtml/Block/Newsletter/Problem/Grid/Renderer/Checkbox.php
index 6a33bc60334..45b82e9f117 100644
--- a/app/code/core/Mage/Adminhtml/Block/Newsletter/Problem/Grid/Renderer/Checkbox.php
+++ b/app/code/core/Mage/Adminhtml/Block/Newsletter/Problem/Grid/Renderer/Checkbox.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Newsletter_Problem_Grid_Renderer_Checkbox extends Mag
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Newsletter/Subscriber/Grid/Renderer/Checkbox.php b/app/code/core/Mage/Adminhtml/Block/Newsletter/Subscriber/Grid/Renderer/Checkbox.php
index 05f5a0941ef..d0d1f102bdd 100644
--- a/app/code/core/Mage/Adminhtml/Block/Newsletter/Subscriber/Grid/Renderer/Checkbox.php
+++ b/app/code/core/Mage/Adminhtml/Block/Newsletter/Subscriber/Grid/Renderer/Checkbox.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Newsletter_Subscriber_Grid_Renderer_Checkbox extends
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Actions.php b/app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Actions.php
index 41924f6f449..e269c1dddaf 100644
--- a/app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Actions.php
+++ b/app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Actions.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Notification_Grid_Renderer_Actions extends Mage_Admin
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Notice.php b/app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Notice.php
index 7d29cd0b504..dd6c36673a1 100644
--- a/app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Notice.php
+++ b/app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Notice.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Notification_Grid_Renderer_Notice extends Mage_Adminh
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Severity.php b/app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Severity.php
index 7213016bfd9..66f8d4eba14 100644
--- a/app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Severity.php
+++ b/app/code/core/Mage/Adminhtml/Block/Notification/Grid/Renderer/Severity.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Notification_Grid_Renderer_Severity extends Mage_Admi
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Page/Footer.php b/app/code/core/Mage/Adminhtml/Block/Page/Footer.php
index 9d63e7857a9..d62a13a6487 100644
--- a/app/code/core/Mage/Adminhtml/Block/Page/Footer.php
+++ b/app/code/core/Mage/Adminhtml/Block/Page/Footer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -80,7 +80,6 @@ public function getLanguageSelect()
}
/**
- * @param string $url
* @return $this
* @deprecated see setReportIssuesUrl()
*/
@@ -90,7 +89,6 @@ public function setBugreportUrl(string $url)
}
/**
- * @return string
* @deprecated see getReportIssuesUrl()
*/
public function getBugreportUrl(): string
@@ -99,7 +97,6 @@ public function getBugreportUrl(): string
}
/**
- * @param string $url
* @return $this
*/
public function setReportIssuesUrl(string $url)
@@ -107,16 +104,12 @@ public function setReportIssuesUrl(string $url)
return $this->setData('report_issues_url', $url);
}
- /**
- * @return string
- */
public function getReportIssuesUrl(): string
{
return (string) $this->_getData('report_issues_url');
}
/**
- * @param string $url
* @return $this
* @deprecated see setOpenMageProjectUrl()
*/
@@ -126,7 +119,6 @@ public function setConnectWithMagentoUrl(string $url)
}
/**
- * @return string
* @deprecated see getOpenMageProjectUrl()
*/
public function getConnectWithMagentoUrl(): string
@@ -135,7 +127,6 @@ public function getConnectWithMagentoUrl(): string
}
/**
- * @param string $url
* @return $this
*/
public function setOpenMageProjectUrl(string $url)
@@ -143,9 +134,6 @@ public function setOpenMageProjectUrl(string $url)
return $this->setData('openmage_project_url', $url);
}
- /**
- * @return string
- */
public function getOpenMageProjectUrl(): string
{
return (string) $this->_getData('openmage_project_url');
diff --git a/app/code/core/Mage/Adminhtml/Block/Page/Menu.php b/app/code/core/Mage/Adminhtml/Block/Page/Menu.php
index 2cead334d9e..655e9efb68d 100644
--- a/app/code/core/Mage/Adminhtml/Block/Page/Menu.php
+++ b/app/code/core/Mage/Adminhtml/Block/Page/Menu.php
@@ -91,7 +91,6 @@ public function getMenuArray()
/**
* Retrieve Title value for menu node
*
- * @param Varien_Simplexml_Element $child
* @return string
*/
protected function _getHelperValue(Varien_Simplexml_Element $child)
@@ -109,7 +108,6 @@ protected function _getHelperValue(Varien_Simplexml_Element $child)
/**
* Recursive Build Menu array
*
- * @param Varien_Simplexml_Element $parent
* @param string $path
* @param int $level
* @return array
@@ -187,7 +185,6 @@ protected function _sortMenu($a, $b)
/**
* Check Depends
*
- * @param Varien_Simplexml_Element $depends
* @return bool
*/
protected function _checkDepends(Varien_Simplexml_Element $depends)
@@ -291,7 +288,6 @@ public function getMenuLevel($menu, $level = 0)
/**
* Check is module output enabled
*
- * @param Varien_Simplexml_Element $child
* @return bool
*/
protected function _isEnabledModuleOutput(Varien_Simplexml_Element $child)
diff --git a/app/code/core/Mage/Adminhtml/Block/Permissions/OrphanedResource.php b/app/code/core/Mage/Adminhtml/Block/Permissions/OrphanedResource.php
index ab529bf7470..f364b45454a 100644
--- a/app/code/core/Mage/Adminhtml/Block/Permissions/OrphanedResource.php
+++ b/app/code/core/Mage/Adminhtml/Block/Permissions/OrphanedResource.php
@@ -31,9 +31,6 @@ public function __construct()
$this->_removeButton('add');
}
- /**
- * @return string
- */
protected function _toHtml(): string
{
Mage::dispatchEvent('permissions_orphanedresource_html_before', ['block' => $this]);
diff --git a/app/code/core/Mage/Adminhtml/Block/Promo/Quote/Edit/Tab/Main/Renderer/Checkbox.php b/app/code/core/Mage/Adminhtml/Block/Promo/Quote/Edit/Tab/Main/Renderer/Checkbox.php
index 0a669adc7e0..7fc2f0c735b 100644
--- a/app/code/core/Mage/Adminhtml/Block/Promo/Quote/Edit/Tab/Main/Renderer/Checkbox.php
+++ b/app/code/core/Mage/Adminhtml/Block/Promo/Quote/Edit/Tab/Main/Renderer/Checkbox.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Promo_Quote_Edit_Tab_Main_Renderer_Checkbox extends M
/**
* Checkbox render function
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Adminhtml/Block/Report/Grid/Column/Renderer/Currency.php b/app/code/core/Mage/Adminhtml/Block/Report/Grid/Column/Renderer/Currency.php
index 7d0aedef788..46cb5df7bbf 100644
--- a/app/code/core/Mage/Adminhtml/Block/Report/Grid/Column/Renderer/Currency.php
+++ b/app/code/core/Mage/Adminhtml/Block/Report/Grid/Column/Renderer/Currency.php
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Report_Grid_Column_Renderer_Currency extends Mage_Adm
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Report/Grid/Column/Renderer/Customer.php b/app/code/core/Mage/Adminhtml/Block/Report/Grid/Column/Renderer/Customer.php
index 052feec8e1e..a7be0d93318 100644
--- a/app/code/core/Mage/Adminhtml/Block/Report/Grid/Column/Renderer/Customer.php
+++ b/app/code/core/Mage/Adminhtml/Block/Report/Grid/Column/Renderer/Customer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Report_Grid_Column_Renderer_Customer extends Mage_Adm
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Report/Grid/Column/Renderer/Product.php b/app/code/core/Mage/Adminhtml/Block/Report/Grid/Column/Renderer/Product.php
index 17cb37d1592..67ef971056a 100644
--- a/app/code/core/Mage/Adminhtml/Block/Report/Grid/Column/Renderer/Product.php
+++ b/app/code/core/Mage/Adminhtml/Block/Report/Grid/Column/Renderer/Product.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Report_Grid_Column_Renderer_Product extends Mage_Admi
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Report/Product/Downloads/Renderer/Purchases.php b/app/code/core/Mage/Adminhtml/Block/Report/Product/Downloads/Renderer/Purchases.php
index 5230cff04ff..3b576a559d4 100644
--- a/app/code/core/Mage/Adminhtml/Block/Report/Product/Downloads/Renderer/Purchases.php
+++ b/app/code/core/Mage/Adminhtml/Block/Report/Product/Downloads/Renderer/Purchases.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Report_Product_Downloads_Renderer_Purchases extends M
/**
* Renders Purchases value
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Report/Sales/Grid/Column/Renderer/Date.php b/app/code/core/Mage/Adminhtml/Block/Report/Sales/Grid/Column/Renderer/Date.php
index dcc18315045..afc87dd6ee3 100644
--- a/app/code/core/Mage/Adminhtml/Block/Report/Sales/Grid/Column/Renderer/Date.php
+++ b/app/code/core/Mage/Adminhtml/Block/Report/Sales/Grid/Column/Renderer/Date.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -60,7 +60,6 @@ protected function _getFormat()
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Items/Abstract.php b/app/code/core/Mage/Adminhtml/Block/Sales/Items/Abstract.php
index e60828bc845..b475d682e75 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sales/Items/Abstract.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sales/Items/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -147,7 +147,6 @@ public function getColumnRenderer($column, $compositePart = '')
/**
* Retrieve rendered item html content
*
- * @param Varien_Object $item
* @return string
*/
public function getItemHtml(Varien_Object $item)
@@ -167,7 +166,6 @@ public function getItemHtml(Varien_Object $item)
/**
* Retrieve rendered item extra info html content
*
- * @param Varien_Object $item
* @return string
*/
public function getItemExtraInfoHtml(Varien_Object $item)
@@ -184,7 +182,6 @@ public function getItemExtraInfoHtml(Varien_Object $item)
/**
* Retrieve rendered column html content
*
- * @param Varien_Object $item
* @param string $column the column key
* @param string $field the custom item field
* @return string
@@ -326,7 +323,6 @@ public function displayRoundedPrices($basePrice, $price, $precision = 2, $strong
/**
* Retrieve include tax html formatted content
*
- * @param Varien_Object $item
* @return string
*/
public function displayPriceInclTax(Varien_Object $item)
@@ -369,7 +365,6 @@ public function displaySubtotalInclTax($item)
/**
* Retrieve tax calculation html content
*
- * @param Varien_Object $item
* @return string
*/
public function displayTaxCalculation(Varien_Object $item)
@@ -391,7 +386,6 @@ public function displayTaxCalculation(Varien_Object $item)
/**
* Retrieve tax with persent html content
*
- * @param Varien_Object $item
* @return string
*/
public function displayTaxPercent(Varien_Object $item)
diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Form/Abstract.php b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Form/Abstract.php
index a1d7ec249a9..933169f1bcb 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Form/Abstract.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Form/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -102,7 +102,6 @@ protected function _getAdditionalFormElementRenderers()
/**
* Add additional data to form element
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return Mage_Adminhtml_Block_Sales_Order_Create_Form_Abstract
*/
protected function _addAdditionalFormElementData(Varien_Data_Form_Element_Abstract $element)
@@ -114,7 +113,6 @@ protected function _addAdditionalFormElementData(Varien_Data_Form_Element_Abstra
* Add rendering EAV attributes to Form element
*
* @param array|Varien_Data_Collection $attributes
- * @param Varien_Data_Form_Abstract $form
* @return Mage_Adminhtml_Block_Sales_Order_Create_Form_Abstract
*/
protected function _addAttributesToForm($attributes, Varien_Data_Form_Abstract $form)
diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Form/Account.php b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Form/Account.php
index 6aff64ba012..45a364bc3d4 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Form/Account.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Form/Account.php
@@ -92,7 +92,6 @@ protected function _prepareForm()
/**
* Add additional data to form element
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return $this
*/
protected function _addAdditionalFormElementData(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Form/Address.php b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Form/Address.php
index 9a035cb6068..2279fe0a523 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Form/Address.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Form/Address.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -189,7 +189,6 @@ protected function _prepareForm()
/**
* Add additional data to form element
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return Mage_Adminhtml_Block_Sales_Order_Create_Form_Abstract
*/
protected function _addAdditionalFormElementData(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Giftmessage.php b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Giftmessage.php
index ab3b3e98cfd..81a5e037a46 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Giftmessage.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Giftmessage.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Sales_Order_Create_Giftmessage extends Mage_Adminhtml
/**
* Generate form for editing of gift message for entity
*
- * @param Varien_Object $entity
* @param string $entityType
* @return string
*/
diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Giftmessage/Form.php b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Giftmessage/Form.php
index dc12ff48b96..9fae47ca10d 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Giftmessage/Form.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Giftmessage/Form.php
@@ -38,7 +38,6 @@ class Mage_Adminhtml_Block_Sales_Order_Create_Giftmessage_Form extends Mage_Admi
/**
* Set entity for form
*
- * @param Varien_Object $entity
* @return $this
*/
public function setEntity(Varien_Object $entity)
@@ -170,7 +169,6 @@ public function _prepareForm()
* Prepare form fieldset
* All fields are hidden
*
- * @param Varien_Data_Form_Element_Fieldset $fieldset
*
* @return $this
*/
@@ -205,7 +203,6 @@ protected function _prepareHiddenFields(Varien_Data_Form_Element_Fieldset $field
* Prepare form fieldset
* All fields are visible
*
- * @param Varien_Data_Form_Element_Fieldset $fieldset
*
* @return $this
*/
diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Items/Grid.php b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Items/Grid.php
index eb9c811d999..1e2b1d41c77 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Items/Grid.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Items/Grid.php
@@ -297,7 +297,6 @@ public function getTierHtml($item)
/**
* Get Custom Options of item
*
- * @param Mage_Sales_Model_Quote_Item $item
* @return string
*/
public function getCustomOptions(Mage_Sales_Model_Quote_Item $item)
diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Search/Grid/Renderer/Giftmessage.php b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Search/Grid/Renderer/Giftmessage.php
index ac022f3d097..c4a575568ef 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Search/Grid/Renderer/Giftmessage.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Search/Grid/Renderer/Giftmessage.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -25,7 +25,6 @@ class Mage_Adminhtml_Block_Sales_Order_Create_Search_Grid_Renderer_Giftmessage e
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Search/Grid/Renderer/Price.php b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Search/Grid/Renderer/Price.php
index bba741cfcfc..92fce2ad326 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Search/Grid/Renderer/Price.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Search/Grid/Renderer/Price.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Sales_Order_Create_Search_Grid_Renderer_Price extends
/**
* Render minimal price for downloadable products
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Search/Grid/Renderer/Qty.php b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Search/Grid/Renderer/Qty.php
index 5f5950fb8eb..03a175d126e 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Search/Grid/Renderer/Qty.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Search/Grid/Renderer/Qty.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -35,7 +35,6 @@ protected function _isInactive($row)
/**
* Render product qty field
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/History.php b/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/History.php
index 64f424e6121..733a725d611 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/History.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/History.php
@@ -69,7 +69,6 @@ public function getSubmitUrl()
/**
* Customer Notification Applicable check method
*
- * @param Mage_Sales_Model_Order_Status_History $history
* @return bool
*/
public function isCustomerNotificationNotApplicable(Mage_Sales_Model_Order_Status_History $history)
diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Info.php b/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Info.php
index 32094b094a3..89a5027964d 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Info.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Info.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -85,7 +85,6 @@ public function getViewUrl($orderId)
* Find sort order for account data
* Sort Order used as array key
*
- * @param array $data
* @param int $sortOrder
* @return int
*/
diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Items/Renderer/Default.php b/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Items/Renderer/Default.php
index fb82040b5c3..f529163770e 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Items/Renderer/Default.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Items/Renderer/Default.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -232,7 +232,6 @@ public function displaySubtotalInclTax($item)
/**
* Display item price including tax
*
- * @param Mage_Sales_Model_Order_Item|Varien_Object $item
* @return string
*/
public function displayPriceInclTax(Varien_Object $item)
diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Tab/History.php b/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Tab/History.php
index f690bab4ea9..26f7aef7f4e 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Tab/History.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Tab/History.php
@@ -123,7 +123,6 @@ public function getFullHistory()
/**
* Status history date/datetime getter
*
- * @param array $item
* @param string $dateType
* @param string $format
* @return string
@@ -142,7 +141,6 @@ public function getItemCreatedAt(array $item, $dateType = 'date', $format = 'med
/**
* Status history item title getter
*
- * @param array $item
* @return string
*/
public function getItemTitle(array $item)
@@ -153,7 +151,6 @@ public function getItemTitle(array $item)
/**
* Check whether status history comment is with customer notification
*
- * @param array $item
* @param bool $isSimpleCheck
* @return bool
*/
@@ -168,7 +165,6 @@ public function isItemNotified(array $item, $isSimpleCheck = true)
/**
* Status history item comment getter
*
- * @param array $item
* @return string
*/
public function getItemComment(array $item)
diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Reorder/Renderer/Action.php b/app/code/core/Mage/Adminhtml/Block/Sales/Reorder/Renderer/Action.php
index a67f70a2e49..15c2a967438 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sales/Reorder/Renderer/Action.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sales/Reorder/Renderer/Action.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -50,7 +50,6 @@ protected function _getEscapedValue($value)
/**
* Render options array as a HTML string
*
- * @param array $actions
* @return string
*/
protected function _actionsToHtml(array $actions = [])
diff --git a/app/code/core/Mage/Adminhtml/Block/Sitemap/Grid/Renderer/Link.php b/app/code/core/Mage/Adminhtml/Block/Sitemap/Grid/Renderer/Link.php
index b7e75452532..365760a445e 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sitemap/Grid/Renderer/Link.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sitemap/Grid/Renderer/Link.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Sitemap_Grid_Renderer_Link extends Mage_Adminhtml_Blo
/**
* Prepare link to display in grid
*
- * @param Varien_Object $row
* @return string
* @throws Mage_Core_Model_Store_Exception|Mage_Core_Exception
*/
diff --git a/app/code/core/Mage/Adminhtml/Block/Sitemap/Grid/Renderer/Time.php b/app/code/core/Mage/Adminhtml/Block/Sitemap/Grid/Renderer/Time.php
index 0ba08285fc4..b46b6c1bb2f 100644
--- a/app/code/core/Mage/Adminhtml/Block/Sitemap/Grid/Renderer/Time.php
+++ b/app/code/core/Mage/Adminhtml/Block/Sitemap/Grid/Renderer/Time.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Sitemap_Grid_Renderer_Time extends Mage_Adminhtml_Blo
/**
* Prepare link to display in grid
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Store/Switcher/Form/Renderer/Fieldset.php b/app/code/core/Mage/Adminhtml/Block/Store/Switcher/Form/Renderer/Fieldset.php
index cb77319f61e..0b2772b1605 100644
--- a/app/code/core/Mage/Adminhtml/Block/Store/Switcher/Form/Renderer/Fieldset.php
+++ b/app/code/core/Mage/Adminhtml/Block/Store/Switcher/Form/Renderer/Fieldset.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2021-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2021-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -46,7 +46,6 @@ public function getElement()
/**
* Render element
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Adminhtml/Block/Store/Switcher/Form/Renderer/Fieldset/Element.php b/app/code/core/Mage/Adminhtml/Block/Store/Switcher/Form/Renderer/Fieldset/Element.php
index 1d38f0ddd67..dd343b55865 100644
--- a/app/code/core/Mage/Adminhtml/Block/Store/Switcher/Form/Renderer/Fieldset/Element.php
+++ b/app/code/core/Mage/Adminhtml/Block/Store/Switcher/Form/Renderer/Fieldset/Element.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2021-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2021-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -46,7 +46,6 @@ public function getElement()
/**
* Render element
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field.php b/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field.php
index f2ffa8d2e72..45d035579eb 100644
--- a/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field.php
+++ b/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -22,7 +22,6 @@
class Mage_Adminhtml_Block_System_Config_Form_Field extends Mage_Adminhtml_Block_Abstract implements Varien_Data_Form_Element_Renderer_Interface
{
/**
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
@@ -31,7 +30,6 @@ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
}
/**
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Array/Abstract.php b/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Array/Abstract.php
index 24362c6c16d..4229660b194 100644
--- a/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Array/Abstract.php
+++ b/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Array/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -94,7 +94,6 @@ public function addColumn($name, $params)
/**
* Get the grid and scripts contents
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
@@ -107,8 +106,6 @@ protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
/**
* Prepare existing row data object
- *
- * @param Varien_Object $row
*/
protected function _prepareArrayRow(Varien_Object $row)
{
diff --git a/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Heading.php b/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Heading.php
index a77d6ba1b94..461fb3ec848 100644
--- a/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Heading.php
+++ b/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Heading.php
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_System_Config_Form_Field_Heading extends Mage_Adminht
/**
* Render element html
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Select/Flatproduct.php b/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Select/Flatproduct.php
index 689cc80d3f1..49f9b4b3548 100644
--- a/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Select/Flatproduct.php
+++ b/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Select/Flatproduct.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_System_Config_Form_Field_Select_Flatproduct extends M
/**
* Retrieve Element HTML
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Fieldset.php b/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Fieldset.php
index bbf0162206a..bfe219694f6 100644
--- a/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Fieldset.php
+++ b/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Fieldset.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_System_Config_Form_Fieldset extends Mage_Adminhtml_Bl
/**
* Render fieldset html
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Adminhtml/Block/System/Config/System/Storage/Media/Synchronize.php b/app/code/core/Mage/Adminhtml/Block/System/Config/System/Storage/Media/Synchronize.php
index b66bef6c7a8..ce764b4d0b3 100644
--- a/app/code/core/Mage/Adminhtml/Block/System/Config/System/Storage/Media/Synchronize.php
+++ b/app/code/core/Mage/Adminhtml/Block/System/Config/System/Storage/Media/Synchronize.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -33,7 +33,6 @@ protected function _construct()
/**
* Remove scope label
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
@@ -45,7 +44,6 @@ public function render(Varien_Data_Form_Element_Abstract $element)
/**
* Return element html
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Adminhtml/Block/System/Store/Grid/Render/Group.php b/app/code/core/Mage/Adminhtml/Block/System/Store/Grid/Render/Group.php
index 4aeed772bb3..6e731fd8683 100644
--- a/app/code/core/Mage/Adminhtml/Block/System/Store/Grid/Render/Group.php
+++ b/app/code/core/Mage/Adminhtml/Block/System/Store/Grid/Render/Group.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,7 +23,6 @@
class Mage_Adminhtml_Block_System_Store_Grid_Render_Group extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
{
/**
- * @param Varien_Object $row
* @return string|null
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/System/Store/Grid/Render/Store.php b/app/code/core/Mage/Adminhtml/Block/System/Store/Grid/Render/Store.php
index 038d0c7e862..81817406e5b 100644
--- a/app/code/core/Mage/Adminhtml/Block/System/Store/Grid/Render/Store.php
+++ b/app/code/core/Mage/Adminhtml/Block/System/Store/Grid/Render/Store.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,7 +23,6 @@
class Mage_Adminhtml_Block_System_Store_Grid_Render_Store extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
{
/**
- * @param Varien_Object $row
* @return string|null
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/System/Store/Grid/Render/Website.php b/app/code/core/Mage/Adminhtml/Block/System/Store/Grid/Render/Website.php
index 9b379f631b6..89e44d9d387 100644
--- a/app/code/core/Mage/Adminhtml/Block/System/Store/Grid/Render/Website.php
+++ b/app/code/core/Mage/Adminhtml/Block/System/Store/Grid/Render/Website.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,7 +23,6 @@
class Mage_Adminhtml_Block_System_Store_Grid_Render_Website extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
{
/**
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/System/Store/Tree.php b/app/code/core/Mage/Adminhtml/Block/System/Store/Tree.php
index 789d6b5ea6c..3884de74fd7 100644
--- a/app/code/core/Mage/Adminhtml/Block/System/Store/Tree.php
+++ b/app/code/core/Mage/Adminhtml/Block/System/Store/Tree.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -111,7 +111,6 @@ protected function _createCellTemplate()
/**
* Render website
*
- * @param Mage_Core_Model_Website $website
* @return string
*/
public function renderWebsite(Mage_Core_Model_Website $website)
@@ -126,7 +125,6 @@ public function renderWebsite(Mage_Core_Model_Website $website)
/**
* Render store group
*
- * @param Mage_Core_Model_Store_Group $storeGroup
* @return string
*/
public function renderStoreGroup(Mage_Core_Model_Store_Group $storeGroup)
@@ -142,7 +140,6 @@ public function renderStoreGroup(Mage_Core_Model_Store_Group $storeGroup)
/**
* Render store
*
- * @param Mage_Core_Model_Store $store
* @return string
*/
public function renderStore(Mage_Core_Model_Store $store)
diff --git a/app/code/core/Mage/Adminhtml/Block/Tax/Rate/Grid/Renderer/Country.php b/app/code/core/Mage/Adminhtml/Block/Tax/Rate/Grid/Renderer/Country.php
index f4c149d635f..46d5449f440 100644
--- a/app/code/core/Mage/Adminhtml/Block/Tax/Rate/Grid/Renderer/Country.php
+++ b/app/code/core/Mage/Adminhtml/Block/Tax/Rate/Grid/Renderer/Country.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -22,11 +22,10 @@
class Mage_Adminhtml_Block_Tax_Rate_Grid_Renderer_Country extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Country
{
/**
- * Render column for export
- *
- * @param Varien_Object $row
- * @return string
- */
+ * Render column for export
+ *
+ * @return string
+ */
public function renderExport(Varien_Object $row)
{
return $row->getData($this->getColumn()->getIndex());
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Form.php b/app/code/core/Mage/Adminhtml/Block/Widget/Form.php
index bea57ee0146..aa953698ccb 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Form.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Form.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -100,7 +100,6 @@ public function getFormHtml()
/**
* Set form object
*
- * @param Varien_Data_Form $form
* @return $this
*/
public function setForm(Varien_Data_Form $form)
@@ -216,8 +215,6 @@ protected function _setFieldset($attributes, $fieldset, $exclude = [])
/**
* Add new element type
- *
- * @param Varien_Data_Form_Abstract $baseElement
*/
protected function _addElementTypes(Varien_Data_Form_Abstract $baseElement)
{
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Form/Element/Dependence.php b/app/code/core/Mage/Adminhtml/Block/Widget/Form/Element/Dependence.php
index 73debbcecaf..e143135a1c1 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Form/Element/Dependence.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Form/Element/Dependence.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -79,7 +79,6 @@ public function addFieldDependence($fieldName, $fieldNameFrom, $refValues)
/**
* Add misc configuration options to the javascript dependencies controller
*
- * @param array $options
* @return $this
*/
public function addConfigOptions(array $options)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php
index afff0e004f2..a8818b9b4ef 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid.php
@@ -1037,7 +1037,6 @@ public function getHtml()
/**
* Retrieve file content from file container array
*
- * @param array $fileData
* @return string
*/
protected function _getFileContainerContent(array $fileData)
@@ -1120,9 +1119,6 @@ public function _exportIterateCollection($callback, array $args)
/**
* Write item data to csv export file
- *
- * @param Varien_Object $item
- * @param Varien_Io_File $adapter
*/
protected function _exportCsvItem(Varien_Object $item, Varien_Io_File $adapter)
{
@@ -1271,8 +1267,6 @@ public function getXml()
/**
* Write item data to Excel 2003 XML export file
*
- * @param Varien_Object $item
- * @param Varien_Io_File $adapter
* @param Varien_Convert_Parser_Xml_Excel $parser
*/
protected function _exportExcelItem(Varien_Object $item, Varien_Io_File $adapter, $parser = null)
@@ -1647,8 +1641,6 @@ public function getCountTotals()
/**
* Set totals
- *
- * @param Varien_Object $totals
*/
public function setTotals(Varien_Object $totals)
{
@@ -1690,7 +1682,6 @@ public function getCountSubTotals()
/**
* Set subtotal items
*
- * @param array $items
* @return $this
*/
public function setSubTotals(array $items)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column.php
index 59c243f8f5c..34e54f3406b 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column.php
@@ -142,7 +142,6 @@ public function getHeaderHtmlProperty()
/**
* Retrieve row column field value for display
*
- * @param Varien_Object $row
* @return string
*/
public function getRowField(Varien_Object $row)
@@ -174,7 +173,6 @@ public function getRowField(Varien_Object $row)
/**
* Retrieve row column field value for export
*
- * @param Varien_Object $row
* @return string
*/
public function getRowFieldExport(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Abstract.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Abstract.php
index a959105eee5..1d1f92bee25 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Abstract.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Abstract.php
@@ -46,7 +46,6 @@ public function getColumn()
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
@@ -63,7 +62,6 @@ public function render(Varien_Object $row)
/**
* Render column for export
*
- * @param Varien_Object $row
* @return string
*/
public function renderExport(Varien_Object $row)
@@ -72,7 +70,6 @@ public function renderExport(Varien_Object $row)
}
/**
- * @param Varien_Object $row
* @return string|null
*/
protected function _getValue(Varien_Object $row)
@@ -92,7 +89,6 @@ protected function _getValue(Varien_Object $row)
}
/**
- * @param Varien_Object $row
* @return string
*/
public function _getInputValueElement(Varien_Object $row)
@@ -104,7 +100,6 @@ public function _getInputValueElement(Varien_Object $row)
}
/**
- * @param Varien_Object $row
* @return string|null
*/
protected function _getInputValue(Varien_Object $row)
@@ -165,7 +160,6 @@ public function renderCss()
}
/**
- * @param Varien_Object $row
* @return string|null
*/
public function getCopyableText(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Action.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Action.php
index 532d23f7d2a..973ed06d0b0 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Action.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Action.php
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Action extends Mage_Admin
/**
* Renders column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
@@ -59,7 +58,6 @@ public function render(Varien_Object $row)
* Render single action as dropdown option html
*
* @param array $action
- * @param Varien_Object $row
* @return string
*/
protected function _toOptionHtml($action, Varien_Object $row)
@@ -78,7 +76,6 @@ protected function _toOptionHtml($action, Varien_Object $row)
* Render single action as link html
*
* @param array $action
- * @param Varien_Object $row
* @return string
*/
protected function _toLinkHtml($action, Varien_Object $row)
@@ -104,7 +101,6 @@ protected function _toLinkHtml($action, Varien_Object $row)
*
* @param array $action
* @param string $actionCaption
- * @param Varien_Object $row
* @return $this
*/
protected function _transformActionData(&$action, &$actionCaption, Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Checkbox.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Checkbox.php
index 31e3d69d799..c7cf86d33ed 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Checkbox.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Checkbox.php
@@ -39,7 +39,6 @@ public function getValues()
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Concat.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Concat.php
index c7d4dbacd01..f2d9fa7cd44 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Concat.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Concat.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2021-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2021-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Concat extends Mage_Admin
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Country.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Country.php
index bb3e9f822bd..874cc0a790e 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Country.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Country.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Country extends Mage_Admi
/**
* Render country grid column
*
- * @param Varien_Object $row
* @return string|null
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Currency.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Currency.php
index a1479b2c5f5..53feae029af 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Currency.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Currency.php
@@ -31,7 +31,6 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Currency extends Mage_Adm
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Date.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Date.php
index e1219c2e3a5..fd7587bc30c 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Date.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Date.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -53,7 +53,6 @@ protected function _getFormat()
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Datetime.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Datetime.php
index 1a97dfb8f6a..0462fa60b13 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Datetime.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Datetime.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -52,7 +52,6 @@ protected function _getFormat()
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Input.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Input.php
index 5593f62ba4d..5bcc55116ea 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Input.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Input.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -26,7 +26,6 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Input extends Mage_Adminh
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Interface.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Interface.php
index 3982eb07d74..ad82653ea67 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Interface.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Interface.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2021-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2021-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -40,8 +40,6 @@ public function getColumn();
/**
* Renders grid column
- *
- * @param Varien_Object $row
*/
public function render(Varien_Object $row);
}
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Ip.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Ip.php
index 0607aae6163..fba237dc241 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Ip.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Ip.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,9 +24,7 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Ip extends Mage_Adminhtml
/**
* Render the grid cell value
*
- * @param Varien_Object $row
* @return string
- *
* @SuppressWarnings(PHPMD.ErrorControlOperator)
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Longtext.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Longtext.php
index 9078f6f35dc..7ac22e7bfab 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Longtext.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Longtext.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2018-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -27,7 +27,6 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Longtext extends Mage_Adm
* Text will be truncated as specified in string_limit, truncate or 250 by default
* Also it can be html-escaped and nl2br()
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Massaction.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Massaction.php
index 817bbb84b5f..bde6ad16562 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Massaction.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Massaction.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -49,7 +49,6 @@ public function renderProperty()
/**
* Returns HTML of the object
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Number.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Number.php
index 4c764538bd6..7118fd51722 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Number.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Number.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -26,7 +26,6 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Number extends Mage_Admin
/**
* Returns value of the row
*
- * @param Varien_Object $row
* @return mixed|string
*/
protected function _getValue(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Options.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Options.php
index cadf133c1db..fcf29841299 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Options.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Options.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Options extends Mage_Admi
/**
* Render a grid cell as options
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Price.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Price.php
index 5f5a6352397..e00e93299e4 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Price.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Price.php
@@ -30,7 +30,6 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Price extends Mage_Adminh
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Radio.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Radio.php
index 30b1d1cd608..d07e9985622 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Radio.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Radio.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -39,7 +39,6 @@ public function getValues()
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Select.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Select.php
index 7620dbf7241..d51bd2e4054 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Select.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Select.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Select extends Mage_Admin
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Store.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Store.php
index 48792de9e76..a5428dbe813 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Store.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Store.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -61,7 +61,6 @@ protected function _getShowEmptyStoresLabelFlag()
/**
* Render row store views
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
@@ -111,7 +110,6 @@ public function render(Varien_Object $row)
/**
* Render row store views for export
*
- * @param Varien_Object $row
* @return string
*/
public function renderExport(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Text.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Text.php
index 7f750a7e406..64d24f24f3a 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Text.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Text.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2018-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -31,7 +31,6 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Text extends Mage_Adminht
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return mixed
*/
public function _getValue(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Theme.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Theme.php
index c698b11353c..7717b805c61 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Theme.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Theme.php
@@ -24,7 +24,6 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Theme extends Mage_Adminh
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Wrapline.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Wrapline.php
index 8ed2fb4b181..7dd30b314ee 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Wrapline.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Renderer/Wrapline.php
@@ -31,7 +31,6 @@ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Wrapline extends Mage_Adm
/**
* Renders grid column
*
- * @param Varien_Object $row
* @return string
*/
public function render(Varien_Object $row)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Massaction/Abstract.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Massaction/Abstract.php
index 61aa111800a..372d4142c2a 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Massaction/Abstract.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Massaction/Abstract.php
@@ -97,7 +97,6 @@ public function __construct()
* );
*
* @param string $itemId
- * @param array $item
* @return Mage_Adminhtml_Block_Widget_Grid_Massaction_Abstract
*/
public function addItem($itemId, array $item)
@@ -334,8 +333,6 @@ public function setUseSelectAll($flag)
/**
* Group items for optgroups
- *
- * @return array
*/
public function getGroupedItems(): array
{
@@ -354,10 +351,6 @@ public function getGroupedItems(): array
return $groupedItems;
}
- /**
- * @param string $itemId
- * @return bool
- */
protected function isConfirmMassAction(string $itemId): bool
{
return in_array($itemId, static::$needsConfirm);
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Massaction/Item.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Massaction/Item.php
index b58efc2e080..127895f73e2 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Massaction/Item.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Massaction/Item.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -67,7 +67,6 @@ public function setAdditionalActionBlock($block)
}
/**
- * @param array $config
* @return Mage_Adminhtml_Block_Widget_Grid_Massaction_Item_Additional_Default
*/
protected function _createFromConfig(array $config)
diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Massaction/Item/Additional/Default.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Massaction/Item/Additional/Default.php
index 8221c496723..5b09fed9381 100644
--- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Massaction/Item/Additional/Default.php
+++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Massaction/Item/Additional/Default.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -22,7 +22,6 @@
class Mage_Adminhtml_Block_Widget_Grid_Massaction_Item_Additional_Default extends Mage_Adminhtml_Block_Widget_Form implements Mage_Adminhtml_Block_Widget_Grid_Massaction_Item_Additional_Interface
{
/**
- * @param array $configuration
* @return $this
*/
public function createFromConfiguration(array $configuration)
diff --git a/app/code/core/Mage/Adminhtml/Helper/Addresses.php b/app/code/core/Mage/Adminhtml/Helper/Addresses.php
index ad3e9f05fd9..9ccb843fbd0 100644
--- a/app/code/core/Mage/Adminhtml/Helper/Addresses.php
+++ b/app/code/core/Mage/Adminhtml/Helper/Addresses.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -28,7 +28,6 @@ class Mage_Adminhtml_Helper_Addresses extends Mage_Core_Helper_Abstract
/**
* Check if number of street lines is non-zero
*
- * @param Mage_Customer_Model_Attribute $attribute
* @return Mage_Customer_Model_Attribute
*/
public function processStreetAttribute(Mage_Customer_Model_Attribute $attribute)
diff --git a/app/code/core/Mage/Adminhtml/Helper/Catalog/Product/Composite.php b/app/code/core/Mage/Adminhtml/Helper/Catalog/Product/Composite.php
index fd1ad95b45e..6b6635073a3 100644
--- a/app/code/core/Mage/Adminhtml/Helper/Catalog/Product/Composite.php
+++ b/app/code/core/Mage/Adminhtml/Helper/Catalog/Product/Composite.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -42,7 +42,6 @@ protected function _initUpdateResultLayout($controller)
* when single configuration submitted
*
* @param Mage_Adminhtml_Controller_Action $controller
- * @param Varien_Object $updateResult
* @return $this
*/
public function renderUpdateResult($controller, Varien_Object $updateResult)
@@ -86,7 +85,6 @@ protected function _initConfigureResultLayout($controller, $isOk, $productType)
* - 'error' = true, and 'message' to show
*
* @param Mage_Adminhtml_Controller_Action $controller
- * @param Varien_Object $configureResult
* @return $this
*/
public function renderConfigureResult($controller, Varien_Object $configureResult)
diff --git a/app/code/core/Mage/Adminhtml/Helper/Config.php b/app/code/core/Mage/Adminhtml/Helper/Config.php
index 5e29f965338..73ac1905229 100644
--- a/app/code/core/Mage/Adminhtml/Helper/Config.php
+++ b/app/code/core/Mage/Adminhtml/Helper/Config.php
@@ -29,7 +29,6 @@ class Mage_Adminhtml_Helper_Config extends Mage_Core_Helper_Abstract
* Return information array of input types
*
* @param string $inputType
- * @return array
*/
public function getInputTypes(?string $inputType = null): array
{
@@ -49,9 +48,6 @@ public function getInputTypes(?string $inputType = null): array
/**
* Return default backend model by input type
- *
- * @param string $inputType
- * @return string|null
*/
public function getBackendModelByInputType(string $inputType): ?string
{
@@ -64,9 +60,6 @@ public function getBackendModelByInputType(string $inputType): ?string
/**
* Get field backend model by field config node
- *
- * @param Varien_Simplexml_Element $fieldConfig
- * @return string|null
*/
public function getBackendModelByFieldConfig(Varien_Simplexml_Element $fieldConfig): ?string
{
diff --git a/app/code/core/Mage/Adminhtml/Model/LayoutUpdate/Validator.php b/app/code/core/Mage/Adminhtml/Model/LayoutUpdate/Validator.php
index 19b1a0d4716..f7ce5d55797 100644
--- a/app/code/core/Mage/Adminhtml/Model/LayoutUpdate/Validator.php
+++ b/app/code/core/Mage/Adminhtml/Model/LayoutUpdate/Validator.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2018-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -152,8 +152,6 @@ protected function _getXpathBlockValidationExpression()
/**
* Validate template path for preventing access to the directory above
* If template path value has "../" @throws Exception
- *
- * @param array $templatePaths
*/
protected function _validateTemplatePath(array $templatePaths)
{
diff --git a/app/code/core/Mage/Adminhtml/Model/Sales/Order/Create.php b/app/code/core/Mage/Adminhtml/Model/Sales/Order/Create.php
index 38dfc4100bb..b7fb3980774 100644
--- a/app/code/core/Mage/Adminhtml/Model/Sales/Order/Create.php
+++ b/app/code/core/Mage/Adminhtml/Model/Sales/Order/Create.php
@@ -239,7 +239,6 @@ public function getQuote()
/**
* Set quote object
*
- * @param Mage_Sales_Model_Quote $quote
* @return $this
*/
public function setQuote(Mage_Sales_Model_Quote $quote)
@@ -251,7 +250,6 @@ public function setQuote(Mage_Sales_Model_Quote $quote)
/**
* Initialize creation data from existing order
*
- * @param Mage_Sales_Model_Order $order
* @return $this
*/
public function initFromOrder(Mage_Sales_Model_Order $order)
@@ -408,7 +406,6 @@ protected function _initShippingAddressFromOrder(Mage_Sales_Model_Order $order)
/**
* Initialize creation data from existing order Item
*
- * @param Mage_Sales_Model_Order_Item $orderItem
* @param int $qty
* @return Mage_Sales_Model_Quote_Item | string
*/
@@ -808,7 +805,6 @@ public function addProduct($product, $config = 1)
/**
* Add multiple products to current order quote
*
- * @param array $products
* @return Mage_Adminhtml_Model_Sales_Order_Create|Exception
*/
public function addProducts(array $products)
@@ -889,7 +885,6 @@ public function updateQuoteItems($data)
/**
* Parse additional options and sync them with product options
*
- * @param Mage_Sales_Model_Quote_Item $item
* @param array $additionalOptions
* @return array
*/
@@ -956,7 +951,6 @@ protected function _parseOptions(Mage_Sales_Model_Quote_Item $item, $additionalO
/**
* Assign options to item
*
- * @param Mage_Sales_Model_Quote_Item $item
* @param array $options
* @return $this
*/
@@ -1079,8 +1073,6 @@ protected function _getCustomerAddressForm()
* Set and validate Quote address
* All errors added to _errors
*
- * @param Mage_Sales_Model_Quote_Address $address
- * @param array $data
* @return $this
*/
protected function _setQuoteAddress(Mage_Sales_Model_Quote_Address $address, array $data)
@@ -1344,7 +1336,6 @@ protected function _customerIsInStore($store)
/**
* Set and validate Customer data
*
- * @param Mage_Customer_Model_Customer $customer
* @return $this
*/
protected function _setCustomerData(Mage_Customer_Model_Customer $customer)
diff --git a/app/code/core/Mage/Adminhtml/Model/Session/Quote.php b/app/code/core/Mage/Adminhtml/Model/Session/Quote.php
index 90acff66966..bca6746388a 100644
--- a/app/code/core/Mage/Adminhtml/Model/Session/Quote.php
+++ b/app/code/core/Mage/Adminhtml/Model/Session/Quote.php
@@ -112,7 +112,6 @@ public function getQuote()
/**
* Set customer model object
* To enable quick switch of preconfigured customer
- * @param Mage_Customer_Model_Customer $customer
* @return $this
*/
public function setCustomer(Mage_Customer_Model_Customer $customer)
diff --git a/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/File.php b/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/File.php
index 6184bee9410..cae94bf3332 100644
--- a/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/File.php
+++ b/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/File.php
@@ -208,8 +208,6 @@ protected function _getAllowedExtensions()
/**
* Add validators for uploading
- *
- * @param Mage_Core_Model_File_Uploader $uploader
*/
protected function addValidators(Mage_Core_Model_File_Uploader $uploader)
{
diff --git a/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Image.php b/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Image.php
index 245778e7b16..6d9f81c28ad 100644
--- a/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Image.php
+++ b/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Image.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Adminhtml
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2021-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2021-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -32,7 +32,6 @@ protected function _getAllowedExtensions()
/**
* Overwritten parent method for adding validators
- * @param Mage_Core_Model_File_Uploader $uploader
*/
protected function addValidators(Mage_Core_Model_File_Uploader $uploader)
{
diff --git a/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php b/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php
index fe2cd9b435a..31063179e57 100644
--- a/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php
+++ b/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php
@@ -152,7 +152,6 @@ protected function _initProduct()
* Create serializer block for a grid
*
* @param string $inputName
- * @param Mage_Adminhtml_Block_Widget_Grid $gridBlock
* @param array $productsArray
* @return Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Ajax_Serializer
*/
@@ -972,7 +971,6 @@ public function massStatusAction()
* Validate batch of products before theirs status will be set
*
* @throws Mage_Core_Exception
- * @param array $productIds
* @param int $status
*/
public function _validateMassStatus(array $productIds, $status)
diff --git a/app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php b/app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php
index 59da9770331..103d199e9eb 100644
--- a/app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php
+++ b/app/code/core/Mage/Adminhtml/controllers/Sales/Order/ShipmentController.php
@@ -492,7 +492,6 @@ protected function _needToAddDummy($item, $qtys)
/**
* Create shipping label for specific shipment with validation.
*
- * @param Mage_Sales_Model_Order_Shipment $shipment
* @return bool
*/
protected function _createShippingLabel(Mage_Sales_Model_Order_Shipment $shipment)
@@ -681,7 +680,6 @@ public function massPrintShippingLabelAction()
/**
* Combine array of labels as instance PDF
*
- * @param array $labelsContent
* @return Zend_Pdf
*/
protected function _combineLabelsPdf(array $labelsContent)
diff --git a/app/code/core/Mage/Api/Model/Acl/Assert/Ip.php b/app/code/core/Mage/Api/Model/Acl/Assert/Ip.php
index abfe127fcc8..088b4f3ee87 100644
--- a/app/code/core/Mage/Api/Model/Acl/Assert/Ip.php
+++ b/app/code/core/Mage/Api/Model/Acl/Assert/Ip.php
@@ -24,9 +24,6 @@ class Mage_Api_Model_Acl_Assert_Ip implements Zend_Acl_Assert_Interface
/**
* Check whether ip is allowed
*
- * @param Mage_Api_Model_Acl $acl
- * @param Mage_Api_Model_Acl_Role|null $role
- * @param Mage_Api_Model_Acl_Resource|null $resource
* @param string|null $privilege
* @return bool|null
*/
diff --git a/app/code/core/Mage/Api/Model/Acl/Assert/Time.php b/app/code/core/Mage/Api/Model/Acl/Assert/Time.php
index ef251a39282..819743e046d 100644
--- a/app/code/core/Mage/Api/Model/Acl/Assert/Time.php
+++ b/app/code/core/Mage/Api/Model/Acl/Assert/Time.php
@@ -24,9 +24,6 @@ class Mage_Api_Model_Acl_Assert_Time implements Zend_Acl_Assert_Interface
/**
* Assert time
*
- * @param Mage_Api_Model_Acl $acl
- * @param Mage_Api_Model_Acl_Role|null $role
- * @param Mage_Api_Model_Acl_Resource|null $resource
* @param string|null $privilege
* @return bool|null
*/
diff --git a/app/code/core/Mage/Api/Model/Config.php b/app/code/core/Mage/Api/Model/Config.php
index 21dc1b7e690..3086ea6c2ed 100644
--- a/app/code/core/Mage/Api/Model/Config.php
+++ b/app/code/core/Mage/Api/Model/Config.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -154,7 +154,6 @@ public function getResourcesAlias()
/**
* Load Acl resources from config
*
- * @param Mage_Api_Model_Acl $acl
* @param Mage_Core_Model_Config_Element $resource
* @param string $parentName
* @return $this
diff --git a/app/code/core/Mage/Api/Model/Resource/Abstract.php b/app/code/core/Mage/Api/Model/Resource/Abstract.php
index dbf60c81e94..43a28f187f9 100644
--- a/app/code/core/Mage/Api/Model/Resource/Abstract.php
+++ b/app/code/core/Mage/Api/Model/Resource/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -51,7 +51,6 @@ protected function _getConfig()
/**
* Set configuration for api resource
*
- * @param Varien_Simplexml_Element $xml
* @return $this
*/
public function setResourceConfig(Varien_Simplexml_Element $xml)
diff --git a/app/code/core/Mage/Api/Model/Resource/Acl.php b/app/code/core/Mage/Api/Model/Resource/Acl.php
index 0c37479a2bf..5ddc6e8f71b 100644
--- a/app/code/core/Mage/Api/Model/Resource/Acl.php
+++ b/app/code/core/Mage/Api/Model/Resource/Acl.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -65,7 +65,6 @@ public function loadAcl()
/**
* Load roles
*
- * @param Mage_Api_Model_Acl $acl
* @param array[] $rolesArr
* @return $this
*/
@@ -96,8 +95,6 @@ public function loadRoles(Mage_Api_Model_Acl $acl, array $rolesArr)
/**
* Load rules
*
- * @param Mage_Api_Model_Acl $acl
- * @param array $rulesArr
* @return $this
*/
public function loadRules(Mage_Api_Model_Acl $acl, array $rulesArr)
diff --git a/app/code/core/Mage/Api/Model/Resource/Acl/Role.php b/app/code/core/Mage/Api/Model/Resource/Acl/Role.php
index 41b189bdc63..0d07eda429e 100644
--- a/app/code/core/Mage/Api/Model/Resource/Acl/Role.php
+++ b/app/code/core/Mage/Api/Model/Resource/Acl/Role.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -31,7 +31,6 @@ protected function _construct()
/**
* Action before save
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
protected function _beforeSave(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Api/Model/Resource/Role.php b/app/code/core/Mage/Api/Model/Resource/Role.php
index f9543ec94dc..1c9998d95da 100644
--- a/app/code/core/Mage/Api/Model/Resource/Role.php
+++ b/app/code/core/Mage/Api/Model/Resource/Role.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Action before save
*
- * @param Mage_Core_Model_Abstract|Mage_Api_Model_Role $object
* @return $this
*/
protected function _beforeSave(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Api/Model/Resource/Roles.php b/app/code/core/Mage/Api/Model/Resource/Roles.php
index f3db23689fd..ea6c5d61669 100644
--- a/app/code/core/Mage/Api/Model/Resource/Roles.php
+++ b/app/code/core/Mage/Api/Model/Resource/Roles.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -46,7 +46,6 @@ protected function _construct()
/**
* Process role before saving
*
- * @param Mage_Core_Model_Abstract|Mage_Api_Model_Roles $role
* @return $this
*/
protected function _beforeSave(Mage_Core_Model_Abstract $role)
@@ -74,7 +73,6 @@ protected function _beforeSave(Mage_Core_Model_Abstract $role)
/**
* Action after save
*
- * @param Mage_Core_Model_Abstract $role
* @return $this
*/
protected function _afterSave(Mage_Core_Model_Abstract $role)
@@ -87,7 +85,6 @@ protected function _afterSave(Mage_Core_Model_Abstract $role)
/**
* Action after delete
*
- * @param Mage_Core_Model_Abstract $role
* @return $this
*/
protected function _afterDelete(Mage_Core_Model_Abstract $role)
@@ -101,7 +98,6 @@ protected function _afterDelete(Mage_Core_Model_Abstract $role)
/**
* Get role users
*
- * @param Mage_Api_Model_Roles $role
* @return array
*/
public function getRoleUsers(Mage_Api_Model_Roles $role)
@@ -118,7 +114,6 @@ public function getRoleUsers(Mage_Api_Model_Roles $role)
/**
* Update role users
*
- * @param Mage_Api_Model_Roles $role
* @return bool
*/
private function _updateRoleUsersAcl(Mage_Api_Model_Roles $role)
diff --git a/app/code/core/Mage/Api/Model/Resource/Rules.php b/app/code/core/Mage/Api/Model/Resource/Rules.php
index 37acd6032ad..cb708733693 100644
--- a/app/code/core/Mage/Api/Model/Resource/Rules.php
+++ b/app/code/core/Mage/Api/Model/Resource/Rules.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2017-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -28,8 +28,6 @@ protected function _construct()
/**
* Save rule
- *
- * @param Mage_Api_Model_Rules $rule
*/
public function saveRel(Mage_Api_Model_Rules $rule)
{
diff --git a/app/code/core/Mage/Api/Model/Resource/User.php b/app/code/core/Mage/Api/Model/Resource/User.php
index 88c82fd809d..a5dd3997889 100644
--- a/app/code/core/Mage/Api/Model/Resource/User.php
+++ b/app/code/core/Mage/Api/Model/Resource/User.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2017-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -49,7 +49,6 @@ protected function _initUniqueFields()
/**
* Authenticate user by $username and $password
*
- * @param Mage_Api_Model_User $user
* @return $this
*/
public function recordLogin(Mage_Api_Model_User $user)
@@ -65,7 +64,6 @@ public function recordLogin(Mage_Api_Model_User $user)
/**
* Record api user session
*
- * @param Mage_Api_Model_User $user
* @return $this
*/
public function recordSession(Mage_Api_Model_User $user)
@@ -101,7 +99,6 @@ public function recordSession(Mage_Api_Model_User $user)
/**
* Clean old session
*
- * @param Mage_Api_Model_User|null $user
* @return $this
*/
public function cleanOldSessions(?Mage_Api_Model_User $user)
@@ -209,7 +206,6 @@ public function hasAssigned2Role($user)
/**
* Action before save
*
- * @param Mage_Core_Model_Abstract|Mage_Api_Model_User $user
* @return $this
*/
protected function _beforeSave(Mage_Core_Model_Abstract $user)
@@ -225,7 +221,6 @@ protected function _beforeSave(Mage_Core_Model_Abstract $user)
/**
* Delete the object
*
- * @param Mage_Core_Model_Abstract $user
* @return $this
* @throws Exception
*/
@@ -248,7 +243,6 @@ public function delete(Mage_Core_Model_Abstract $user)
/**
* Save user roles
*
- * @param Mage_Core_Model_Abstract|Mage_Api_Model_User $user
* @return $this|Mage_Core_Model_Abstract
*/
public function _saveRelations(Mage_Core_Model_Abstract $user)
@@ -299,7 +293,6 @@ public function _saveRelations(Mage_Core_Model_Abstract $user)
/**
* Retrieve roles data
*
- * @param Mage_Core_Model_Abstract $user
* @return array
*/
public function _getRoles(Mage_Core_Model_Abstract $user)
@@ -327,7 +320,6 @@ public function _getRoles(Mage_Core_Model_Abstract $user)
/**
* Add Role
*
- * @param Mage_Core_Model_Abstract|Mage_Api_Model_User $user
* @return $this
*/
public function add(Mage_Core_Model_Abstract $user)
@@ -363,7 +355,6 @@ public function add(Mage_Core_Model_Abstract $user)
/**
* Delete from role
*
- * @param Mage_Core_Model_Abstract|Mage_Api_Model_User $user
* @return $this
*/
public function deleteFromRole(Mage_Core_Model_Abstract $user)
@@ -390,7 +381,6 @@ public function deleteFromRole(Mage_Core_Model_Abstract $user)
/**
* Retrieve roles which exists for user
*
- * @param Mage_Core_Model_Abstract|Mage_Api_Model_User $user
* @return array
*/
public function roleUserExists(Mage_Core_Model_Abstract $user)
@@ -409,7 +399,6 @@ public function roleUserExists(Mage_Core_Model_Abstract $user)
/**
* Check if user not unique
*
- * @param Mage_Core_Model_Abstract|Mage_Api_Model_User $user
* @return array
*/
public function userExists(Mage_Core_Model_Abstract $user)
diff --git a/app/code/core/Mage/Api/Model/Roles.php b/app/code/core/Mage/Api/Model/Roles.php
index d97fd6df4be..bc4b5712aa1 100644
--- a/app/code/core/Mage/Api/Model/Roles.php
+++ b/app/code/core/Mage/Api/Model/Roles.php
@@ -99,7 +99,6 @@ public function getRoleUsers()
}
/**
- * @param Varien_Simplexml_Element|null $resource
* @param string|null $parentName
* @param int $level
* @param bool|null $represent2Darray
diff --git a/app/code/core/Mage/Api/Model/Server.php b/app/code/core/Mage/Api/Model/Server.php
index b4274747787..9ca7e2b1ed1 100644
--- a/app/code/core/Mage/Api/Model/Server.php
+++ b/app/code/core/Mage/Api/Model/Server.php
@@ -61,7 +61,6 @@ public function getAdapterCodeByAlias($alias)
/**
* Initialize server components
*
- * @param Mage_Api_Controller_Action $controller
* @param string $adapter Adapter name
* @param string $handler Handler name
* @return $this
diff --git a/app/code/core/Mage/Api/Model/Server/Adapter/Interface.php b/app/code/core/Mage/Api/Model/Server/Adapter/Interface.php
index 625b9847cfc..0024f757a7a 100644
--- a/app/code/core/Mage/Api/Model/Server/Adapter/Interface.php
+++ b/app/code/core/Mage/Api/Model/Server/Adapter/Interface.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -39,7 +39,6 @@ public function getHandler();
/**
* Set webservice api controller
*
- * @param Mage_Api_Controller_Action $controller
* @return Mage_Api_Model_Server_Adapter_Interface
*/
public function setController(Mage_Api_Controller_Action $controller);
diff --git a/app/code/core/Mage/Api/Model/Server/Adapter/Jsonrpc.php b/app/code/core/Mage/Api/Model/Server/Adapter/Jsonrpc.php
index 24752b46d74..84e13510f2b 100644
--- a/app/code/core/Mage/Api/Model/Server/Adapter/Jsonrpc.php
+++ b/app/code/core/Mage/Api/Model/Server/Adapter/Jsonrpc.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2023-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -46,7 +46,6 @@ public function getHandler()
/**
* Set webservice api controller
*
- * @param Mage_Api_Controller_Action $controller
* @return $this
*/
public function setController(Mage_Api_Controller_Action $controller)
diff --git a/app/code/core/Mage/Api/Model/Server/Adapter/Soap.php b/app/code/core/Mage/Api/Model/Server/Adapter/Soap.php
index f03d03d9cf7..dfc8aba430c 100644
--- a/app/code/core/Mage/Api/Model/Server/Adapter/Soap.php
+++ b/app/code/core/Mage/Api/Model/Server/Adapter/Soap.php
@@ -87,7 +87,6 @@ public function getHandler()
/**
* Set webservice api controller
*
- * @param Mage_Api_Controller_Action $controller
* @return $this
*/
public function setController(Mage_Api_Controller_Action $controller)
diff --git a/app/code/core/Mage/Api/Model/Server/Adapter/Xmlrpc.php b/app/code/core/Mage/Api/Model/Server/Adapter/Xmlrpc.php
index 8ed798605ad..54bf2cf8fbf 100644
--- a/app/code/core/Mage/Api/Model/Server/Adapter/Xmlrpc.php
+++ b/app/code/core/Mage/Api/Model/Server/Adapter/Xmlrpc.php
@@ -53,7 +53,6 @@ public function getHandler()
/**
* Set webservice api controller
*
- * @param Mage_Api_Controller_Action $controller
* @return $this
*/
public function setController(Mage_Api_Controller_Action $controller)
diff --git a/app/code/core/Mage/Api/Model/Server/Handler/Abstract.php b/app/code/core/Mage/Api/Model/Server/Handler/Abstract.php
index 7f72f84cf65..3b28667f384 100644
--- a/app/code/core/Mage/Api/Model/Server/Handler/Abstract.php
+++ b/app/code/core/Mage/Api/Model/Server/Handler/Abstract.php
@@ -311,7 +311,6 @@ public function call($sessionId, $apiPath, $args = [])
* Multiple calls of resource functionality
*
* @param string $sessionId
- * @param array $calls
* @param array $options
* @return array|void
*/
diff --git a/app/code/core/Mage/Api/Model/Session.php b/app/code/core/Mage/Api/Model/Session.php
index e91e6b71b02..c9a2716c4ef 100644
--- a/app/code/core/Mage/Api/Model/Session.php
+++ b/app/code/core/Mage/Api/Model/Session.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -99,7 +99,6 @@ public function clear()
/**
* Flag login as HTTP Basic Auth.
*
- * @param bool $isInstaLogin
* @return $this
*/
public function setIsInstaLogin(bool $isInstaLogin = true)
@@ -110,8 +109,6 @@ public function setIsInstaLogin(bool $isInstaLogin = true)
/**
* Is insta-login?
- *
- * @return bool
*/
public function getIsInstaLogin(): bool
{
diff --git a/app/code/core/Mage/Api2/Model/Acl/Filter.php b/app/code/core/Mage/Api2/Model/Acl/Filter.php
index e1244d147d9..b1d53ceb7d3 100644
--- a/app/code/core/Mage/Api2/Model/Acl/Filter.php
+++ b/app/code/core/Mage/Api2/Model/Acl/Filter.php
@@ -44,8 +44,6 @@ class Mage_Api2_Model_Acl_Filter
/**
* Object constructor
- *
- * @param Mage_Api2_Model_Resource $resource
*/
public function __construct(Mage_Api2_Model_Resource $resource)
{
@@ -161,7 +159,6 @@ public function getAttributesToInclude()
/**
* Filter data for write operations
*
- * @param array $requestData
* @return array
*/
public function in(array $requestData)
@@ -174,7 +171,6 @@ public function in(array $requestData)
/**
* Filter data before output
*
- * @param array $retrievedData
* @return array
*/
public function out(array $retrievedData)
diff --git a/app/code/core/Mage/Api2/Model/Acl/Global.php b/app/code/core/Mage/Api2/Model/Acl/Global.php
index 1d4bc75c11d..1472900a560 100644
--- a/app/code/core/Mage/Api2/Model/Acl/Global.php
+++ b/app/code/core/Mage/Api2/Model/Acl/Global.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api2
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Api2_Model_Acl_Global
/**
* Check if the operation is allowed on resources of given type type for given user type/role
*
- * @param Mage_Api2_Model_Auth_User_Abstract $apiUser
* @param string $resourceType
* @param string $operation
* @return bool
diff --git a/app/code/core/Mage/Api2/Model/Auth.php b/app/code/core/Mage/Api2/Model/Auth.php
index 18e2cb01bf6..0b560916624 100644
--- a/app/code/core/Mage/Api2/Model/Auth.php
+++ b/app/code/core/Mage/Api2/Model/Auth.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api2
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ class Mage_Api2_Model_Auth
/**
* Figure out API user type and create user model instance
*
- * @param Mage_Api2_Model_Request $request
* @throws Exception
* @return Mage_Api2_Model_Auth_User_Abstract
*/
diff --git a/app/code/core/Mage/Api2/Model/Auth/Adapter.php b/app/code/core/Mage/Api2/Model/Auth/Adapter.php
index 0178ccb68c4..86439f692db 100644
--- a/app/code/core/Mage/Api2/Model/Auth/Adapter.php
+++ b/app/code/core/Mage/Api2/Model/Auth/Adapter.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api2
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -58,7 +58,6 @@ protected function _initAdapters()
*
* Returns stdClass object with two properties: type and id
*
- * @param Mage_Api2_Model_Request $request
* @return stdClass
*/
public function getUserParams(Mage_Api2_Model_Request $request)
diff --git a/app/code/core/Mage/Api2/Model/Auth/Adapter/Abstract.php b/app/code/core/Mage/Api2/Model/Auth/Adapter/Abstract.php
index 6d217f065ac..44328cf104d 100644
--- a/app/code/core/Mage/Api2/Model/Auth/Adapter/Abstract.php
+++ b/app/code/core/Mage/Api2/Model/Auth/Adapter/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api2
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -26,7 +26,6 @@ abstract class Mage_Api2_Model_Auth_Adapter_Abstract
*
* Returns stdClass object with two properties: type and id
*
- * @param Mage_Api2_Model_Request $request
* @return stdClass
*/
abstract public function getUserParams(Mage_Api2_Model_Request $request);
@@ -34,7 +33,6 @@ abstract public function getUserParams(Mage_Api2_Model_Request $request);
/**
* Check if request contains authentication info for adapter
*
- * @param Mage_Api2_Model_Request $request
* @return bool
*/
abstract public function isApplicableToRequest(Mage_Api2_Model_Request $request);
diff --git a/app/code/core/Mage/Api2/Model/Auth/Adapter/Oauth.php b/app/code/core/Mage/Api2/Model/Auth/Adapter/Oauth.php
index b552cd17d68..a4f1dba5a8d 100644
--- a/app/code/core/Mage/Api2/Model/Auth/Adapter/Oauth.php
+++ b/app/code/core/Mage/Api2/Model/Auth/Adapter/Oauth.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api2
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -26,7 +26,6 @@ class Mage_Api2_Model_Auth_Adapter_Oauth extends Mage_Api2_Model_Auth_Adapter_Ab
*
* Returns stdClass object with two properties: type and id
*
- * @param Mage_Api2_Model_Request $request
* @return stdClass
*/
public function getUserParams(Mage_Api2_Model_Request $request)
@@ -54,7 +53,6 @@ public function getUserParams(Mage_Api2_Model_Request $request)
/**
* Check if request contains authentication info for adapter
*
- * @param Mage_Api2_Model_Request $request
* @return bool
*/
public function isApplicableToRequest(Mage_Api2_Model_Request $request)
diff --git a/app/code/core/Mage/Api2/Model/Dispatcher.php b/app/code/core/Mage/Api2/Model/Dispatcher.php
index 9af072cf80e..e1577105b08 100644
--- a/app/code/core/Mage/Api2/Model/Dispatcher.php
+++ b/app/code/core/Mage/Api2/Model/Dispatcher.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api2
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -36,8 +36,6 @@ class Mage_Api2_Model_Dispatcher
/**
* Instantiate resource class, set parameters to the instance, run resource internal dispatch method
*
- * @param Mage_Api2_Model_Request $request
- * @param Mage_Api2_Model_Response $response
* @return $this
* @throws Mage_Api2_Exception
*/
@@ -97,7 +95,6 @@ public static function loadResourceModel($model, $apiType, $userType, $version)
/**
* Set API user object
*
- * @param Mage_Api2_Model_Auth_User_Abstract $apiUser
* @return $this
*/
public function setApiUser(Mage_Api2_Model_Auth_User_Abstract $apiUser)
diff --git a/app/code/core/Mage/Api2/Model/Multicall.php b/app/code/core/Mage/Api2/Model/Multicall.php
index b709d40316e..0bc1560ab13 100644
--- a/app/code/core/Mage/Api2/Model/Multicall.php
+++ b/app/code/core/Mage/Api2/Model/Multicall.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api2
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -36,7 +36,6 @@ class Mage_Api2_Model_Multicall
*
* @param string $parentResourceId
* @param string $parentResourceName
- * @param Mage_Api2_Model_Request $parentCallRequest
* @return Mage_Api2_Model_Response
*/
public function call($parentResourceId, $parentResourceName, Mage_Api2_Model_Request $parentCallRequest)
@@ -231,8 +230,6 @@ protected function _getRequest()
/**
* Add internal call response to global response
- *
- * @param Mage_Api2_Model_Response $response
*/
protected function _aggregateResponse(Mage_Api2_Model_Response $response)
{
diff --git a/app/code/core/Mage/Api2/Model/Observer.php b/app/code/core/Mage/Api2/Model/Observer.php
index 23497dcd7d2..1f15c00d09e 100644
--- a/app/code/core/Mage/Api2/Model/Observer.php
+++ b/app/code/core/Mage/Api2/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api2
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,8 +23,6 @@ class Mage_Api2_Model_Observer
{
/**
* Save relation of admin user to API2 role
- *
- * @param Varien_Event_Observer $observer
*/
public function saveAdminToRoleRelation(Varien_Event_Observer $observer)
{
@@ -47,7 +45,6 @@ public function saveAdminToRoleRelation(Varien_Event_Observer $observer)
/**
* After save attribute if it is not visible on front remove it from Attribute ACL
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogAttributeSaveAfter(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Api2/Model/Resource.php b/app/code/core/Mage/Api2/Model/Resource.php
index eb467ec1b11..a3946e74493 100644
--- a/app/code/core/Mage/Api2/Model/Resource.php
+++ b/app/code/core/Mage/Api2/Model/Resource.php
@@ -312,7 +312,6 @@ public function getRequest()
/**
* Set request
*
- * @param Mage_Api2_Model_Request $request
* @return $this
*/
public function setRequest(Mage_Api2_Model_Request $request)
@@ -417,8 +416,6 @@ public function getResponse()
/**
* Set response
- *
- * @param Mage_Api2_Model_Response $response
*/
public function setResponse(Mage_Api2_Model_Response $response)
{
@@ -442,8 +439,6 @@ public function getFilter()
/**
* Set filter
- *
- * @param Mage_Api2_Model_Acl_Filter $filter
*/
public function setFilter(Mage_Api2_Model_Acl_Filter $filter)
{
@@ -467,8 +462,6 @@ public function getRenderer()
/**
* Set renderer
- *
- * @param Mage_Api2_Model_Renderer_Interface $renderer
*/
public function setRenderer(Mage_Api2_Model_Renderer_Interface $renderer)
{
@@ -518,7 +511,6 @@ public function getApiUser()
/**
* Set API user
*
- * @param Mage_Api2_Model_Auth_User_Abstract $apiUser
* @return $this
*/
public function setApiUser(Mage_Api2_Model_Auth_User_Abstract $apiUser)
@@ -700,7 +692,6 @@ protected function _errorMessage($message, $code, $params = [])
/**
* Set navigation parameters and apply filters from URL params
*
- * @param Varien_Data_Collection_Db $collection
* @return $this
*/
final protected function _applyCollectionModifiers(Varien_Data_Collection_Db $collection)
@@ -738,7 +729,6 @@ final protected function _applyCollectionModifiers(Varien_Data_Collection_Db $co
/**
* Validate filter data and apply it to collection if possible
*
- * @param Varien_Data_Collection_Db $collection
* @return $this
*/
protected function _applyFilter(Varien_Data_Collection_Db $collection)
diff --git a/app/code/core/Mage/Api2/Model/Resource/Acl/Global/Role.php b/app/code/core/Mage/Api2/Model/Resource/Acl/Global/Role.php
index 6d375398988..ef7fc928e5c 100644
--- a/app/code/core/Mage/Api2/Model/Resource/Acl/Global/Role.php
+++ b/app/code/core/Mage/Api2/Model/Resource/Acl/Global/Role.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api2
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -88,7 +88,6 @@ public function deleteAdminToRoleRelation($adminId, $roleId)
/**
* Get users
*
- * @param Mage_Api2_Model_Acl_Global_Role $role
* @return array
*/
public function getRoleUsers(Mage_Api2_Model_Acl_Global_Role $role)
diff --git a/app/code/core/Mage/Api2/Model/Resource/Validator.php b/app/code/core/Mage/Api2/Model/Resource/Validator.php
index 7603f05ae39..594d2d6f185 100644
--- a/app/code/core/Mage/Api2/Model/Resource/Validator.php
+++ b/app/code/core/Mage/Api2/Model/Resource/Validator.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api2
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -38,7 +38,6 @@ abstract class Mage_Api2_Model_Resource_Validator
/**
* Set an array of errors
*
- * @param array $data
* @return Mage_Api2_Model_Resource_Validator
*/
protected function _setErrors(array $data)
diff --git a/app/code/core/Mage/Api2/Model/Resource/Validator/Eav.php b/app/code/core/Mage/Api2/Model/Resource/Validator/Eav.php
index be4dd308a67..cce87dda662 100644
--- a/app/code/core/Mage/Api2/Model/Resource/Validator/Eav.php
+++ b/app/code/core/Mage/Api2/Model/Resource/Validator/Eav.php
@@ -111,7 +111,6 @@ public function __construct($options)
/**
* Validate attribute value for attributes with source models
*
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @param mixed $attrValue
* @return array|bool
*/
@@ -152,7 +151,6 @@ protected function _validateAttributeWithSource(Mage_Eav_Model_Entity_Attribute_
/**
* Filter request data.
*
- * @param array $data
* @return array Filtered data
*/
public function filter(array $data)
@@ -168,7 +166,6 @@ public function filter(array $data)
* getErrors() will return an array of errors that explain why the
* validation failed.
*
- * @param array $data
* @param bool $partial
* @return bool
*/
diff --git a/app/code/core/Mage/Api2/Model/Resource/Validator/Fields.php b/app/code/core/Mage/Api2/Model/Resource/Validator/Fields.php
index f22c15906a4..4435b307e7e 100644
--- a/app/code/core/Mage/Api2/Model/Resource/Validator/Fields.php
+++ b/app/code/core/Mage/Api2/Model/Resource/Validator/Fields.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api2
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -77,7 +77,6 @@ public function __construct($options)
/**
* Build validator chain with config data
*
- * @param array $validationConfig
* @throws Exception If validator type is not set
* @throws Exception If validator is not exist
*/
@@ -136,7 +135,6 @@ protected function _getValidatorInstance($type, $options)
* getErrors() will return an array of errors that explain why the
* validation failed.
*
- * @param array $data
* @param bool $isPartial
* @return bool
*/
diff --git a/app/code/core/Mage/Api2/Model/Route/Abstract.php b/app/code/core/Mage/Api2/Model/Route/Abstract.php
index 6dad7263e66..12ce5088ca1 100644
--- a/app/code/core/Mage/Api2/Model/Route/Abstract.php
+++ b/app/code/core/Mage/Api2/Model/Route/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api2
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -45,8 +45,6 @@ abstract class Mage_Api2_Model_Route_Abstract extends Zend_Controller_Router_Rou
/**
* Process construct param and call parent::__construct() with params
- *
- * @param array $arguments
*/
public function __construct(array $arguments)
{
@@ -63,7 +61,6 @@ public function __construct(array $arguments)
* Retrieve argument value
*
* @param string $name argument name
- * @param array $arguments
* @return mixed
*/
protected function _getArgumentValue($name, array $arguments)
diff --git a/app/code/core/Mage/Api2/Model/Router.php b/app/code/core/Mage/Api2/Model/Router.php
index f49948f58a1..075cc5383c9 100644
--- a/app/code/core/Mage/Api2/Model/Router.php
+++ b/app/code/core/Mage/Api2/Model/Router.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Api2
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -31,7 +31,6 @@ class Mage_Api2_Model_Router
/**
* Set routes
*
- * @param array $routes
* @return $this
*/
public function setRoutes(array $routes)
@@ -55,7 +54,6 @@ public function getRoutes()
* Route the Request, the only responsibility of the class
* Find route that match current URL, set parameters of the route to Request object
*
- * @param Mage_Api2_Model_Request $request
* @return Mage_Api2_Model_Request
* @throws Mage_Api2_Exception
*/
@@ -86,7 +84,6 @@ public function route(Mage_Api2_Model_Request $request)
/**
* Set API type to request as a result of one pass route
*
- * @param Mage_Api2_Model_Request $request
* @param bool $trimApiTypePath OPTIONAL If TRUE - /api/:api_type part of request path info will be trimmed
* @return $this
* @throws Mage_Api2_Exception
diff --git a/app/code/core/Mage/Api2/Model/Server.php b/app/code/core/Mage/Api2/Model/Server.php
index 32f70f3392b..3407bbc32f3 100644
--- a/app/code/core/Mage/Api2/Model/Server.php
+++ b/app/code/core/Mage/Api2/Model/Server.php
@@ -111,8 +111,6 @@ public function run()
/**
* Make internal call to api
*
- * @param Mage_Api2_Model_Request $request
- * @param Mage_Api2_Model_Response $response
* @throws Mage_Api2_Exception
*/
public function internalCall(Mage_Api2_Model_Request $request, Mage_Api2_Model_Response $response)
@@ -127,7 +125,6 @@ public function internalCall(Mage_Api2_Model_Request $request, Mage_Api2_Model_R
* Authenticate user
*
* @throws Exception
- * @param Mage_Api2_Model_Request $request
* @return Mage_Api2_Model_Auth_User_Abstract
*/
protected function _authenticate(Mage_Api2_Model_Request $request)
@@ -143,7 +140,6 @@ protected function _authenticate(Mage_Api2_Model_Request $request)
* Set auth user
*
* @throws Exception
- * @param Mage_Api2_Model_Auth_User_Abstract $authUser
* @return $this
*/
protected function _setAuthUser(Mage_Api2_Model_Auth_User_Abstract $authUser)
@@ -171,7 +167,6 @@ protected function _getAuthUser()
* Set all routes of the given api type to Route object
* Find route that match current URL, set parameters of the route to Request object
*
- * @param Mage_Api2_Model_Request $request
* @return $this
*/
protected function _route(Mage_Api2_Model_Request $request)
@@ -189,8 +184,6 @@ protected function _route(Mage_Api2_Model_Request $request)
/**
* Global ACL processing
*
- * @param Mage_Api2_Model_Request $request
- * @param Mage_Api2_Model_Auth_User_Abstract $apiUser
* @return $this
* @throws Mage_Api2_Exception
*/
@@ -209,9 +202,6 @@ protected function _allow(Mage_Api2_Model_Request $request, Mage_Api2_Model_Auth
* Load class file, instantiate resource class, set parameters to the instance, run resource internal dispatch
* method
*
- * @param Mage_Api2_Model_Request $request
- * @param Mage_Api2_Model_Response $response
- * @param Mage_Api2_Model_Auth_User_Abstract $apiUser
* @return $this
*/
protected function _dispatch(
@@ -240,9 +230,6 @@ protected function _getConfig()
* Process thrown exception
* Generate and set HTTP response code, error message to Response object
*
- * @param Exception $exception
- * @param Mage_Api2_Model_Renderer_Interface $renderer
- * @param Mage_Api2_Model_Response $response
* @return $this
*/
protected function _renderException(
diff --git a/app/code/core/Mage/Authorizenet/Helper/Data.php b/app/code/core/Mage/Authorizenet/Helper/Data.php
index 132feffa3c6..6f66c6d038f 100644
--- a/app/code/core/Mage/Authorizenet/Helper/Data.php
+++ b/app/code/core/Mage/Authorizenet/Helper/Data.php
@@ -126,8 +126,6 @@ public function getControllerName()
/**
* Update all child and parent order's edit increment numbers.
* Needed for Admin area.
- *
- * @param Mage_Sales_Model_Order $order
*/
public function updateOrderEditIncrements(Mage_Sales_Model_Order $order)
{
diff --git a/app/code/core/Mage/Authorizenet/Model/Directpost.php b/app/code/core/Mage/Authorizenet/Model/Directpost.php
index 81b2b128033..4be1ca8875f 100644
--- a/app/code/core/Mage/Authorizenet/Model/Directpost.php
+++ b/app/code/core/Mage/Authorizenet/Model/Directpost.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Authorizenet
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -54,7 +54,6 @@ public function validate()
/**
* Send authorize request to gateway
*
- * @param Varien_Object $payment
* @param float $amount
* @return void
* @throws Mage_Core_Exception
@@ -67,7 +66,6 @@ public function authorize(Varien_Object $payment, $amount)
/**
* Send capture request to gateway
*
- * @param Varien_Object $payment
* @param float $amount
* @return $this
* @throws Mage_Core_Exception
@@ -127,7 +125,6 @@ public function canRefund()
/**
* Check void availability
*
- * @param Varien_Object $payment
* @return bool
*/
public function canVoid(Varien_Object $payment)
@@ -138,7 +135,6 @@ public function canVoid(Varien_Object $payment)
/**
* Void the payment through gateway
*
- * @param Varien_Object $payment
* @return $this
* @throws Mage_Core_Exception
*/
@@ -203,7 +199,6 @@ public function processCreditmemo($creditmemo, $payment)
* Refund the amount
* Need to decode Last 4 digits for request.
*
- * @param Varien_Object $payment
* @param float $amount
* @return $this
* @throws Mage_Core_Exception
@@ -225,7 +220,6 @@ public function refund(Varien_Object $payment, $amount)
/**
* refund the amount with transaction id
*
- * @param Varien_Object $payment
* @param string $amount
* @return $this
* @throws Mage_Core_Exception
@@ -370,7 +364,6 @@ public function generateRequestFromOrder(Mage_Sales_Model_Order $order)
/**
* Fill response with data.
*
- * @param array $postData
* @return $this
*/
public function setResponseData(array $postData)
@@ -457,8 +450,6 @@ public function process(array $responseData)
/**
* Fill payment with credit card data from response from Authorize.net.
- *
- * @param Varien_Object $payment
*/
protected function _fillPaymentByResponse(Varien_Object $payment)
{
@@ -525,7 +516,6 @@ protected function _matchAmount($amount)
* Operate with order using information from Authorize.net.
* Authorize order or authorize and capture it.
*
- * @param Mage_Sales_Model_Order $order
*
* @throws Exception
*/
@@ -589,7 +579,6 @@ protected function _authOrder(Mage_Sales_Model_Order $order)
/**
* Register order cancellation. Return money to customer if needed.
*
- * @param Mage_Sales_Model_Order $order
* @param string $message
* @param bool $voidPayment
*/
@@ -616,8 +605,6 @@ protected function _declineOrder(Mage_Sales_Model_Order $order, $message = '', $
/**
* Capture order's payment using AIM.
- *
- * @param Mage_Sales_Model_Order $order
*/
protected function _captureOrder(Mage_Sales_Model_Order $order)
{
diff --git a/app/code/core/Mage/Authorizenet/Model/Directpost/Observer.php b/app/code/core/Mage/Authorizenet/Model/Directpost/Observer.php
index 03633893580..3171b1f115f 100644
--- a/app/code/core/Mage/Authorizenet/Model/Directpost/Observer.php
+++ b/app/code/core/Mage/Authorizenet/Model/Directpost/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Authorizenet
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Authorizenet_Model_Directpost_Observer
/**
* Save order into registry to use it in the overloaded controller.
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function saveOrderAfterSubmit(Varien_Event_Observer $observer)
@@ -39,7 +38,6 @@ public function saveOrderAfterSubmit(Varien_Event_Observer $observer)
/**
* Set data for response of frontend saveOrder action
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function addAdditionalFieldsToResponseFrontend(Varien_Event_Observer $observer)
@@ -82,7 +80,6 @@ public function addAdditionalFieldsToResponseFrontend(Varien_Event_Observer $obs
* Update all edit increments for all orders if module is enabled.
* Needed for correct work of edit orders in Admin area.
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function updateAllEditIncrements(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Authorizenet/Model/Directpost/Request.php b/app/code/core/Mage/Authorizenet/Model/Directpost/Request.php
index b045a13c248..97884c5d402 100644
--- a/app/code/core/Mage/Authorizenet/Model/Directpost/Request.php
+++ b/app/code/core/Mage/Authorizenet/Model/Directpost/Request.php
@@ -80,7 +80,6 @@ public function generateRequestSign($merchantApiLoginId, $merchantTransactionKey
/**
* Set paygate data to request.
*
- * @param Mage_Authorizenet_Model_Directpost $paymentMethod
* @return $this
*/
public function setConstantData(Mage_Authorizenet_Model_Directpost $paymentMethod)
@@ -104,8 +103,6 @@ public function setConstantData(Mage_Authorizenet_Model_Directpost $paymentMetho
/**
* Set entity data to request
*
- * @param Mage_Sales_Model_Order $order
- * @param Mage_Authorizenet_Model_Directpost $paymentMethod
* @return $this
*/
public function setDataFromOrder(Mage_Sales_Model_Order $order, Mage_Authorizenet_Model_Directpost $paymentMethod)
diff --git a/app/code/core/Mage/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option.php b/app/code/core/Mage/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option.php
index 458fb492161..d287f71f72d 100644
--- a/app/code/core/Mage/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option.php
+++ b/app/code/core/Mage/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Bundle/Option.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Bundle
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -98,7 +98,6 @@ public function getProduct()
}
/**
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
@@ -108,7 +107,6 @@ public function render(Varien_Data_Form_Element_Abstract $element)
}
/**
- * @param Varien_Data_Form_Element_Abstract $element
* @return $this
*/
public function setElement(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Bundle/Helper/Catalog/Product/Configuration.php b/app/code/core/Mage/Bundle/Helper/Catalog/Product/Configuration.php
index 883da69d5db..a9cf92e09ad 100644
--- a/app/code/core/Mage/Bundle/Helper/Catalog/Product/Configuration.php
+++ b/app/code/core/Mage/Bundle/Helper/Catalog/Product/Configuration.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Bundle
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -43,7 +43,6 @@ public function getSelectionQty($product, $selectionId)
/**
* Obtain final price of selection in a bundle product
*
- * @param Mage_Catalog_Model_Product_Configuration_Item_Interface $item
* @param Mage_Catalog_Model_Product $selectionProduct
* @return float
*/
@@ -68,7 +67,6 @@ public function getSelectionFinalPrice(
* Returns array of options objects.
* Each option object will contain array of selections objects
*
- * @param Mage_Catalog_Model_Product_Configuration_Item_Interface $item
* @return array
*/
public function getBundleOptions(Mage_Catalog_Model_Product_Configuration_Item_Interface $item)
@@ -131,7 +129,6 @@ public function getBundleOptions(Mage_Catalog_Model_Product_Configuration_Item_I
/**
* Retrieves product options list
*
- * @param Mage_Catalog_Model_Product_Configuration_Item_Interface $item
* @return array
*/
public function getOptions(Mage_Catalog_Model_Product_Configuration_Item_Interface $item)
diff --git a/app/code/core/Mage/Bundle/Model/Observer.php b/app/code/core/Mage/Bundle/Model/Observer.php
index 1f114332797..ddb00771eec 100644
--- a/app/code/core/Mage/Bundle/Model/Observer.php
+++ b/app/code/core/Mage/Bundle/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Bundle
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2018-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -251,7 +251,6 @@ public function setAttributeTabBlock($observer)
/**
* Initialize product options renderer with bundle specific params
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function initOptionRenderer(Varien_Event_Observer $observer)
@@ -267,7 +266,6 @@ public function initOptionRenderer(Varien_Event_Observer $observer)
*
* @deprecated since 1.4.0.0
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductLoadAfter(Varien_Event_Observer $observer)
@@ -288,7 +286,6 @@ public function catalogProductLoadAfter(Varien_Event_Observer $observer)
* @deprecated since 1.4.0.0
* @see Mage_Bundle_Model_Resource_Indexer_Price
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogIndexPlainReindexAfter(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Bundle/Model/Product/Type.php b/app/code/core/Mage/Bundle/Model/Product/Type.php
index fe7f1e0fbd6..a9fae1a14ea 100644
--- a/app/code/core/Mage/Bundle/Model/Product/Type.php
+++ b/app/code/core/Mage/Bundle/Model/Product/Type.php
@@ -420,7 +420,6 @@ public function getSelectionsCollection($optionIds, $product = null)
* so need to change quote item qty option value too.
*
* @param array $options
- * @param Varien_Object|Mage_Sales_Model_Quote_Item_Option $option
* @param mixed $value
* @param Mage_Catalog_Model_Product $product
* @return Mage_Bundle_Model_Product_Type
@@ -511,7 +510,6 @@ public function isSalable($product = null)
* Prepare product and its configuration to be added to some products list.
* Perform standard preparation process and then prepare of bundle selections options.
*
- * @param Varien_Object $buyRequest
* @param Mage_Catalog_Model_Product $product
* @param string $processMode
* @return array|string
diff --git a/app/code/core/Mage/Bundle/Model/Resource/Option.php b/app/code/core/Mage/Bundle/Model/Resource/Option.php
index bca07036eb9..8e9f1166d37 100644
--- a/app/code/core/Mage/Bundle/Model/Resource/Option.php
+++ b/app/code/core/Mage/Bundle/Model/Resource/Option.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Bundle
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -27,7 +27,6 @@ protected function _construct()
}
/**
- * @param Mage_Core_Model_Abstract|Mage_Bundle_Model_Option $object
* @return $this
*/
protected function _afterSave(Mage_Core_Model_Abstract $object)
@@ -65,7 +64,6 @@ protected function _afterSave(Mage_Core_Model_Abstract $object)
/**
* After delete process
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
protected function _afterDelete(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Bundle/Model/Resource/Price/Index.php b/app/code/core/Mage/Bundle/Model/Resource/Price/Index.php
index b0521501e39..3feef734a95 100644
--- a/app/code/core/Mage/Bundle/Model/Resource/Price/Index.php
+++ b/app/code/core/Mage/Bundle/Model/Resource/Price/Index.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Bundle
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2017-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -316,7 +316,6 @@ public function getSelections($productId)
* Retrieve salable product statuses
*
* @param int|array $products
- * @param Mage_Core_Model_Website $website
* @return array
* @throws Mage_Core_Exception
*/
@@ -421,7 +420,6 @@ public function getProductsPriceFromIndex($productIds)
* Retrieve product(s) price data
*
* @param int|array $products
- * @param Mage_Core_Model_Website $website
* @return array
* @throws Zend_Db_Adapter_Exception|Zend_Db_Statement_Exception
*/
@@ -454,9 +452,7 @@ public function getProductsPriceData($products, Mage_Core_Model_Website $website
/**
* Add attribute data to select
*
- * @param Varien_Db_Select $select
* @param string $attributeCode
- * @param Mage_Core_Model_Website $website
* @return $this
* @throws Mage_Core_Exception
*/
@@ -508,7 +504,6 @@ protected function _addAttributeDataToSelect(
* Retrieve fixed bundle base price (with special price and rules)
*
* @param int $productId
- * @param array $priceData
* @param Mage_Core_Model_Website $website
* @param Mage_Customer_Model_Group $customerGroup
* @return float
@@ -533,7 +528,6 @@ protected function _getBasePrice($productId, array $priceData, $website, $custom
* Retrieve custom options for product
*
* @param int $productId
- * @param Mage_Core_Model_Website $website
* @return array
* @throws Zend_Db_Adapter_Exception|Zend_Db_Statement_Exception
*/
@@ -677,7 +671,6 @@ public function getCustomOptions($productId, Mage_Core_Model_Website $website)
* Calculate custom options price
* Return array with indexes(0 -> min_price, 1 -> max_price)
*
- * @param array $options
* @param float $basePrice
* @param float $minPrice
* @param float $maxPrice
@@ -719,8 +712,6 @@ public function _calculateCustomOptions(array $options, $basePrice, $minPrice, $
* Calculate minimal and maximal price for bundle selections
* Return array with prices (0 -> min_price, 1 -> max_price)
*
- * @param array $options
- * @param array $salableStatus
* @param int $productId
* @param int $priceType
* @param float $basePrice
@@ -816,8 +807,6 @@ public function _calculateBundleSelections(
* Apply special price
*
* @param float $finalPrice
- * @param array $priceData
- * @param Mage_Core_Model_Website $website
* @return float
*/
public function _calculateSpecialPrice($finalPrice, array $priceData, Mage_Core_Model_Website $website)
diff --git a/app/code/core/Mage/Captcha/Helper/Data.php b/app/code/core/Mage/Captcha/Helper/Data.php
index 65571045883..8a20a69f879 100644
--- a/app/code/core/Mage/Captcha/Helper/Data.php
+++ b/app/code/core/Mage/Captcha/Helper/Data.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Captcha
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -50,7 +50,6 @@ class Mage_Captcha_Helper_Data extends Mage_Core_Helper_Abstract
protected $_captcha = [];
/**
- * @return bool
* @since 19.4.19 / 20.0.17
*/
public function isEnabled(): bool
diff --git a/app/code/core/Mage/Captcha/Model/Observer.php b/app/code/core/Mage/Captcha/Model/Observer.php
index 8e4341020a9..bf90cd03657 100644
--- a/app/code/core/Mage/Captcha/Model/Observer.php
+++ b/app/code/core/Mage/Captcha/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Captcha
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -73,7 +73,6 @@ public function checkUserLogin($observer)
/**
* Check Captcha On Register User Page
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function checkUserCreate(Varien_Event_Observer $observer)
@@ -95,7 +94,6 @@ public function checkUserCreate(Varien_Event_Observer $observer)
/**
* Check Captcha On Checkout as Guest Page
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function checkGuestCheckout(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Catalog/Block/Product/Abstract.php b/app/code/core/Mage/Catalog/Block/Product/Abstract.php
index d156b682def..d92a6421c9d 100644
--- a/app/code/core/Mage/Catalog/Block/Product/Abstract.php
+++ b/app/code/core/Mage/Catalog/Block/Product/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2018-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -271,7 +271,6 @@ public function addPriceBlockType($type, $block = '', $template = '')
/**
* Get product reviews summary
*
- * @param Mage_Catalog_Model_Product $product
* @param bool $templateType
* @param bool $displayIfNoReviews
* @return string
@@ -452,7 +451,6 @@ public function getTierPrices($product = null)
* to get correct values in different products lists.
* E.g. crosssells, upsells, new products, recently viewed
*
- * @param Mage_Catalog_Model_Resource_Product_Collection $collection
* @return Mage_Catalog_Model_Resource_Product_Collection
*/
protected function _addProductAttributesAndPrices(Mage_Catalog_Model_Resource_Product_Collection $collection)
diff --git a/app/code/core/Mage/Catalog/Block/Product/View/Attributes.php b/app/code/core/Mage/Catalog/Block/Product/View/Attributes.php
index 37bd94d9821..5f1c1f6f03a 100644
--- a/app/code/core/Mage/Catalog/Block/Product/View/Attributes.php
+++ b/app/code/core/Mage/Catalog/Block/Product/View/Attributes.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -38,7 +38,6 @@ public function getProduct()
* $excludeAttr is optional array of attribute codes to
* exclude them from additional data array
*
- * @param array $excludeAttr
* @return array
*/
public function getAdditionalData(array $excludeAttr = [])
diff --git a/app/code/core/Mage/Catalog/Block/Product/View/Options.php b/app/code/core/Mage/Catalog/Block/Product/View/Options.php
index a28675eb625..a4ce89dbbc3 100644
--- a/app/code/core/Mage/Catalog/Block/Product/View/Options.php
+++ b/app/code/core/Mage/Catalog/Block/Product/View/Options.php
@@ -58,7 +58,6 @@ public function getProduct()
/**
* Set product object
*
- * @param Mage_Catalog_Model_Product|null $product
* @return $this
*/
public function setProduct(?Mage_Catalog_Model_Product $product = null)
@@ -177,7 +176,6 @@ public function getJsonConfig()
/**
* Get option html block
*
- * @param Mage_Catalog_Model_Product_Option $option
* @return string
*/
public function getOptionHtml(Mage_Catalog_Model_Product_Option $option)
diff --git a/app/code/core/Mage/Catalog/Block/Product/View/Options/Abstract.php b/app/code/core/Mage/Catalog/Block/Product/View/Options/Abstract.php
index 98e91e04651..e08ff962dd9 100644
--- a/app/code/core/Mage/Catalog/Block/Product/View/Options/Abstract.php
+++ b/app/code/core/Mage/Catalog/Block/Product/View/Options/Abstract.php
@@ -38,7 +38,6 @@ abstract class Mage_Catalog_Block_Product_View_Options_Abstract extends Mage_Cor
/**
* Set Product object
*
- * @param Mage_Catalog_Model_Product|null $product
* @return $this
*/
public function setProduct(?Mage_Catalog_Model_Product $product = null)
@@ -60,7 +59,6 @@ public function getProduct()
/**
* Set option
*
- * @param Mage_Catalog_Model_Product_Option $option
* @return Mage_Catalog_Block_Product_View_Options_Abstract
*/
public function setOption(Mage_Catalog_Model_Product_Option $option)
diff --git a/app/code/core/Mage/Catalog/Helper/Category/Url/Rewrite.php b/app/code/core/Mage/Catalog/Helper/Category/Url/Rewrite.php
index dd4b13c08e3..cc3e8483a06 100644
--- a/app/code/core/Mage/Catalog/Helper/Category/Url/Rewrite.php
+++ b/app/code/core/Mage/Catalog/Helper/Category/Url/Rewrite.php
@@ -37,8 +37,6 @@ class Mage_Catalog_Helper_Category_Url_Rewrite implements Mage_Catalog_Helper_Ca
/**
* Initialize resource and connection instances
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
@@ -50,7 +48,6 @@ public function __construct(array $args = [])
/**
* Join url rewrite table to eav collection
*
- * @param Mage_Eav_Model_Entity_Collection_Abstract $collection
* @param int $storeId
* @return $this
*/
@@ -72,7 +69,6 @@ public function joinTableToEavCollection(Mage_Eav_Model_Entity_Collection_Abstra
/**
* Join url rewrite table to collection
*
- * @param Mage_Catalog_Model_Resource_Category_Flat_Collection $collection
* @param int $storeId
* @return $this|Mage_Catalog_Helper_Category_Url_Rewrite_Interface
*/
@@ -92,7 +88,6 @@ public function joinTableToCollection(Mage_Catalog_Model_Resource_Category_Flat_
/**
* Join url rewrite to select
*
- * @param Varien_Db_Select $select
* @param int $storeId
* @return $this
*/
diff --git a/app/code/core/Mage/Catalog/Helper/Category/Url/Rewrite/Interface.php b/app/code/core/Mage/Catalog/Helper/Category/Url/Rewrite/Interface.php
index 37352922de6..27232abbf63 100644
--- a/app/code/core/Mage/Catalog/Helper/Category/Url/Rewrite/Interface.php
+++ b/app/code/core/Mage/Catalog/Helper/Category/Url/Rewrite/Interface.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ interface Mage_Catalog_Helper_Category_Url_Rewrite_Interface
/**
* Join url rewrite table to eav collection
*
- * @param Mage_Eav_Model_Entity_Collection_Abstract $collection
* @param int $storeId
* @return Mage_Catalog_Helper_Category_Url_Rewrite
*/
@@ -33,7 +32,6 @@ public function joinTableToEavCollection(Mage_Eav_Model_Entity_Collection_Abstra
/**
* Join url rewrite table to flat collection
*
- * @param Mage_Catalog_Model_Resource_Category_Flat_Collection $collection
* @param int $storeId
* @return Mage_Catalog_Helper_Category_Url_Rewrite_Interface
*/
@@ -42,7 +40,6 @@ public function joinTableToCollection(Mage_Catalog_Model_Resource_Category_Flat_
/**
* Join url rewrite to select
*
- * @param Varien_Db_Select $select
* @param int $storeId
* @return Mage_Catalog_Helper_Category_Url_Rewrite
*/
diff --git a/app/code/core/Mage/Catalog/Helper/Image.php b/app/code/core/Mage/Catalog/Helper/Image.php
index d82bb0b3b17..500c9f99a23 100644
--- a/app/code/core/Mage/Catalog/Helper/Image.php
+++ b/app/code/core/Mage/Catalog/Helper/Image.php
@@ -127,7 +127,6 @@ protected function _reset()
/**
* Initialize Helper to work with Image
*
- * @param Mage_Catalog_Model_Product $product
* @param string $attributeName
* @param mixed $imageFile
* @return $this
diff --git a/app/code/core/Mage/Catalog/Helper/Product/Compare.php b/app/code/core/Mage/Catalog/Helper/Product/Compare.php
index bbb419dafec..2a09255d755 100644
--- a/app/code/core/Mage/Catalog/Helper/Product/Compare.php
+++ b/app/code/core/Mage/Catalog/Helper/Product/Compare.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -83,7 +83,6 @@ class Mage_Catalog_Helper_Product_Compare extends Mage_Core_Helper_Url
/**
* Mage_Catalog_Helper_Product_Compare constructor.
- * @param array $data
*/
public function __construct(array $data = [])
{
diff --git a/app/code/core/Mage/Catalog/Helper/Product/Configuration.php b/app/code/core/Mage/Catalog/Helper/Product/Configuration.php
index 104aea171e6..8367dd73092 100644
--- a/app/code/core/Mage/Catalog/Helper/Product/Configuration.php
+++ b/app/code/core/Mage/Catalog/Helper/Product/Configuration.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -28,7 +28,6 @@ class Mage_Catalog_Helper_Product_Configuration extends Mage_Core_Helper_Abstrac
/**
* Retrieves product configuration options
*
- * @param Mage_Catalog_Model_Product_Configuration_Item_Interface $item
* @return array
*/
public function getCustomOptions(Mage_Catalog_Model_Product_Configuration_Item_Interface $item)
@@ -84,7 +83,6 @@ public function getCustomOptions(Mage_Catalog_Model_Product_Configuration_Item_I
/**
* Retrieves configuration options for configurable product
*
- * @param Mage_Catalog_Model_Product_Configuration_Item_Interface $item
* @return array
*/
public function getConfigurableOptions(Mage_Catalog_Model_Product_Configuration_Item_Interface $item)
@@ -103,7 +101,6 @@ public function getConfigurableOptions(Mage_Catalog_Model_Product_Configuration_
/**
* Retrieves configuration options for grouped product
*
- * @param Mage_Catalog_Model_Product_Configuration_Item_Interface $item
* @return array
*/
public function getGroupedOptions(Mage_Catalog_Model_Product_Configuration_Item_Interface $item)
@@ -145,7 +142,6 @@ public function getGroupedOptions(Mage_Catalog_Model_Product_Configuration_Item_
/**
* Retrieves product options list
*
- * @param Mage_Catalog_Model_Product_Configuration_Item_Interface $item
* @return array
*/
public function getOptions(Mage_Catalog_Model_Product_Configuration_Item_Interface $item)
diff --git a/app/code/core/Mage/Catalog/Helper/Product/Configuration/Interface.php b/app/code/core/Mage/Catalog/Helper/Product/Configuration/Interface.php
index 30c0c53ea77..af33272eb9b 100644
--- a/app/code/core/Mage/Catalog/Helper/Product/Configuration/Interface.php
+++ b/app/code/core/Mage/Catalog/Helper/Product/Configuration/Interface.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ interface Mage_Catalog_Helper_Product_Configuration_Interface
/**
* Retrieves product options list
*
- * @param Mage_Catalog_Model_Product_Configuration_Item_Interface $item
* @return array
*/
public function getOptions(Mage_Catalog_Model_Product_Configuration_Item_Interface $item);
diff --git a/app/code/core/Mage/Catalog/Helper/Product/Url/Rewrite.php b/app/code/core/Mage/Catalog/Helper/Product/Url/Rewrite.php
index a3e2e76060d..5bdca5a7be6 100644
--- a/app/code/core/Mage/Catalog/Helper/Product/Url/Rewrite.php
+++ b/app/code/core/Mage/Catalog/Helper/Product/Url/Rewrite.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -37,8 +37,6 @@ class Mage_Catalog_Helper_Product_Url_Rewrite implements Mage_Catalog_Helper_Pro
/**
* Initialize resource and connection instances
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
@@ -50,7 +48,6 @@ public function __construct(array $args = [])
/**
* Prepare and return select
*
- * @param array $productIds
* @param int $categoryId
* @param int $storeId
* @return Varien_Db_Select
@@ -69,7 +66,6 @@ public function getTableSelect(array $productIds, $categoryId, $storeId)
/**
* Prepare url rewrite left join statement for given select instance and store_id parameter.
*
- * @param Varien_Db_Select $select
* @param int $storeId
* @return Mage_Catalog_Helper_Product_Url_Rewrite_Interface
*/
diff --git a/app/code/core/Mage/Catalog/Helper/Product/Url/Rewrite/Interface.php b/app/code/core/Mage/Catalog/Helper/Product/Url/Rewrite/Interface.php
index 7391a1c731c..c210f8028df 100644
--- a/app/code/core/Mage/Catalog/Helper/Product/Url/Rewrite/Interface.php
+++ b/app/code/core/Mage/Catalog/Helper/Product/Url/Rewrite/Interface.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ interface Mage_Catalog_Helper_Product_Url_Rewrite_Interface
/**
* Prepare and return select
*
- * @param array $productIds
* @param int $categoryId
* @param int $storeId
* @return Varien_Db_Select
@@ -34,7 +33,6 @@ public function getTableSelect(array $productIds, $categoryId, $storeId);
/**
* Prepare url rewrite left join statement for given select instance and store_id parameter.
*
- * @param Varien_Db_Select $select
* @param int $storeId
* @return Mage_Catalog_Helper_Product_Url_Rewrite_Interface
*/
diff --git a/app/code/core/Mage/Catalog/Model/Api2/Product.php b/app/code/core/Mage/Catalog/Model/Api2/Product.php
index 65f6eabdf42..64f20fa68a1 100644
--- a/app/code/core/Mage/Catalog/Model/Api2/Product.php
+++ b/app/code/core/Mage/Catalog/Model/Api2/Product.php
@@ -57,7 +57,6 @@ public function getAvailableAttributes($userType, $operation)
/**
* Define if attribute should be visible for passed user type
*
- * @param Mage_Catalog_Model_Resource_Eav_Attribute $attribute
* @param string $userType
* @return bool
*/
diff --git a/app/code/core/Mage/Catalog/Model/Api2/Product/Category/Rest.php b/app/code/core/Mage/Catalog/Model/Api2/Product/Category/Rest.php
index a9fdba9d979..e609704fcc0 100644
--- a/app/code/core/Mage/Catalog/Model/Api2/Product/Category/Rest.php
+++ b/app/code/core/Mage/Catalog/Model/Api2/Product/Category/Rest.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,8 +23,6 @@ abstract class Mage_Catalog_Model_Api2_Product_Category_Rest extends Mage_Catalo
{
/**
* Product category assign is not available
- *
- * @param array $data
*/
protected function _create(array $data)
{
@@ -33,8 +31,6 @@ protected function _create(array $data)
/**
* Product category update is not available
- *
- * @param array $data
*/
protected function _update(array $data)
{
diff --git a/app/code/core/Mage/Catalog/Model/Api2/Product/Category/Rest/Admin/V1.php b/app/code/core/Mage/Catalog/Model/Api2/Product/Category/Rest/Admin/V1.php
index 7328f4cf405..81c7f7634e9 100644
--- a/app/code/core/Mage/Catalog/Model/Api2/Product/Category/Rest/Admin/V1.php
+++ b/app/code/core/Mage/Catalog/Model/Api2/Product/Category/Rest/Admin/V1.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Catalog_Model_Api2_Product_Category_Rest_Admin_V1 extends Mage_Catalo
/**
* Product category assign
*
- * @param array $data
* @return string
*/
protected function _create(array $data)
diff --git a/app/code/core/Mage/Catalog/Model/Api2/Product/Image/Rest/Admin/V1.php b/app/code/core/Mage/Catalog/Model/Api2/Product/Image/Rest/Admin/V1.php
index c7ef04b3bfe..4cf3b398939 100644
--- a/app/code/core/Mage/Catalog/Model/Api2/Product/Image/Rest/Admin/V1.php
+++ b/app/code/core/Mage/Catalog/Model/Api2/Product/Image/Rest/Admin/V1.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -25,9 +25,7 @@ class Mage_Catalog_Model_Api2_Product_Image_Rest_Admin_V1 extends Mage_Catalog_M
* Product image add
*
* @throws Mage_Api2_Exception
- * @param array $data
* @return string|void
- *
* @SuppressWarnings(PHPMD.ErrorControlOperator)
*/
protected function _create(array $data)
@@ -142,7 +140,6 @@ protected function _retrieve()
/**
* Update product image
*
- * @param array $data
* @throws Mage_Api2_Exception
*/
protected function _update(array $data)
diff --git a/app/code/core/Mage/Catalog/Model/Api2/Product/Image/Validator/Image.php b/app/code/core/Mage/Catalog/Model/Api2/Product/Image/Validator/Image.php
index 8af0c2da19a..f85777fe409 100644
--- a/app/code/core/Mage/Catalog/Model/Api2/Product/Image/Validator/Image.php
+++ b/app/code/core/Mage/Catalog/Model/Api2/Product/Image/Validator/Image.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -25,7 +25,6 @@ class Mage_Catalog_Model_Api2_Product_Image_Validator_Image extends Mage_Api2_Mo
* Validate data. In case of validation failure return false,
* getErrors() could be used to retrieve list of validation error messages
*
- * @param array $data
* @return bool
*/
public function isValidData(array $data)
diff --git a/app/code/core/Mage/Catalog/Model/Api2/Product/Rest.php b/app/code/core/Mage/Catalog/Model/Api2/Product/Rest.php
index 76689c46481..b11f97c0971 100644
--- a/app/code/core/Mage/Catalog/Model/Api2/Product/Rest.php
+++ b/app/code/core/Mage/Catalog/Model/Api2/Product/Rest.php
@@ -81,8 +81,6 @@ protected function _retrieveCollection()
/**
* Apply filter by category id
- *
- * @param Mage_Catalog_Model_Resource_Product_Collection $collection
*/
protected function _applyCategoryFilter(Mage_Catalog_Model_Resource_Product_Collection $collection)
{
@@ -98,8 +96,6 @@ protected function _applyCategoryFilter(Mage_Catalog_Model_Resource_Product_Coll
/**
* Add special fields to product get response
- *
- * @param Mage_Catalog_Model_Product $product
*/
protected function _prepareProductForResponse(Mage_Catalog_Model_Product $product)
{
@@ -153,8 +149,6 @@ protected function _prepareProductForResponse(Mage_Catalog_Model_Product $produc
/**
* Product create only available for admin
- *
- * @param array $data
*/
protected function _create(array $data)
{
@@ -163,8 +157,6 @@ protected function _create(array $data)
/**
* Product update only available for admin
- *
- * @param array $data
*/
protected function _update(array $data)
{
@@ -217,8 +209,6 @@ protected function _getProduct()
/**
* Set product
- *
- * @param Mage_Catalog_Model_Product $product
*/
protected function _setProduct(Mage_Catalog_Model_Product $product)
{
diff --git a/app/code/core/Mage/Catalog/Model/Api2/Product/Rest/Admin/V1.php b/app/code/core/Mage/Catalog/Model/Api2/Product/Rest/Admin/V1.php
index 4da9d5d9651..5bc07c71f0a 100644
--- a/app/code/core/Mage/Catalog/Model/Api2/Product/Rest/Admin/V1.php
+++ b/app/code/core/Mage/Catalog/Model/Api2/Product/Rest/Admin/V1.php
@@ -28,8 +28,6 @@ class Mage_Catalog_Model_Api2_Product_Rest_Admin_V1 extends Mage_Catalog_Model_A
/**
* Add special fields to product get response
- *
- * @param Mage_Catalog_Model_Product $product
*/
protected function _prepareProductForResponse(Mage_Catalog_Model_Product $product)
{
@@ -51,8 +49,6 @@ protected function _prepareProductForResponse(Mage_Catalog_Model_Product $produc
/**
* Remove specified keys from associative or indexed array
*
- * @param array $array
- * @param array $keys
* @param bool $dropOrigKeys if true - return array as indexed array
* @return array
*/
@@ -116,7 +112,6 @@ protected function _delete()
/**
* Create product
*
- * @param array $data
* @return string
*/
protected function _create(array $data)
@@ -177,8 +172,6 @@ protected function _create(array $data)
/**
* Update product by its ID
- *
- * @param array $data
*/
protected function _update(array $data)
{
diff --git a/app/code/core/Mage/Catalog/Model/Api2/Product/Validator/Product.php b/app/code/core/Mage/Catalog/Model/Api2/Product/Validator/Product.php
index f65a275ba4d..9dc0b74e070 100644
--- a/app/code/core/Mage/Catalog/Model/Api2/Product/Validator/Product.php
+++ b/app/code/core/Mage/Catalog/Model/Api2/Product/Validator/Product.php
@@ -84,7 +84,6 @@ protected function _isUpdate()
/**
* Validate product data
*
- * @param array $data
* @return bool
*/
public function isValidData(array $data)
@@ -583,7 +582,6 @@ protected function _validateBoolean($data, $fieldSet, $field, $skipIfConfigValue
/**
* Retrieve all attribute allowed values from source model in plain array format
*
- * @param array $options
* @return array
*/
protected function _getAttributeAllowedValues(array $options)
diff --git a/app/code/core/Mage/Catalog/Model/Api2/Product/Website/Rest.php b/app/code/core/Mage/Catalog/Model/Api2/Product/Website/Rest.php
index 9273c981555..84b5a47b915 100644
--- a/app/code/core/Mage/Catalog/Model/Api2/Product/Website/Rest.php
+++ b/app/code/core/Mage/Catalog/Model/Api2/Product/Website/Rest.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -46,7 +46,6 @@ protected function _retrieveCollection()
/**
* Product website assign
*
- * @param array $data
* @return string
*/
protected function _create(array $data)
@@ -95,8 +94,6 @@ protected function _create(array $data)
/**
* Product website assign
- *
- * @param array $data
*/
protected function _multiCreate(array $data)
{
@@ -175,8 +172,6 @@ protected function _multiCreate(array $data)
/**
* Product websites update is not available
- *
- * @param array $data
*/
protected function _update(array $data)
{
diff --git a/app/code/core/Mage/Catalog/Model/Api2/Product/Website/Validator/Admin/Website.php b/app/code/core/Mage/Catalog/Model/Api2/Product/Website/Validator/Admin/Website.php
index 9a14062b4ef..5b43caf0e52 100644
--- a/app/code/core/Mage/Catalog/Model/Api2/Product/Website/Validator/Admin/Website.php
+++ b/app/code/core/Mage/Catalog/Model/Api2/Product/Website/Validator/Admin/Website.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -27,8 +27,6 @@ class Mage_Catalog_Model_Api2_Product_Website_Validator_Admin_Website extends Ma
* getErrors() will return an array of errors that explain why the
* validation failed.
*
- * @param Mage_Catalog_Model_Product $product
- * @param array $data
* @return bool
*/
public function isValidDataForWebsiteAssignmentToProduct(Mage_Catalog_Model_Product $product, array $data)
@@ -163,8 +161,6 @@ protected function _checkStoreTo($website, $storeData)
* getErrors() will return an array of errors that explain why the
* validation failed.
*
- * @param Mage_Core_Model_Website $website
- * @param Mage_Catalog_Model_Product $product
* @return bool
*/
public function isWebsiteAssignedToProduct(Mage_Core_Model_Website $website, Mage_Catalog_Model_Product $product)
diff --git a/app/code/core/Mage/Catalog/Model/Category.php b/app/code/core/Mage/Catalog/Model/Category.php
index 6009dd9d82d..ebf7d20cc44 100644
--- a/app/code/core/Mage/Catalog/Model/Category.php
+++ b/app/code/core/Mage/Catalog/Model/Category.php
@@ -729,7 +729,6 @@ public function getLevel()
/**
* Verify category ids
*
- * @param array $ids
* @return array
*/
public function verifyIds(array $ids)
diff --git a/app/code/core/Mage/Catalog/Model/Category/Api.php b/app/code/core/Mage/Catalog/Model/Category/Api.php
index 9818fba4e37..5d24aa77acb 100644
--- a/app/code/core/Mage/Catalog/Model/Category/Api.php
+++ b/app/code/core/Mage/Catalog/Model/Category/Api.php
@@ -145,7 +145,6 @@ public function tree($parentId = null, $store = null)
/**
* Convert node to array
*
- * @param Varien_Data_Tree_Node $node
* @return array
*/
protected function _nodeToArray(Varien_Data_Tree_Node $node)
diff --git a/app/code/core/Mage/Catalog/Model/Category/Attribute/Backend/Image.php b/app/code/core/Mage/Catalog/Model/Category/Attribute/Backend/Image.php
index 858e7fcecc6..3e449fc9d25 100644
--- a/app/code/core/Mage/Catalog/Model/Category/Attribute/Backend/Image.php
+++ b/app/code/core/Mage/Catalog/Model/Category/Attribute/Backend/Image.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2021-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2021-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -21,9 +21,6 @@
*/
class Mage_Catalog_Model_Category_Attribute_Backend_Image extends Mage_Eav_Model_Entity_Attribute_Backend_Abstract
{
- /**
- * @return array
- */
public function getAllowedExtensions(): array
{
return Varien_Io_File::ALLOWED_IMAGES_EXTENSIONS;
diff --git a/app/code/core/Mage/Catalog/Model/Category/Indexer/Flat.php b/app/code/core/Mage/Catalog/Model/Category/Indexer/Flat.php
index 98b3997d819..1245122ddb1 100644
--- a/app/code/core/Mage/Catalog/Model/Category/Indexer/Flat.php
+++ b/app/code/core/Mage/Catalog/Model/Category/Indexer/Flat.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -96,7 +96,6 @@ protected function _getIndexer()
* Overwrote for check is flat catalog category is enabled and specific save
* category, store, store_group
*
- * @param Event $event
* @return bool
*/
public function matchEvent(Event $event)
@@ -154,8 +153,6 @@ public function matchEvent(Event $event)
/**
* Register data required by process in event object
- *
- * @param Event $event
*/
protected function _registerEvent(Event $event)
{
@@ -182,7 +179,6 @@ protected function _registerEvent(Event $event)
/**
* Register data required by catalog category process in event object
*
- * @param Event $event
* @return $this
*/
protected function _registerCatalogCategoryEvent(Event $event)
@@ -210,7 +206,6 @@ protected function _registerCatalogCategoryEvent(Event $event)
/**
* Register core store delete process
*
- * @param Event $event
* @return $this
*/
protected function _registerCoreStoreEvent(Event $event)
@@ -225,8 +220,6 @@ protected function _registerCoreStoreEvent(Event $event)
/**
* Process event
- *
- * @param Event $event
*/
protected function _processEvent(Event $event)
{
diff --git a/app/code/core/Mage/Catalog/Model/Category/Indexer/Product.php b/app/code/core/Mage/Catalog/Model/Category/Indexer/Product.php
index bc0205653b9..99a0b4110f3 100644
--- a/app/code/core/Mage/Catalog/Model/Category/Indexer/Product.php
+++ b/app/code/core/Mage/Catalog/Model/Category/Indexer/Product.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -100,7 +100,6 @@ public function getDescription()
* Check if event can be matched by process.
* Overwrote for specific config save, store and store groups save matching
*
- * @param Mage_Index_Model_Event $event
* @return bool
*/
public function matchEvent(Mage_Index_Model_Event $event)
@@ -140,7 +139,6 @@ public function matchEvent(Mage_Index_Model_Event $event)
* Register data required by process in event object
* Check if category ids was changed
*
- * @param Mage_Index_Model_Event $event
* @return Mage_Catalog_Model_Category_Indexer_Product
*/
protected function _registerEvent(Mage_Index_Model_Event $event)
@@ -171,8 +169,6 @@ protected function _registerEvent(Mage_Index_Model_Event $event)
/**
* Register event data during product save process
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerProductEvent(Mage_Index_Model_Event $event)
{
@@ -218,8 +214,6 @@ protected function _registerProductEvent(Mage_Index_Model_Event $event)
/**
* Register event data during category save process
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerCategoryEvent(Mage_Index_Model_Event $event)
{
@@ -240,8 +234,6 @@ protected function _registerCategoryEvent(Mage_Index_Model_Event $event)
/**
* Process event data and save to index
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _processEvent(Mage_Index_Model_Event $event)
{
diff --git a/app/code/core/Mage/Catalog/Model/Category/Url.php b/app/code/core/Mage/Catalog/Model/Category/Url.php
index a046a5f5eb7..1a5a74b7058 100644
--- a/app/code/core/Mage/Catalog/Model/Category/Url.php
+++ b/app/code/core/Mage/Catalog/Model/Category/Url.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -44,8 +44,6 @@ class Mage_Catalog_Model_Category_Url
/**
* Initialize Url model
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
@@ -55,7 +53,6 @@ public function __construct(array $args = [])
/**
* Retrieve Url for specified category
*
- * @param Mage_Catalog_Model_Category $category
* @return string
*/
public function getCategoryUrl(Mage_Catalog_Model_Category $category)
@@ -89,7 +86,6 @@ public function getCategoryUrl(Mage_Catalog_Model_Category $category)
/**
* Returns category URL by which it can be accessed
- * @param Mage_Catalog_Model_Category $category
* @return string
*/
protected function _getDirectUrl(Mage_Catalog_Model_Category $category)
@@ -100,7 +96,6 @@ protected function _getDirectUrl(Mage_Catalog_Model_Category $category)
/**
* Retrieve request path
*
- * @param Mage_Catalog_Model_Category $category
* @return bool|string
*/
protected function _getRequestPath(Mage_Catalog_Model_Category $category)
diff --git a/app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php b/app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php
index 29daa5834f1..931a500dc90 100644
--- a/app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php
+++ b/app/code/core/Mage/Catalog/Model/Convert/Adapter/Product.php
@@ -268,7 +268,6 @@ public function getProductTypes()
/**
* ReDefine Product Type Instance to Product
*
- * @param Mage_Catalog_Model_Product $product
* @return $this
*/
public function setProductTypeInstance(Mage_Catalog_Model_Product $product)
@@ -438,7 +437,6 @@ protected function _getCollectionForLoad($entityType)
}
/**
- * @param Mage_Catalog_Model_Product $object
* @throws Mage_Core_Exception
* @throws Varien_Exception
*/
@@ -458,7 +456,6 @@ public function getProduct()
}
/**
- * @param Mage_CatalogInventory_Model_Stock_Item $object
* @throws Mage_Core_Exception
* @throws Varien_Exception
*/
@@ -631,7 +628,6 @@ public function saveImageDataRow($product, $importData)
/**
* Save product (import)
*
- * @param array $importData
* @throws Mage_Core_Exception
* @return bool
*/
@@ -872,7 +868,6 @@ public function saveRow(array $importData)
/**
* Silently save product (import)
*
- * @param array $importData
* @return bool
*/
public function saveRowSilently(array $importData)
diff --git a/app/code/core/Mage/Catalog/Model/Convert/Parser/Product.php b/app/code/core/Mage/Catalog/Model/Convert/Parser/Product.php
index 71843b923bf..7d2476422f7 100644
--- a/app/code/core/Mage/Catalog/Model/Convert/Parser/Product.php
+++ b/app/code/core/Mage/Catalog/Model/Convert/Parser/Product.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2018-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -209,7 +209,6 @@ public function getStoreId()
/**
* ReDefine Product Type Instance to Product
*
- * @param Mage_Catalog_Model_Product $product
* @return $this
*/
public function setProductTypeInstance(Mage_Catalog_Model_Product $product)
diff --git a/app/code/core/Mage/Catalog/Model/Design.php b/app/code/core/Mage/Catalog/Model/Design.php
index befc0281033..b35268ee55a 100644
--- a/app/code/core/Mage/Catalog/Model/Design.php
+++ b/app/code/core/Mage/Catalog/Model/Design.php
@@ -151,7 +151,6 @@ protected function _isApplyFor($applyForObject, $applyTo, $pass = 0)
* Check and apply design
*
* @param string $design
- * @param array $date
* @return bool
* @deprecated after 1.4.2.0-beta1
*
diff --git a/app/code/core/Mage/Catalog/Model/Indexer/Url.php b/app/code/core/Mage/Catalog/Model/Indexer/Url.php
index a6f5b42bb67..b3065fc10c3 100644
--- a/app/code/core/Mage/Catalog/Model/Indexer/Url.php
+++ b/app/code/core/Mage/Catalog/Model/Indexer/Url.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -89,7 +89,6 @@ public function getDescription()
* Check if event can be matched by process.
* Overwrote for specific config save, store and store groups save matching
*
- * @param Mage_Index_Model_Event $event
* @return bool
*/
public function matchEvent(Mage_Index_Model_Event $event)
@@ -135,7 +134,6 @@ public function matchEvent(Mage_Index_Model_Event $event)
/**
* Register data required by process in event object
*
- * @param Mage_Index_Model_Event $event
* @return Mage_Catalog_Model_Indexer_Url
*/
protected function _registerEvent(Mage_Index_Model_Event $event)
@@ -167,8 +165,6 @@ protected function _registerEvent(Mage_Index_Model_Event $event)
/**
* Register event data during product save process
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerProductEvent(Mage_Index_Model_Event $event)
{
@@ -184,8 +180,6 @@ protected function _registerProductEvent(Mage_Index_Model_Event $event)
/**
* Register event data during category save process
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerCategoryEvent(Mage_Index_Model_Event $event)
{
@@ -205,8 +199,6 @@ protected function _registerCategoryEvent(Mage_Index_Model_Event $event)
/**
* Process event
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _processEvent(Mage_Index_Model_Event $event)
{
diff --git a/app/code/core/Mage/Catalog/Model/Layer.php b/app/code/core/Mage/Catalog/Model/Layer.php
index 3399c3e8a8d..b281988bfc0 100644
--- a/app/code/core/Mage/Catalog/Model/Layer.php
+++ b/app/code/core/Mage/Catalog/Model/Layer.php
@@ -66,7 +66,6 @@ public function getStateKey()
/**
* Get default tags for current layer state
*
- * @param array $additionalTags
* @return array
*/
public function getStateTags(array $additionalTags = [])
diff --git a/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php b/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php
index 42ecfb145f6..27b1d92f994 100644
--- a/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php
+++ b/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -80,7 +80,6 @@ public function getCleanValue()
/**
* Apply filter to collection
*
- * @param Zend_Controller_Request_Abstract $request
* @param null $filterBlock deprecated
* @return $this
*/
diff --git a/app/code/core/Mage/Catalog/Model/Layer/Filter/Attribute.php b/app/code/core/Mage/Catalog/Model/Layer/Filter/Attribute.php
index a1f517228da..2bb28a7c648 100644
--- a/app/code/core/Mage/Catalog/Model/Layer/Filter/Attribute.php
+++ b/app/code/core/Mage/Catalog/Model/Layer/Filter/Attribute.php
@@ -67,7 +67,6 @@ protected function _getOptionText($optionId)
/**
* Apply attribute option filter to product collection
*
- * @param Zend_Controller_Request_Abstract $request
* @param Varien_Object $filterBlock
* @return Mage_Catalog_Model_Layer_Filter_Attribute
*/
diff --git a/app/code/core/Mage/Catalog/Model/Layer/Filter/Category.php b/app/code/core/Mage/Catalog/Model/Layer/Filter/Category.php
index ec2b9ab2211..481819b87ac 100644
--- a/app/code/core/Mage/Catalog/Model/Layer/Filter/Category.php
+++ b/app/code/core/Mage/Catalog/Model/Layer/Filter/Category.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -67,7 +67,6 @@ public function getResetValue()
/**
* Apply category filter to layer
*
- * @param Zend_Controller_Request_Abstract $request
* @param null $filterBlock
* @return Mage_Catalog_Model_Layer_Filter_Category
*/
diff --git a/app/code/core/Mage/Catalog/Model/Layer/Filter/Decimal.php b/app/code/core/Mage/Catalog/Model/Layer/Filter/Decimal.php
index 65f93332872..bbdcb0be523 100644
--- a/app/code/core/Mage/Catalog/Model/Layer/Filter/Decimal.php
+++ b/app/code/core/Mage/Catalog/Model/Layer/Filter/Decimal.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -58,7 +58,6 @@ protected function _getResource()
/**
* Apply decimal range filter to product collection
*
- * @param Zend_Controller_Request_Abstract $request
* @param Mage_Catalog_Block_Layer_Filter_Decimal $filterBlock
* @return $this
*/
diff --git a/app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php b/app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php
index 79c11d72b0c..acdfd905ae5 100644
--- a/app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php
+++ b/app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -356,9 +356,7 @@ protected function _validateFilter($filter)
/**
* Apply price range filter
*
- * @param Zend_Controller_Request_Abstract $request
* @param null $filterBlock deprecated
- *
* @return $this
*/
public function apply(Zend_Controller_Request_Abstract $request, $filterBlock)
diff --git a/app/code/core/Mage/Catalog/Model/Observer.php b/app/code/core/Mage/Catalog/Model/Observer.php
index 1c584c79ce0..5be4da30dbd 100644
--- a/app/code/core/Mage/Catalog/Model/Observer.php
+++ b/app/code/core/Mage/Catalog/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Catalog_Model_Observer
/**
* Process catalog ata related with store data changes
*
- * @param Varien_Event_Observer $observer
* @return Mage_Catalog_Model_Observer
*/
public function storeEdit(Varien_Event_Observer $observer)
@@ -46,7 +45,6 @@ public function storeEdit(Varien_Event_Observer $observer)
/**
* Process catalog data related with new store
*
- * @param Varien_Event_Observer $observer
* @return Mage_Catalog_Model_Observer
*/
public function storeAdd(Varien_Event_Observer $observer)
@@ -67,7 +65,6 @@ public function storeAdd(Varien_Event_Observer $observer)
/**
* Process catalog data related with store group root category
*
- * @param Varien_Event_Observer $observer
* @return Mage_Catalog_Model_Observer
*/
public function storeGroupSave(Varien_Event_Observer $observer)
@@ -90,7 +87,6 @@ public function storeGroupSave(Varien_Event_Observer $observer)
/**
* Process delete of store
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function storeDelete(Varien_Event_Observer $observer)
@@ -107,7 +103,6 @@ public function storeDelete(Varien_Event_Observer $observer)
/**
* Process catalog data after category move
*
- * @param Varien_Event_Observer $observer
* @return Mage_Catalog_Model_Observer
*/
public function categoryMove(Varien_Event_Observer $observer)
@@ -126,7 +121,6 @@ public function categoryMove(Varien_Event_Observer $observer)
/**
* Process catalog data after products import
*
- * @param Varien_Event_Observer $observer
* @return Mage_Catalog_Model_Observer
*/
public function catalogProductImportAfter(Varien_Event_Observer $observer)
@@ -139,7 +133,6 @@ public function catalogProductImportAfter(Varien_Event_Observer $observer)
/**
* Catalog Product Compare Items Clean
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductCompareClean(Varien_Event_Observer $observer)
@@ -151,7 +144,6 @@ public function catalogProductCompareClean(Varien_Event_Observer $observer)
/**
* After save event of category
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function categorySaveAfter(Varien_Event_Observer $observer)
@@ -167,8 +159,6 @@ public function categorySaveAfter(Varien_Event_Observer $observer)
/**
* Checking whether the using static urls in WYSIWYG allowed event
- *
- * @param Varien_Event_Observer $observer
*/
public function catalogCheckIsUsingStaticUrlsAllowed(Varien_Event_Observer $observer)
{
@@ -179,8 +169,6 @@ public function catalogCheckIsUsingStaticUrlsAllowed(Varien_Event_Observer $obse
/**
* Cron job method for product prices to reindex
- *
- * @param Mage_Cron_Model_Schedule $schedule
*/
public function reindexProductPrices(Mage_Cron_Model_Schedule $schedule)
{
@@ -192,8 +180,6 @@ public function reindexProductPrices(Mage_Cron_Model_Schedule $schedule)
/**
* Adds catalog categories to top menu
- *
- * @param Varien_Event_Observer $observer
*/
public function addCatalogToTopmenuItems(Varien_Event_Observer $observer)
{
@@ -275,7 +261,6 @@ protected function _isActiveMenuCategory($category)
/**
* Checks whether attribute_code by current module is reserved
*
- * @param Varien_Event_Observer $observer
* @throws Mage_Core_Exception
*/
public function checkReservedAttributeCodes(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Catalog/Model/Product.php b/app/code/core/Mage/Catalog/Model/Product.php
index f06f79f2d9b..ac9d7a3dfac 100644
--- a/app/code/core/Mage/Catalog/Model/Product.php
+++ b/app/code/core/Mage/Catalog/Model/Product.php
@@ -1871,7 +1871,6 @@ public function getProductOptionsCollection()
/**
* Add option to array of product options
*
- * @param Mage_Catalog_Model_Product_Option $option
* @return $this
*/
public function addOption(Mage_Catalog_Model_Product_Option $option)
@@ -2153,7 +2152,6 @@ public function cleanModelCache()
/**
* Check for empty SKU on each product
*
- * @param array $productIds
* @return bool|null
*/
public function isProductsHasSku(array $productIds)
@@ -2173,7 +2171,6 @@ public function isProductsHasSku(array $productIds)
/**
* Parse buyRequest into options values used by product
*
- * @param Varien_Object $buyRequest
* @return Varien_Object
*/
public function processBuyRequest(Varien_Object $buyRequest)
diff --git a/app/code/core/Mage/Catalog/Model/Product/Attribute/Backend/Groupprice/Abstract.php b/app/code/core/Mage/Catalog/Model/Product/Attribute/Backend/Groupprice/Abstract.php
index 2071491219e..db66a86a03c 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Attribute/Backend/Groupprice/Abstract.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Attribute/Backend/Groupprice/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -178,7 +178,6 @@ public function validate($object)
/**
* Prepare group prices data for website
*
- * @param array $priceData
* @param string $productTypeId
* @param int $websiteId
* @return array
diff --git a/app/code/core/Mage/Catalog/Model/Product/Attribute/Backend/Media.php b/app/code/core/Mage/Catalog/Model/Product/Attribute/Backend/Media.php
index 6f2636cb986..a6fcf308277 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Attribute/Backend/Media.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Attribute/Backend/Media.php
@@ -279,7 +279,6 @@ public function afterSave($object)
/**
* Add image to media gallery and return new filename
*
- * @param Mage_Catalog_Model_Product $product
* @param string $file file path of image in file system
* @param string|array $mediaAttribute code of attribute with type 'media_image',
* leave blank if image should be only in gallery
@@ -384,7 +383,6 @@ public function addImage(
* Add images with different media attributes.
* Image will be added only once if the same image is used with different media attributes
*
- * @param Mage_Catalog_Model_Product $product
* @param array $fileAndAttributesArray array of arrays of filename and corresponding media attribute
* @param string $filePath path, where image cand be found
* @param bool $move if true, it will move source file
@@ -423,7 +421,6 @@ public function addImagesWithDifferentMediaAttributes(
/**
* Update image in gallery
*
- * @param Mage_Catalog_Model_Product $product
* @param string $file
* @param array $data
* @return $this
@@ -462,7 +459,6 @@ public function updateImage(Mage_Catalog_Model_Product $product, $file, $data)
/**
* Remove image from gallery
*
- * @param Mage_Catalog_Model_Product $product
* @param string $file
* @return $this
*/
@@ -490,7 +486,6 @@ public function removeImage(Mage_Catalog_Model_Product $product, $file)
/**
* Retrieve image from gallery
*
- * @param Mage_Catalog_Model_Product $product
* @param string $file
* @return array|bool
*/
@@ -514,7 +509,6 @@ public function getImage(Mage_Catalog_Model_Product $product, $file)
/**
* Clear media attribute value
*
- * @param Mage_Catalog_Model_Product $product
* @param string|array $mediaAttribute
* @return $this
*/
@@ -538,7 +532,6 @@ public function clearMediaAttribute(Mage_Catalog_Model_Product $product, $mediaA
/**
* Set media attribute value
*
- * @param Mage_Catalog_Model_Product $product
* @param string|array $mediaAttribute
* @param string $value
* @return $this
diff --git a/app/code/core/Mage/Catalog/Model/Product/Compare/Item.php b/app/code/core/Mage/Catalog/Model/Product/Compare/Item.php
index 5750c09f60d..c79123f1dc4 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Compare/Item.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Compare/Item.php
@@ -93,7 +93,6 @@ public function save()
/**
* Add customer data from customer object
*
- * @param Mage_Customer_Model_Customer $customer
* @return $this
*/
public function addCustomerData(Mage_Customer_Model_Customer $customer)
@@ -174,7 +173,6 @@ public function bindCustomerLogin()
/**
* Customer logout bind process
*
- * @param Varien_Event_Observer|null $observer
* @return $this
*/
public function bindCustomerLogout(?Varien_Event_Observer $observer = null)
diff --git a/app/code/core/Mage/Catalog/Model/Product/Flat/Observer.php b/app/code/core/Mage/Catalog/Model/Product/Flat/Observer.php
index 561443bb19e..a5d37f4c142 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Flat/Observer.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Flat/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -44,7 +44,6 @@ protected function _getIndexer()
/**
* Catalog Entity attribute after save process
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogEntityAttributeSaveAfter(Varien_Event_Observer $observer)
@@ -82,7 +81,6 @@ public function catalogEntityAttributeSaveAfter(Varien_Event_Observer $observer)
/**
* Catalog Product Status Update
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductStatusUpdate(Varien_Event_Observer $observer)
@@ -104,7 +102,6 @@ public function catalogProductStatusUpdate(Varien_Event_Observer $observer)
/**
* Catalog Product Website(s) update
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductWebsiteUpdate(Varien_Event_Observer $observer)
@@ -133,7 +130,6 @@ public function catalogProductWebsiteUpdate(Varien_Event_Observer $observer)
/**
* Catalog Product After Save
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductSaveAfter(Varien_Event_Observer $observer)
@@ -153,7 +149,6 @@ public function catalogProductSaveAfter(Varien_Event_Observer $observer)
/**
* Add new store flat process
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function storeAdd(Varien_Event_Observer $observer)
@@ -172,7 +167,6 @@ public function storeAdd(Varien_Event_Observer $observer)
/**
* Store edit action, check change store group
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function storeEdit(Varien_Event_Observer $observer)
@@ -193,7 +187,6 @@ public function storeEdit(Varien_Event_Observer $observer)
/**
* Store delete after process
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function storeDelete(Varien_Event_Observer $observer)
@@ -213,7 +206,6 @@ public function storeDelete(Varien_Event_Observer $observer)
/**
* Store Group Save process
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function storeGroupSave(Varien_Event_Observer $observer)
@@ -238,7 +230,6 @@ public function storeGroupSave(Varien_Event_Observer $observer)
/**
* Catalog Product Import After process
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductImportAfter(Varien_Event_Observer $observer)
@@ -255,7 +246,6 @@ public function catalogProductImportAfter(Varien_Event_Observer $observer)
/**
* Customer Group save after process
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function customerGroupSaveAfter(Varien_Event_Observer $observer)
@@ -278,7 +268,6 @@ public function customerGroupSaveAfter(Varien_Event_Observer $observer)
* Update category ids in flat
*
* @deprecated 1.3.2.2
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogCategoryChangeProducts(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Catalog/Model/Product/Image.php b/app/code/core/Mage/Catalog/Model/Product/Image.php
index b89c67dfb09..1a2b5ec54c0 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Image.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Image.php
@@ -198,7 +198,6 @@ public function setConstrainOnly($flag)
}
/**
- * @param array $rgbArray
* @return $this
*/
public function setBackgroundColor(array $rgbArray)
diff --git a/app/code/core/Mage/Catalog/Model/Product/Indexer/Eav.php b/app/code/core/Mage/Catalog/Model/Product/Indexer/Eav.php
index b07a40b0bac..fb8bbe21aa3 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Indexer/Eav.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Indexer/Eav.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -87,8 +87,6 @@ protected function _construct()
/**
* Register data required by process in event object
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerEvent(Mage_Index_Model_Event $event)
{
@@ -161,7 +159,6 @@ protected function _attributeIsDependent($attribute)
/**
* Register data required by process in event object
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
protected function _registerCatalogProductSaveEvent(Mage_Index_Model_Event $event)
@@ -190,7 +187,6 @@ protected function _registerCatalogProductSaveEvent(Mage_Index_Model_Event $even
/**
* Register data required by process in event object
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
protected function _registerCatalogProductDeleteEvent(Mage_Index_Model_Event $event)
@@ -209,7 +205,6 @@ protected function _registerCatalogProductDeleteEvent(Mage_Index_Model_Event $ev
/**
* Register data required by process in event object
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
protected function _registerCatalogProductMassActionEvent(Mage_Index_Model_Event $event)
@@ -249,7 +244,6 @@ protected function _registerCatalogProductMassActionEvent(Mage_Index_Model_Event
/**
* Register data required by process attribute save in event object
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
protected function _registerCatalogAttributeSaveEvent(Mage_Index_Model_Event $event)
@@ -276,8 +270,6 @@ protected function _registerCatalogAttributeSaveEvent(Mage_Index_Model_Event $ev
/**
* Process event
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _processEvent(Mage_Index_Model_Event $event)
{
diff --git a/app/code/core/Mage/Catalog/Model/Product/Indexer/Flat.php b/app/code/core/Mage/Catalog/Model/Product/Indexer/Flat.php
index e20f5fc4d47..5bd35d8b70f 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Indexer/Flat.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Indexer/Flat.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -100,7 +100,6 @@ protected function _getIndexer()
* Overwrote for check is flat catalog product is enabled and specific save
* attribute, store, store_group
*
- * @param Mage_Index_Model_Event $event
* @return bool
*/
public function matchEvent(Mage_Index_Model_Event $event)
@@ -176,8 +175,6 @@ public function matchEvent(Mage_Index_Model_Event $event)
/**
* Register data required by process in event object
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerEvent(Mage_Index_Model_Event $event)
{
@@ -213,7 +210,6 @@ protected function _registerEvent(Mage_Index_Model_Event $event)
/**
* Register data required by catalog product process in event object
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
protected function _registerCatalogProductEvent(Mage_Index_Model_Event $event)
@@ -272,7 +268,6 @@ protected function _registerCatalogProductEvent(Mage_Index_Model_Event $event)
/**
* Register core store delete process
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
protected function _registerCoreStoreEvent(Mage_Index_Model_Event $event)
@@ -287,8 +282,6 @@ protected function _registerCoreStoreEvent(Mage_Index_Model_Event $event)
/**
* Process event
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _processEvent(Mage_Index_Model_Event $event)
{
diff --git a/app/code/core/Mage/Catalog/Model/Product/Indexer/Price.php b/app/code/core/Mage/Catalog/Model/Product/Indexer/Price.php
index ffb6139589d..bd9a98dfbab 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Indexer/Price.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Indexer/Price.php
@@ -124,7 +124,6 @@ protected function _getDependentAttributes()
* Check if event can be matched by process.
* Rewritten for checking configuration settings save (like price scope).
*
- * @param Mage_Index_Model_Event $event
* @return bool
*/
public function matchEvent(Mage_Index_Model_Event $event)
@@ -154,8 +153,6 @@ public function matchEvent(Mage_Index_Model_Event $event)
/**
* Register data required by catalog product delete process
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerCatalogProductDeleteEvent(Mage_Index_Model_Event $event)
{
@@ -170,8 +167,6 @@ protected function _registerCatalogProductDeleteEvent(Mage_Index_Model_Event $ev
/**
* Register data required by catalog product save process
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerCatalogProductSaveEvent(Mage_Index_Model_Event $event)
{
@@ -193,9 +188,6 @@ protected function _registerCatalogProductSaveEvent(Mage_Index_Model_Event $even
}
}
- /**
- * @param Mage_Index_Model_Event $event
- */
protected function _registerCatalogProductMassActionEvent(Mage_Index_Model_Event $event)
{
$actionObject = $event->getDataObject();
@@ -226,8 +218,6 @@ protected function _registerCatalogProductMassActionEvent(Mage_Index_Model_Event
/**
* Register data required by process in event object
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerEvent(Mage_Index_Model_Event $event)
{
@@ -267,8 +257,6 @@ protected function _registerEvent(Mage_Index_Model_Event $event)
/**
* Process event
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _processEvent(Mage_Index_Model_Event $event)
{
diff --git a/app/code/core/Mage/Catalog/Model/Product/Option.php b/app/code/core/Mage/Catalog/Model/Product/Option.php
index 596b45f7665..2110503689e 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Option.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Option.php
@@ -158,7 +158,6 @@ protected function _construct()
/**
* Add value of option to values array
*
- * @param Mage_Catalog_Model_Product_Option_Value $value
* @return $this
*/
public function addValue(Mage_Catalog_Model_Product_Option_Value $value)
@@ -259,7 +258,6 @@ public function getProduct()
/**
* Set product instance
*
- * @param Mage_Catalog_Model_Product|null $product
* @return $this
*/
public function setProduct(?Mage_Catalog_Model_Product $product = null)
@@ -444,7 +442,6 @@ public function deleteTitles($option_id)
/**
* get Product Option Collection
*
- * @param Mage_Catalog_Model_Product $product
* @return Mage_Catalog_Model_Resource_Product_Option_Collection
*/
public function getProductOptionCollection(Mage_Catalog_Model_Product $product)
diff --git a/app/code/core/Mage/Catalog/Model/Product/Option/Value.php b/app/code/core/Mage/Catalog/Model/Product/Option/Value.php
index 2ce092c7311..e03007a61be 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Option/Value.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Option/Value.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -86,7 +86,6 @@ public function unsetValues()
}
/**
- * @param Mage_Catalog_Model_Product_Option $option
* @return $this
*/
public function setOption(Mage_Catalog_Model_Product_Option $option)
@@ -179,7 +178,6 @@ public function getPrice($flag = false)
}
/**
- * @param Mage_Catalog_Model_Product_Option $option
* @return Mage_Catalog_Model_Resource_Product_Option_Value_Collection
*/
public function getValuesCollection(Mage_Catalog_Model_Product_Option $option)
diff --git a/app/code/core/Mage/Catalog/Model/Product/Status.php b/app/code/core/Mage/Catalog/Model/Product/Status.php
index 0088037d0e8..6a38573b42d 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Status.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Status.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2016-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2016-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -60,7 +60,6 @@ public function getProductAttribute($attributeCode)
* Add visible filter to Product Collection
*
* @deprecated remove on new builds
- * @param Mage_Eav_Model_Entity_Collection_Abstract $collection
* @return $this
*/
public function addVisibleFilterToCollection(Mage_Eav_Model_Entity_Collection_Abstract $collection)
@@ -72,7 +71,6 @@ public function addVisibleFilterToCollection(Mage_Eav_Model_Entity_Collection_Ab
* Add saleable filter to Product Collection
*
* @deprecated remove on new builds
- * @param Mage_Eav_Model_Entity_Collection_Abstract $collection
* @return $this
*/
public function addSaleableFilterToCollection(Mage_Eav_Model_Entity_Collection_Abstract $collection)
diff --git a/app/code/core/Mage/Catalog/Model/Product/Type/Abstract.php b/app/code/core/Mage/Catalog/Model/Product/Type/Abstract.php
index fc1842c5df7..288dbf1db98 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Type/Abstract.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Type/Abstract.php
@@ -297,7 +297,6 @@ public function isSalable($product = null)
* Prepare product and its configuration to be added to some products list.
* Perform standard preparation process and then prepare options belonging to specific product type.
*
- * @param Varien_Object $buyRequest
* @param Mage_Catalog_Model_Product $product
* @param string $processMode
* @return array|string
@@ -367,7 +366,6 @@ protected function _prepareProduct(Varien_Object $buyRequest, $product, $process
/**
* Process product configuration
*
- * @param Varien_Object $buyRequest
* @param Mage_Catalog_Model_Product $product
* @param string $processMode
* @return array|string
@@ -388,7 +386,6 @@ public function processConfiguration(
* Initialize product(s) for add to cart process.
* Advanced version of func to prepare product for cart - processMode can be specified there.
*
- * @param Varien_Object $buyRequest
* @param Mage_Catalog_Model_Product $product
* @param null|string $processMode
* @return array|string
@@ -406,7 +403,6 @@ public function prepareForCartAdvanced(Varien_Object $buyRequest, $product = nul
/**
* Initialize product(s) for add to cart process
*
- * @param Varien_Object $buyRequest
* @param Mage_Catalog_Model_Product $product
* @return array|string
*/
@@ -505,7 +501,6 @@ public function getSpecifyOptionMessage()
/**
* Process custom defined options for product
*
- * @param Varien_Object $buyRequest
* @param Mage_Catalog_Model_Product $product
* @param string $processMode
* @return array
@@ -544,7 +539,6 @@ protected function _prepareOptions(Varien_Object $buyRequest, $product, $process
* @deprecated after 1.4.2.0
* @see _prepareOptions()
*
- * @param Varien_Object $buyRequest
* @param Mage_Catalog_Model_Product $product
* @return array
*/
@@ -791,7 +785,6 @@ public function hasOptions($product = null)
* so need to change configuration item qty option value too.
*
* @param array $options
- * @param Varien_Object $option
* @param mixed $value
* @param Mage_Catalog_Model_Product $product
* @return $this
diff --git a/app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php b/app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php
index b1061837439..743b3133c45 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Type/Configurable.php
@@ -154,7 +154,6 @@ public function getEditableAttributes($product = null)
/**
* Checkin attribute availability for create superproduct
*
- * @param Mage_Eav_Model_Entity_Attribute $attribute
* @return bool
*/
public function canUseAttribute(Mage_Eav_Model_Entity_Attribute $attribute)
@@ -565,7 +564,6 @@ public function getSelectedAttributesInfo($product = null)
* Prepare product and its configuration to be added to some products list.
* Perform standard preparation process and then add Configurable specific options.
*
- * @param Varien_Object $buyRequest
* @param Mage_Catalog_Model_Product $product
* @param string $processMode
* @return array|string
diff --git a/app/code/core/Mage/Catalog/Model/Product/Type/Grouped.php b/app/code/core/Mage/Catalog/Model/Product/Type/Grouped.php
index a8c34a802eb..6f9438c7ef4 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Type/Grouped.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Type/Grouped.php
@@ -287,7 +287,6 @@ public function save($product = null)
* Prepare product and its configuration to be added to some products list.
* Perform standard preparation process and add logic specific to Grouped product type.
*
- * @param Varien_Object $buyRequest
* @param Mage_Catalog_Model_Product $product
* @param string $processMode
* @return array|string
diff --git a/app/code/core/Mage/Catalog/Model/Product/Url.php b/app/code/core/Mage/Catalog/Model/Product/Url.php
index e26c7fddead..8ea075620cb 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Url.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Url.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -51,8 +51,6 @@ class Mage_Catalog_Model_Product_Url extends Varien_Object
/**
* Initialize Url model
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
@@ -103,7 +101,6 @@ protected function _validImage($image)
/**
* Retrieve URL in current store
*
- * @param Mage_Catalog_Model_Product $product
* @param array $params the URL route params
* @return string
*/
@@ -175,7 +172,6 @@ public function getUrlPath($product, $category = null)
/**
* Retrieve Product URL using UrlDataObject
*
- * @param Mage_Catalog_Model_Product $product
* @param array $params
* @return string
*/
diff --git a/app/code/core/Mage/Catalog/Model/Product/Visibility.php b/app/code/core/Mage/Catalog/Model/Product/Visibility.php
index 08529e81524..a9e5b0e8853 100644
--- a/app/code/core/Mage/Catalog/Model/Product/Visibility.php
+++ b/app/code/core/Mage/Catalog/Model/Product/Visibility.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2016-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2016-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -47,7 +47,6 @@ public function __construct()
* Add visible in catalog filter to collection
*
* @deprecated
- * @param Mage_Catalog_Model_Resource_Product_Collection $collection
* @return $this
*/
public function addVisibleInCatalogFilterToCollection(Mage_Catalog_Model_Resource_Product_Collection $collection)
@@ -59,7 +58,6 @@ public function addVisibleInCatalogFilterToCollection(Mage_Catalog_Model_Resourc
* Add visibility in searchfilter to collection
*
* @deprecated
- * @param Mage_Catalog_Model_Resource_Product_Collection $collection
* @return $this
*/
public function addVisibleInSearchFilterToCollection(Mage_Catalog_Model_Resource_Product_Collection $collection)
@@ -71,7 +69,6 @@ public function addVisibleInSearchFilterToCollection(Mage_Catalog_Model_Resource
* Add visibility in site filter to collection
*
* @deprecated
- * @param Mage_Catalog_Model_Resource_Product_Collection $collection
* @return $this
*/
public function addVisibleInSiteFilterToCollection(Mage_Catalog_Model_Resource_Product_Collection $collection)
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Abstract.php b/app/code/core/Mage/Catalog/Model/Resource/Abstract.php
index f474fca685d..782561cc3d7 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Abstract.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Abstract.php
@@ -152,7 +152,6 @@ protected function _addLoadAttributesSelectFields($select, $table, $type)
/**
* Prepare select object for loading entity attributes values
*
- * @param array $selects
* @return Varien_Db_Select
*/
protected function _prepareLoadSelect(array $selects)
@@ -511,7 +510,6 @@ protected function _collectOrigData($object)
/**
* Check is attribute value empty
*
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @param mixed $value
* @return bool
*/
@@ -525,9 +523,7 @@ protected function _isAttributeValueEmpty(Mage_Eav_Model_Entity_Attribute_Abstra
* Checks also attribute's store scope:
* We should insert on duplicate key update values if we unchecked 'STORE VIEW' checkbox in store view.
*
- * @param Mage_Eav_Model_Entity_Attribute_Abstract|Mage_Catalog_Model_Resource_Eav_Attribute $attribute
* @param mixed $value New value of the attribute.
- * @param array $origData
* @return bool
*/
protected function _canUpdateAttribute(
@@ -552,7 +548,6 @@ protected function _canUpdateAttribute(
* Prepare value for save
*
* @param mixed $value
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @return mixed
*/
protected function _prepareValueForSave($value, Mage_Eav_Model_Entity_Attribute_Abstract $attribute)
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Attribute.php b/app/code/core/Mage/Catalog/Model/Resource/Attribute.php
index a04f785fcb0..c70d786c4bc 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Attribute.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Attribute.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -77,7 +77,6 @@ protected function _clearUselessAttributeValues(Mage_Core_Model_Abstract $object
/**
* Delete entity
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
public function deleteEntity(Mage_Core_Model_Abstract $object)
@@ -122,7 +121,6 @@ public function deleteEntity(Mage_Core_Model_Abstract $object)
/**
* Defines is Attribute used by super products
*
- * @param Mage_Core_Model_Abstract $object
* @param int $attributeSet
* @return int
*/
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Category.php b/app/code/core/Mage/Catalog/Model/Resource/Category.php
index 2327214a456..d56be287cd2 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Category.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Category.php
@@ -105,7 +105,6 @@ protected function _getTree()
* update children count for parent category
* delete child categories
*
- * @param Varien_Object|Mage_Catalog_Model_Category $object
* @return $this
*/
protected function _beforeDelete(Varien_Object $object)
@@ -129,7 +128,6 @@ protected function _beforeDelete(Varien_Object $object)
/**
* Delete children categories of specific category
*
- * @param Varien_Object|Mage_Catalog_Model_Category $object
* @return $this
*/
public function deleteChildren(Varien_Object $object)
@@ -162,7 +160,6 @@ public function deleteChildren(Varien_Object $object)
* Process category data before saving
* prepare path and increment children count for parent categories
*
- * @param Varien_Object|Mage_Catalog_Model_Category $object
* @return $this
*/
protected function _beforeSave(Varien_Object $object)
@@ -413,7 +410,6 @@ public function checkId($entityId)
/**
* Check array of category identifiers
*
- * @param array $ids
* @return array
*/
public function verifyIds(array $ids)
@@ -789,8 +785,6 @@ public function getCategoryPathById($categoryId)
/**
* Move category to another parent node
*
- * @param Mage_Catalog_Model_Category $category
- * @param Mage_Catalog_Model_Category $newParent
* @param null|int $afterCategoryId
* @return $this
*/
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Category/Collection.php b/app/code/core/Mage/Catalog/Model/Resource/Category/Collection.php
index f05cd3aa442..e88afb1c19a 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Category/Collection.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Category/Collection.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -81,7 +81,6 @@ class Mage_Catalog_Model_Resource_Category_Collection extends Mage_Catalog_Model
* Initialize factory
*
* @param Mage_Core_Model_Resource_Abstract $resource
- * @param array $args
*/
public function __construct($resource = null, array $args = [])
{
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Category/Flat.php b/app/code/core/Mage/Catalog/Model/Resource/Category/Flat.php
index fef91959b4e..644eba73fa5 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Category/Flat.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Category/Flat.php
@@ -114,8 +114,6 @@ class Mage_Catalog_Model_Resource_Category_Flat extends Mage_Index_Model_Resourc
/**
* Initialize factory instance
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
@@ -996,7 +994,6 @@ public function removeStores($stores)
/**
* Synchronize flat category data after move by affected category ids
*
- * @param array $affectedCategoryIds
* @return $this
*/
public function move(array $affectedCategoryIds)
@@ -1422,7 +1419,6 @@ public function getDesignUpdateData($category)
/**
* Retrieve anchors above
*
- * @param array $filterIds
* @param int $storeId
* @return array
*/
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Category/Flat/Collection.php b/app/code/core/Mage/Catalog/Model/Resource/Category/Flat/Collection.php
index 49172db47c0..9c2238fe318 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Category/Flat/Collection.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Category/Flat/Collection.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -49,7 +49,6 @@ class Mage_Catalog_Model_Resource_Category_Flat_Collection extends Mage_Core_Mod
* Initialize factory
*
* @param Mage_Core_Model_Resource_Abstract $resource
- * @param array $args
*/
public function __construct($resource = null, array $args = [])
{
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Category/Indexer/Product.php b/app/code/core/Mage/Catalog/Model/Resource/Category/Indexer/Product.php
index dd4fba8f652..9b34af6b110 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Category/Indexer/Product.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Category/Indexer/Product.php
@@ -78,7 +78,6 @@ protected function _construct()
* Method is responsible for index support
* when product was saved and assigned categories was changed.
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function catalogProductSave(Mage_Index_Model_Event $event)
@@ -132,7 +131,6 @@ public function catalogProductSave(Mage_Index_Model_Event $event)
/**
* Process Catalog Product mass action
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function catalogProductMassAction(Mage_Index_Model_Event $event)
@@ -205,8 +203,6 @@ protected function _getRootCategories()
/**
* Process category index after category save
- *
- * @param Mage_Index_Model_Event $event
*/
public function catalogCategorySave(Mage_Index_Model_Event $event)
{
@@ -307,7 +303,6 @@ public function catalogCategorySave(Mage_Index_Model_Event $event)
/**
* Reindex not anchor root categories
*
- * @param array|null $categoryIds
* @return $this
* @throws Zend_Db_Adapter_Exception
*/
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product.php b/app/code/core/Mage/Catalog/Model/Resource/Product.php
index ddf51e2899b..32a7579c2ed 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -233,7 +233,6 @@ protected function _saveWebsiteIds($product)
/**
* Save product category relations
*
- * @param Varien_Object|Mage_Catalog_Model_Product $object
* @return $this
*/
protected function _saveCategories(Varien_Object $object)
@@ -610,7 +609,6 @@ public function duplicate($oldId, $newId)
/**
* Get SKU through product identifiers
*
- * @param array $productIds
* @return array
*/
public function getProductsSku(array $productIds)
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Action.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Action.php
index c88287d813e..41a8f38c4bb 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Action.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Action.php
@@ -87,8 +87,6 @@ public function updateAttributes($entityIds, $attrData, $storeId)
/**
* Update the "updated_at" field for all entity_ids passed
*
- * @param array $entityIds
- * @return void
* @throws Zend_Db_Adapter_Exception
*/
protected function _updateUpdatedAt(array $entityIds): void
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Groupprice/Abstract.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Groupprice/Abstract.php
index 01d93dd4cd5..74d73f718b1 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Groupprice/Abstract.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Groupprice/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -113,7 +113,6 @@ public function deletePriceData($productId, $websiteId = null, $priceId = null)
/**
* Save tier price object
*
- * @param Varien_Object $priceObject
* @return $this
*/
public function savePriceData(Varien_Object $priceObject)
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Image.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Image.php
index 0dfc2be9d02..fe9ad304bae 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Image.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Image.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -21,9 +21,6 @@
*/
class Mage_Catalog_Model_Resource_Product_Attribute_Backend_Image extends Mage_Eav_Model_Entity_Attribute_Backend_Abstract
{
- /**
- * @return array
- */
public function getAllowedExtensions(): array
{
return Varien_Io_File::ALLOWED_IMAGES_EXTENSIONS;
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Media.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Media.php
index 132e619b72e..e5b72d0a491 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Media.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Attribute/Backend/Media.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -209,7 +209,6 @@ public function duplicate($object, $newFiles, $originalProductId, $newProductId)
* Get select to retrieve media gallery images
* for given product IDs.
*
- * @param array $productIds
* @param int $storeId
* @param int $attributeId
* @return Varien_Db_Select
@@ -264,7 +263,6 @@ protected function _getAttributeId()
/**
* Get media gallery set for given product IDs
*
- * @param array $productIds
* @param int $storeId
* @return array
*/
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php
index 91fadd6d1b3..01464eab97a 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php
@@ -207,7 +207,6 @@ class Mage_Catalog_Model_Resource_Product_Collection extends Mage_Catalog_Model_
* Initialize factory
*
* @param Mage_Core_Model_Resource_Abstract $resource
- * @param array $args
*/
public function __construct($resource = null, array $args = [])
{
@@ -689,7 +688,6 @@ public function getLimitationFilters()
/**
* Specify category filter for product collection
*
- * @param Mage_Catalog_Model_Category $category
* @return $this
*/
public function addCategoryFilter(Mage_Catalog_Model_Category $category)
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Compare/Item.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Compare/Item.php
index 87842c267f7..fa5ac32b0a6 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Compare/Item.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Compare/Item.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Load object by product
*
- * @param Mage_Catalog_Model_Product_Compare_Item $object
* @param mixed $product
* @return bool
*/
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Compare/Item/Collection.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Compare/Item/Collection.php
index 306c3ae6a57..7ece0d26cf4 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Compare/Item/Collection.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Compare/Item/Collection.php
@@ -189,7 +189,6 @@ protected function _getAttributeSetIds()
/**
* Retrieve attribute ids by set ids
*
- * @param array $setIds
* @return array
*/
protected function _getAttributeIdsBySetIds(array $setIds)
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Flat/Indexer.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Flat/Indexer.php
index d7d701ef107..d43840b6a01 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Flat/Indexer.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Flat/Indexer.php
@@ -1355,7 +1355,6 @@ protected function _isFlatTableExists($storeId)
/**
* Retrieve previous key from array by key
*
- * @param array $array
* @param mixed $key
* @return mixed
*/
@@ -1374,7 +1373,6 @@ protected function _arrayPrevKey(array $array, $key)
/**
* Retrieve next key from array by key
*
- * @param array $array
* @param mixed $key
* @return mixed
*/
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Eav.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Eav.php
index 30c5d691764..78a977d5e7f 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Eav.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Eav.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -74,7 +74,6 @@ public function getIndexer($type)
* Method is responsible for index support
* when product was saved and assigned categories was changed.
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function catalogProductSave(Mage_Index_Model_Event $event)
@@ -100,7 +99,6 @@ public function catalogProductSave(Mage_Index_Model_Event $event)
/**
* Process Product Delete
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function catalogProductDelete(Mage_Index_Model_Event $event)
@@ -121,7 +119,6 @@ public function catalogProductDelete(Mage_Index_Model_Event $event)
/**
* Process Product Mass Update
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function catalogProductMassAction(Mage_Index_Model_Event $event)
@@ -142,7 +139,6 @@ public function catalogProductMassAction(Mage_Index_Model_Event $event)
/**
* Process Catalog Eav Attribute Save
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function catalogEavAttributeSave(Mage_Index_Model_Event $event)
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Eav/Source.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Eav/Source.php
index 507c503b28e..0f0e497c734 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Eav/Source.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Eav/Source.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -256,7 +256,6 @@ protected function _prepareMultiselectIndex($entityIds = null, $attributeId = nu
/**
* Save a data to temporary source index table
*
- * @param array $data
* @return $this
*/
protected function _saveIndexData(array $data)
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price.php
index 0831d0aa0f8..ea634f9fa15 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2017-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -70,7 +70,6 @@ public function getProductParentsByChild($childId)
* Process produce delete
* If the deleted product was found in a composite product(s) update it
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function catalogProductDelete(Mage_Index_Model_Event $event)
@@ -135,7 +134,6 @@ protected function _copyIndexDataToMainTable($processIds)
* Method is responsible for index support
* when product was saved and changed attribute(s) has an effect on price.
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function catalogProductSave(Mage_Index_Model_Event $event)
@@ -193,7 +191,6 @@ public function catalogProductSave(Mage_Index_Model_Event $event)
/**
* Process product mass update action
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function catalogProductMassAction(Mage_Index_Model_Event $event)
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price/Default.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price/Default.php
index 0ac5a9f9916..c06d8c7dd0a 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price/Default.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price/Default.php
@@ -594,8 +594,6 @@ protected function _getGroupPriceIndexTable()
/**
* Register data required by product type process in event object
- *
- * @param Mage_Index_Model_Event $event
*/
public function registerEvent(Mage_Index_Model_Event $event)
{
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price/Interface.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price/Interface.php
index f889124e0ad..df33ed02deb 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price/Interface.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price/Interface.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -36,8 +36,6 @@ public function reindexEntity($entityIds);
/**
* Register data required by product type process in event object
- *
- * @param Mage_Index_Model_Event $event
*/
public function registerEvent(Mage_Index_Model_Event $event);
}
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Link/Collection.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Link/Collection.php
index 787786233e8..30835a2f4d2 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Link/Collection.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Link/Collection.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -50,7 +50,6 @@ protected function _construct()
/**
* Declare link model and initialize type attributes join
*
- * @param Mage_Catalog_Model_Product_Link $linkModel
* @return $this
*/
public function setLinkModel(Mage_Catalog_Model_Product_Link $linkModel)
@@ -75,7 +74,6 @@ public function getLinkModel()
/**
* Initialize collection parent product and add limitation join
*
- * @param Mage_Catalog_Model_Product $product
* @return $this
*/
public function setProduct(Mage_Catalog_Model_Product $product)
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Link/Product/Collection.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Link/Product/Collection.php
index b6cb97b005d..0b95ef8d2fb 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Link/Product/Collection.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Link/Product/Collection.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -59,7 +59,6 @@ class Mage_Catalog_Model_Resource_Product_Link_Product_Collection extends Mage_C
/**
* Declare link model and initialize type attributes join
*
- * @param Mage_Catalog_Model_Product_Link $linkModel
* @return $this
*/
public function setLinkModel(Mage_Catalog_Model_Product_Link $linkModel)
@@ -95,7 +94,6 @@ public function getLinkModel()
/**
* Initialize collection parent product and add limitation join
*
- * @param Mage_Catalog_Model_Product $product
* @return $this
*/
public function setProduct(Mage_Catalog_Model_Product $product)
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Option.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Option.php
index c3ef5e754a6..fbb0775758b 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Option.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Option.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Catalog
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Save options store data
*
- * @param Mage_Core_Model_Abstract $object
* @return Mage_Core_Model_Resource_Db_Abstract
*/
protected function _afterSave(Mage_Core_Model_Abstract $object)
@@ -43,7 +42,6 @@ protected function _afterSave(Mage_Core_Model_Abstract $object)
/**
* Save value prices
*
- * @param Mage_Core_Model_Abstract|Mage_Catalog_Model_Product_Option $object
* @return $this
*/
protected function _saveValuePrices(Mage_Core_Model_Abstract $object)
@@ -186,7 +184,6 @@ protected function _saveValuePrices(Mage_Core_Model_Abstract $object)
/**
* Save titles
*
- * @param Mage_Core_Model_Abstract|Mage_Catalog_Model_Product_Option $object
* @throws Zend_Db_Adapter_Exception
*/
protected function _saveValueTitles(Mage_Core_Model_Abstract $object)
@@ -325,7 +322,6 @@ public function deleteTitles($optionId)
/**
* Duplicate custom options for product
*
- * @param Mage_Catalog_Model_Product_Option $object
* @param int $oldProductId
* @param int $newProductId
* @return Mage_Catalog_Model_Product_Option
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Option/Value.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Option/Value.php
index 7a3199d2431..45861835574 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Product/Option/Value.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Option/Value.php
@@ -30,7 +30,6 @@ protected function _construct()
* Proceed operations after object is saved
* Save options store data
*
- * @param Mage_Core_Model_Abstract $object
* @return Mage_Core_Model_Resource_Db_Abstract
*/
protected function _afterSave(Mage_Core_Model_Abstract $object)
@@ -43,8 +42,6 @@ protected function _afterSave(Mage_Core_Model_Abstract $object)
/**
* Save option value price data
- *
- * @param Mage_Core_Model_Abstract $object
*/
protected function _saveValuePrices(Mage_Core_Model_Abstract $object)
{
@@ -148,8 +145,6 @@ protected function _saveValuePrices(Mage_Core_Model_Abstract $object)
/**
* Save option value title data
- *
- * @param Mage_Core_Model_Abstract $object
*/
protected function _saveValueTitles(Mage_Core_Model_Abstract $object)
{
@@ -269,7 +264,6 @@ public function deleteValues($optionTypeId)
/**
* Duplicate product options value
*
- * @param Mage_Catalog_Model_Product_Option_Value $object
* @param int $oldOptionId
* @param int $newOptionId
* @return Mage_Catalog_Model_Product_Option_Value
diff --git a/app/code/core/Mage/Catalog/Model/Resource/Url.php b/app/code/core/Mage/Catalog/Model/Resource/Url.php
index 8c102f56e10..b72db8f572d 100644
--- a/app/code/core/Mage/Catalog/Model/Resource/Url.php
+++ b/app/code/core/Mage/Catalog/Model/Resource/Url.php
@@ -333,7 +333,6 @@ public function saveRewriteHistory($rewriteData)
/**
* Save category attribute
*
- * @param Varien_Object|Mage_Catalog_Model_Category $category
* @param string $attributeCode
* @return $this
*/
@@ -487,7 +486,6 @@ protected function _getCategoryAttribute($attributeCode, $categoryIds, $storeId)
/**
* Save product attribute
*
- * @param Varien_Object|Mage_Catalog_Model_Product $product
* @param string $attributeCode
* @return $this
*/
@@ -629,7 +627,6 @@ public function _getProductAttribute($attributeCode, $productIds, $storeId)
/**
* Prepare category parentId
*
- * @param Varien_Object|Mage_Catalog_Model_Category $category
* @return $this
*/
protected function _prepareCategoryParentId(Varien_Object $category)
@@ -810,7 +807,6 @@ public function getCategories($categoryIds, $storeId)
/**
* Retrieve category children data objects
*
- * @param Varien_Object $category
* @return Varien_Object
*/
public function loadCategoryChilds(Varien_Object $category)
@@ -880,7 +876,6 @@ public function getRootChildrenIds($categoryId, $categoryPath, $includeStart = t
/**
* Retrieve category parent path
*
- * @param Varien_Object $category
* @return string
*/
public function getCategoryParentPath(Varien_Object $category)
@@ -1025,7 +1020,6 @@ public function getProductsByStore($storeId, &$lastEntityId)
/**
* Retrieve Product data objects in category
*
- * @param Varien_Object $category
* @param int $lastEntityId
* @return array
*/
@@ -1236,7 +1230,6 @@ public function deleteCategoryProductStoreRewrites($categoryId, $productIds = nu
* visibility int; visibility for store
* url_rewrite string; rewrite URL for store
*
- * @param array $products
* @return array
*/
public function getRewriteByProductStore(array $products)
diff --git a/app/code/core/Mage/Catalog/Model/Url.php b/app/code/core/Mage/Catalog/Model/Url.php
index 7ae42692193..7fe943684dc 100644
--- a/app/code/core/Mage/Catalog/Model/Url.php
+++ b/app/code/core/Mage/Catalog/Model/Url.php
@@ -246,7 +246,6 @@ public function refreshRewrites($storeId = null)
/**
* Refresh category rewrite
*
- * @param Varien_Object|Mage_Catalog_Model_Category $category
* @param string $parentPath
* @param bool $refreshProducts
* @return $this
@@ -309,8 +308,6 @@ protected function _refreshCategoryRewrites(Varien_Object $category, $parentPath
/**
* Refresh product rewrite
*
- * @param Varien_Object|Mage_Catalog_Model_Product $product
- * @param Varien_Object|Mage_Catalog_Model_Category $category
* @return $this
*/
protected function _refreshProductRewrite(Varien_Object $product, Varien_Object $category)
@@ -366,7 +363,6 @@ protected function _refreshProductRewrite(Varien_Object $product, Varien_Object
/**
* Refresh products for catwgory
*
- * @param Varien_Object|Mage_Catalog_Model_Category $category
* @return $this
*/
protected function _refreshCategoryProductRewrites(Varien_Object $category)
diff --git a/app/code/core/Mage/CatalogIndex/Model/Indexer.php b/app/code/core/Mage/CatalogIndex/Model/Indexer.php
index 32888661297..6c7972d17ca 100644
--- a/app/code/core/Mage/CatalogIndex/Model/Indexer.php
+++ b/app/code/core/Mage/CatalogIndex/Model/Indexer.php
@@ -769,7 +769,6 @@ protected function _addFilterableAttributesToCollection($collection)
/**
* Prepare Catalog Product Flat Columns
*
- * @param Varien_Object $object
* @return $this
*/
public function prepareCatalogProductFlatColumns(Varien_Object $object)
@@ -782,7 +781,6 @@ public function prepareCatalogProductFlatColumns(Varien_Object $object)
/**
* Prepare Catalog Product Flat Indexes
*
- * @param Varien_Object $object
* @return $this
*/
public function prepareCatalogProductFlatIndexes(Varien_Object $object)
diff --git a/app/code/core/Mage/CatalogIndex/Model/Indexer/Abstract.php b/app/code/core/Mage/CatalogIndex/Model/Indexer/Abstract.php
index 6e0a8680859..efa8392fe74 100644
--- a/app/code/core/Mage/CatalogIndex/Model/Indexer/Abstract.php
+++ b/app/code/core/Mage/CatalogIndex/Model/Indexer/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogIndex
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -26,7 +26,6 @@ abstract class Mage_CatalogIndex_Model_Indexer_Abstract extends Mage_Core_Model_
protected $_runOnce = false;
/**
- * @param Mage_Catalog_Model_Product $object
* @param int|string $forceId
*/
public function processAfterSave(Mage_Catalog_Model_Product $object, $forceId = null)
@@ -103,7 +102,6 @@ public function saveIndex($data, $storeId, $productId)
}
/**
- * @param array $data
* @param int $storeId
* @param int $productId
*/
@@ -113,7 +111,6 @@ public function saveIndices(array $data, $storeId, $productId)
}
/**
- * @param Mage_Catalog_Model_Product $object
* @return bool
*/
protected function _isObjectIndexable(Mage_Catalog_Model_Product $object)
@@ -132,7 +129,6 @@ protected function _isObjectIndexable(Mage_Catalog_Model_Product $object)
}
/**
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @return bool
*/
public function isAttributeIndexable(Mage_Eav_Model_Entity_Attribute_Abstract $attribute)
@@ -141,7 +137,6 @@ public function isAttributeIndexable(Mage_Eav_Model_Entity_Attribute_Abstract $a
}
/**
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @return bool
*/
protected function _isAttributeIndexable(Mage_Eav_Model_Entity_Attribute_Abstract $attribute)
diff --git a/app/code/core/Mage/CatalogIndex/Model/Indexer/Eav.php b/app/code/core/Mage/CatalogIndex/Model/Indexer/Eav.php
index 0b8ee508ab3..df1a926ad59 100644
--- a/app/code/core/Mage/CatalogIndex/Model/Indexer/Eav.php
+++ b/app/code/core/Mage/CatalogIndex/Model/Indexer/Eav.php
@@ -38,8 +38,6 @@ protected function _construct()
}
/**
- * @param Mage_Catalog_Model_Product $object
- * @param Mage_Eav_Model_Entity_Attribute_Abstract|null $attribute
* @return array
*/
public function createIndexData(Mage_Catalog_Model_Product $object, ?Mage_Eav_Model_Entity_Attribute_Abstract $attribute = null)
@@ -68,7 +66,6 @@ public function createIndexData(Mage_Catalog_Model_Product $object, ?Mage_Eav_Mo
}
/**
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @return bool
*/
protected function _isAttributeIndexable(Mage_Eav_Model_Entity_Attribute_Abstract $attribute)
diff --git a/app/code/core/Mage/CatalogIndex/Model/Indexer/Interface.php b/app/code/core/Mage/CatalogIndex/Model/Indexer/Interface.php
index ffdd7a524d9..baf41d2dd53 100644
--- a/app/code/core/Mage/CatalogIndex/Model/Indexer/Interface.php
+++ b/app/code/core/Mage/CatalogIndex/Model/Indexer/Interface.php
@@ -20,8 +20,6 @@
interface Mage_CatalogIndex_Model_Indexer_Interface
{
/**
- * @param Mage_Catalog_Model_Product $object
- * @param Mage_Eav_Model_Entity_Attribute_Abstract|null $attribute
* @return mixed
*/
public function createIndexData(Mage_Catalog_Model_Product $object, ?Mage_Eav_Model_Entity_Attribute_Abstract $attribute = null);
diff --git a/app/code/core/Mage/CatalogIndex/Model/Indexer/Minimalprice.php b/app/code/core/Mage/CatalogIndex/Model/Indexer/Minimalprice.php
index 4156d49feab..d8144806f02 100644
--- a/app/code/core/Mage/CatalogIndex/Model/Indexer/Minimalprice.php
+++ b/app/code/core/Mage/CatalogIndex/Model/Indexer/Minimalprice.php
@@ -86,8 +86,6 @@ public function getPriceAttribute()
}
/**
- * @param Mage_Catalog_Model_Product $object
- * @param Mage_Eav_Model_Entity_Attribute_Abstract|null $attribute
* @return array|bool
*/
public function createIndexData(Mage_Catalog_Model_Product $object, ?Mage_Eav_Model_Entity_Attribute_Abstract $attribute = null)
@@ -144,7 +142,6 @@ public function isAttributeIdUsed()
}
/**
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @return bool
*/
protected function _isAttributeIndexable(Mage_Eav_Model_Entity_Attribute_Abstract $attribute)
diff --git a/app/code/core/Mage/CatalogIndex/Model/Indexer/Price.php b/app/code/core/Mage/CatalogIndex/Model/Indexer/Price.php
index 12876d51f7d..7d817e60479 100644
--- a/app/code/core/Mage/CatalogIndex/Model/Indexer/Price.php
+++ b/app/code/core/Mage/CatalogIndex/Model/Indexer/Price.php
@@ -51,8 +51,6 @@ protected function _construct()
}
/**
- * @param Mage_Catalog_Model_Product $object
- * @param Mage_Eav_Model_Entity_Attribute_Abstract|null $attribute
* @return array
*/
public function createIndexData(Mage_Catalog_Model_Product $object, ?Mage_Eav_Model_Entity_Attribute_Abstract $attribute = null)
@@ -81,7 +79,6 @@ public function createIndexData(Mage_Catalog_Model_Product $object, ?Mage_Eav_Mo
}
/**
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @return bool
*/
protected function _isAttributeIndexable(Mage_Eav_Model_Entity_Attribute_Abstract $attribute)
diff --git a/app/code/core/Mage/CatalogIndex/Model/Indexer/Tierprice.php b/app/code/core/Mage/CatalogIndex/Model/Indexer/Tierprice.php
index 65bfb818f10..1f8f3733ff4 100644
--- a/app/code/core/Mage/CatalogIndex/Model/Indexer/Tierprice.php
+++ b/app/code/core/Mage/CatalogIndex/Model/Indexer/Tierprice.php
@@ -64,8 +64,6 @@ protected function _construct()
}
/**
- * @param Mage_Catalog_Model_Product $object
- * @param Mage_Eav_Model_Entity_Attribute_Abstract|null $attribute
* @return array
*/
public function createIndexData(Mage_Catalog_Model_Product $object, ?Mage_Eav_Model_Entity_Attribute_Abstract $attribute = null)
@@ -105,7 +103,6 @@ public function createIndexData(Mage_Catalog_Model_Product $object, ?Mage_Eav_Mo
}
/**
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @return bool
*/
protected function _isAttributeIndexable(Mage_Eav_Model_Entity_Attribute_Abstract $attribute)
diff --git a/app/code/core/Mage/CatalogIndex/Model/Observer.php b/app/code/core/Mage/CatalogIndex/Model/Observer.php
index 7b49cf46ba0..7a3400edd24 100644
--- a/app/code/core/Mage/CatalogIndex/Model/Observer.php
+++ b/app/code/core/Mage/CatalogIndex/Model/Observer.php
@@ -78,7 +78,6 @@ public function reindexDaily()
/**
* Process product after save
*
- * @param Varien_Event_Observer $observer
* @return Mage_CatalogIndex_Model_Observer
*/
public function processAfterSaveEvent(Varien_Event_Observer $observer)
@@ -109,7 +108,6 @@ public function processAfterSaveEvent(Varien_Event_Observer $observer)
/**
* Reindex price data after attribute scope change
*
- * @param Varien_Event_Observer $observer
* @return Mage_CatalogIndex_Model_Observer
*/
public function processPriceScopeChange(Varien_Event_Observer $observer)
@@ -128,7 +126,6 @@ public function processPriceScopeChange(Varien_Event_Observer $observer)
/**
* Process catalog index after price rules were applied
*
- * @param Varien_Event_Observer $observer
* @return Mage_CatalogIndex_Model_Observer
*/
public function processPriceRuleApplication(Varien_Event_Observer $observer)
@@ -150,7 +147,6 @@ public function processPriceRuleApplication(Varien_Event_Observer $observer)
/**
* Cleanup product index after product delete
*
- * @param Varien_Event_Observer $observer
* @return Mage_CatalogIndex_Model_Observer
*/
public function processAfterDeleteEvent(Varien_Event_Observer $observer)
@@ -170,7 +166,6 @@ public function processAfterDeleteEvent(Varien_Event_Observer $observer)
/**
* Process index data after attribute information was changed
*
- * @param Varien_Event_Observer $observer
* @return Mage_CatalogIndex_Model_Observer
*/
public function processAttributeChangeEvent(Varien_Event_Observer $observer)
@@ -199,7 +194,6 @@ public function processAttributeChangeEvent(Varien_Event_Observer $observer)
/**
* Create index for new store
*
- * @param Varien_Event_Observer $observer
* @return Mage_CatalogIndex_Model_Observer
*/
public function processStoreAdd(Varien_Event_Observer $observer)
@@ -212,7 +206,6 @@ public function processStoreAdd(Varien_Event_Observer $observer)
/**
* Rebuild index after catalog import
*
- * @param Varien_Event_Observer $observer
* @return Mage_CatalogIndex_Model_Observer
*/
public function catalogProductImportAfter(Varien_Event_Observer $observer)
@@ -240,7 +233,6 @@ public function runQueuedIndexing()
/**
* Clear aggregated layered navigation data
*
- * @param Varien_Event_Observer $observer
* @return Mage_CatalogIndex_Model_Observer
*/
public function cleanCache(Varien_Event_Observer $observer)
@@ -257,7 +249,6 @@ public function cleanCache(Varien_Event_Observer $observer)
/**
* Process index data after category save
*
- * @param Varien_Event_Observer $observer
* @return Mage_CatalogIndex_Model_Observer
*/
public function catalogCategorySaveAfter(Varien_Event_Observer $observer)
@@ -303,7 +294,6 @@ public function clearSearchLayerCache()
/**
* Load parent ids for products before deleting
*
- * @param Varien_Event_Observer $observer
* @return Mage_CatalogIndex_Model_Observer
*/
public function registerParentIds(Varien_Event_Observer $observer)
@@ -320,7 +310,6 @@ public function registerParentIds(Varien_Event_Observer $observer)
/**
* Reindex producs after change websites associations
*
- * @param Varien_Event_Observer $observer
* @return Mage_CatalogIndex_Model_Observer
*/
public function processProductsWebsitesChange(Varien_Event_Observer $observer)
@@ -334,7 +323,6 @@ public function processProductsWebsitesChange(Varien_Event_Observer $observer)
/**
* Prepare columns for catalog product flat
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductFlatPrepareColumns(Varien_Event_Observer $observer)
@@ -349,7 +337,6 @@ public function catalogProductFlatPrepareColumns(Varien_Event_Observer $observer
/**
* Prepare indexes for catalog product flat
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductFlatPrepareIndexes(Varien_Event_Observer $observer)
@@ -364,7 +351,6 @@ public function catalogProductFlatPrepareIndexes(Varien_Event_Observer $observer
/**
* Rebuild catalog product flat
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductFlatRebuild(Varien_Event_Observer $observer)
@@ -380,7 +366,6 @@ public function catalogProductFlatRebuild(Varien_Event_Observer $observer)
/**
* Catalog Product Flat update product(s)
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductFlatUpdateProduct(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/CatalogIndex/Model/Price.php b/app/code/core/Mage/CatalogIndex/Model/Price.php
index e198c4f9142..e3bd1f3a26e 100644
--- a/app/code/core/Mage/CatalogIndex/Model/Price.php
+++ b/app/code/core/Mage/CatalogIndex/Model/Price.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogIndex
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -94,9 +94,6 @@ public function applyFilterToCollection($collection, $attribute, $range, $index)
return $this->_getResource()->applyFilterToCollection($collection, $attribute, $range, $index);
}
- /**
- * @param Mage_Catalog_Model_Resource_Product_Collection $collection
- */
public function addMinimalPrices(Mage_Catalog_Model_Resource_Product_Collection $collection)
{
$minimalPrices = $this->_getResource()->getMinimalPrices($collection->getLoadedIds());
diff --git a/app/code/core/Mage/CatalogIndex/Model/Resource/Data/Abstract.php b/app/code/core/Mage/CatalogIndex/Model/Resource/Data/Abstract.php
index 2943cac7c79..2e4dd902273 100644
--- a/app/code/core/Mage/CatalogIndex/Model/Resource/Data/Abstract.php
+++ b/app/code/core/Mage/CatalogIndex/Model/Resource/Data/Abstract.php
@@ -230,7 +230,6 @@ public function getTierPrices($products, $website)
/**
* Add attribute filter to select
*
- * @param Varien_Db_Select $select
* @param string $attributeCode
* @param string $table the main table name or alias
* @param string $field entity_id field name
diff --git a/app/code/core/Mage/CatalogIndex/Model/Resource/Indexer.php b/app/code/core/Mage/CatalogIndex/Model/Resource/Indexer.php
index 5b220f14639..bcb9c1f8e2f 100644
--- a/app/code/core/Mage/CatalogIndex/Model/Resource/Indexer.php
+++ b/app/code/core/Mage/CatalogIndex/Model/Resource/Indexer.php
@@ -562,7 +562,6 @@ protected function _insert($table, $data)
/**
* Add price columns for catalog product flat table
*
- * @param Varien_Object $object
* @return $this
*/
public function prepareCatalogProductFlatColumns(Varien_Object $object)
@@ -589,7 +588,6 @@ public function prepareCatalogProductFlatColumns(Varien_Object $object)
/**
* Add price indexes for catalog product flat table
*
- * @param Varien_Object $object
* @return $this
*/
public function prepareCatalogProductFlatIndexes(Varien_Object $object)
diff --git a/app/code/core/Mage/CatalogIndex/Model/Resource/Indexer/Abstract.php b/app/code/core/Mage/CatalogIndex/Model/Resource/Indexer/Abstract.php
index 9a783279ad6..ce13be66eaa 100644
--- a/app/code/core/Mage/CatalogIndex/Model/Resource/Indexer/Abstract.php
+++ b/app/code/core/Mage/CatalogIndex/Model/Resource/Indexer/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogIndex
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -56,7 +56,6 @@ public function saveIndex($data, $storeId, $productId)
}
/**
- * @param array $data
* @param int $storeId
* @param int $productId
*/
diff --git a/app/code/core/Mage/CatalogInventory/Block/Adminhtml/Form/Field/Minsaleqty.php b/app/code/core/Mage/CatalogInventory/Block/Adminhtml/Form/Field/Minsaleqty.php
index e597d47e4c4..71fc346b449 100644
--- a/app/code/core/Mage/CatalogInventory/Block/Adminhtml/Form/Field/Minsaleqty.php
+++ b/app/code/core/Mage/CatalogInventory/Block/Adminhtml/Form/Field/Minsaleqty.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogInventory
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -64,8 +64,6 @@ protected function _prepareToRender()
/**
* Prepare existing row data object
- *
- * @param Varien_Object $row
*/
protected function _prepareArrayRow(Varien_Object $row)
{
diff --git a/app/code/core/Mage/CatalogInventory/Helper/Minsaleqty.php b/app/code/core/Mage/CatalogInventory/Helper/Minsaleqty.php
index e24613dc55b..fc6c66a21fc 100644
--- a/app/code/core/Mage/CatalogInventory/Helper/Minsaleqty.php
+++ b/app/code/core/Mage/CatalogInventory/Helper/Minsaleqty.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogInventory
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -107,7 +107,6 @@ protected function _isEncodedArrayFieldValue($value)
/**
* Encode value to be used in Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract
*
- * @param array $value
* @return array
*/
protected function _encodeArrayFieldValue(array $value)
@@ -126,7 +125,6 @@ protected function _encodeArrayFieldValue(array $value)
/**
* Decode value from used in Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract
*
- * @param array $value
* @return array
*/
protected function _decodeArrayFieldValue(array $value)
diff --git a/app/code/core/Mage/CatalogInventory/Model/Api2/Stock/Item/Rest.php b/app/code/core/Mage/CatalogInventory/Model/Api2/Stock/Item/Rest.php
index 2cc7bbe01ef..78beb084b94 100644
--- a/app/code/core/Mage/CatalogInventory/Model/Api2/Stock/Item/Rest.php
+++ b/app/code/core/Mage/CatalogInventory/Model/Api2/Stock/Item/Rest.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogInventory
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -60,7 +60,6 @@ protected function _getCollectionForRetrieve()
/**
* Update specified stock item
*
- * @param array $data
* @throws Mage_Api2_Exception
*/
protected function _update(array $data)
@@ -92,8 +91,6 @@ protected function _update(array $data)
/**
* Update specified stock items
- *
- * @param array $data
*/
protected function _multiUpdate(array $data)
{
diff --git a/app/code/core/Mage/CatalogInventory/Model/Api2/Stock/Item/Validator/Item.php b/app/code/core/Mage/CatalogInventory/Model/Api2/Stock/Item/Validator/Item.php
index bb2aab23216..d02015af9ea 100644
--- a/app/code/core/Mage/CatalogInventory/Model/Api2/Stock/Item/Validator/Item.php
+++ b/app/code/core/Mage/CatalogInventory/Model/Api2/Stock/Item/Validator/Item.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogInventory
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -27,7 +27,6 @@ class Mage_CatalogInventory_Model_Api2_Stock_Item_Validator_Item extends Mage_Ap
* getErrors() will return an array of errors that explain why the
* validation failed.
*
- * @param array $data
* @return bool
*/
public function isValidSingleItemDataForMultiUpdate(array $data)
diff --git a/app/code/core/Mage/CatalogInventory/Model/Indexer/Stock.php b/app/code/core/Mage/CatalogInventory/Model/Indexer/Stock.php
index 9985907363f..65fcfba4c50 100644
--- a/app/code/core/Mage/CatalogInventory/Model/Indexer/Stock.php
+++ b/app/code/core/Mage/CatalogInventory/Model/Indexer/Stock.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogInventory
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -104,7 +104,6 @@ public function getDescription()
* Check if event can be matched by process.
* Overwrote for specific config save, store and store groups save matching
*
- * @param Mage_Index_Model_Event $event
* @return bool
*/
public function matchEvent(Mage_Index_Model_Event $event)
@@ -149,8 +148,6 @@ public function matchEvent(Mage_Index_Model_Event $event)
/**
* Register data required by process in event object
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerEvent(Mage_Index_Model_Event $event)
{
@@ -190,8 +187,6 @@ protected function _registerEvent(Mage_Index_Model_Event $event)
/**
* Register data required by catalog product processes in event object
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerCatalogProductEvent(Mage_Index_Model_Event $event)
{
@@ -215,8 +210,6 @@ protected function _registerCatalogProductEvent(Mage_Index_Model_Event $event)
/**
* Register data required by cataloginventory stock item processes in event object
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerCatalogInventoryStockItemEvent(Mage_Index_Model_Event $event)
{
@@ -230,7 +223,6 @@ protected function _registerCatalogInventoryStockItemEvent(Mage_Index_Model_Even
/**
* Register data required by stock item save process in event object
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
protected function _registerStockItemSaveEvent(Mage_Index_Model_Event $event)
@@ -260,7 +252,6 @@ protected function _registerStockItemSaveEvent(Mage_Index_Model_Event $event)
/**
* Register data required by product delete process in event object
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
protected function _registerCatalogProductDeleteEvent(Mage_Index_Model_Event $event)
@@ -279,7 +270,6 @@ protected function _registerCatalogProductDeleteEvent(Mage_Index_Model_Event $ev
/**
* Register data required by product mass action process in event object
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
protected function _registerCatalogProductMassActionEvent(Mage_Index_Model_Event $event)
@@ -316,8 +306,6 @@ protected function _registerCatalogProductMassActionEvent(Mage_Index_Model_Event
/**
* Process event
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _processEvent(Mage_Index_Model_Event $event)
{
diff --git a/app/code/core/Mage/CatalogInventory/Model/Observer.php b/app/code/core/Mage/CatalogInventory/Model/Observer.php
index 4f81339936c..2ec5cc30c7b 100644
--- a/app/code/core/Mage/CatalogInventory/Model/Observer.php
+++ b/app/code/core/Mage/CatalogInventory/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogInventory
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2017-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -603,7 +603,6 @@ protected function _getQuoteItemQtyForCheck($productId, $quoteItemId, $itemQty)
/**
* Subtract qtys of quote item products after multishipping checkout
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function checkoutAllSubmitAfter(Varien_Event_Observer $observer)
@@ -623,7 +622,6 @@ public function checkoutAllSubmitAfter(Varien_Event_Observer $observer)
* Used before order placing to make order save/place transaction smaller
* Also called after every successful order placement to ensure subtraction of inventory
*
- * @param Varien_Event_Observer $observer
* @return Mage_CatalogInventory_Model_Observer|void
*/
public function subtractQuoteInventory(Varien_Event_Observer $observer)
@@ -860,7 +858,6 @@ public function updateItemsStockUponConfigChange($observer)
/**
* Update Only product status observer
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function productStatusUpdate(Varien_Event_Observer $observer)
@@ -874,7 +871,6 @@ public function productStatusUpdate(Varien_Event_Observer $observer)
/**
* Catalog Product website update
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductWebsiteUpdate(Varien_Event_Observer $observer)
@@ -895,7 +891,6 @@ public function catalogProductWebsiteUpdate(Varien_Event_Observer $observer)
/**
* Add stock status to prepare index select
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function addStockStatusToPrepareIndexSelect(Varien_Event_Observer $observer)
@@ -912,7 +907,6 @@ public function addStockStatusToPrepareIndexSelect(Varien_Event_Observer $observ
/**
* Add stock status limitation to catalog product price index select object
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function prepareCatalogProductIndexSelect(Varien_Event_Observer $observer)
@@ -930,7 +924,6 @@ public function prepareCatalogProductIndexSelect(Varien_Event_Observer $observer
/**
* Add stock status filter to select
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function addStockStatusFilterToSelect(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/CatalogInventory/Model/Resource/Indexer/Stock.php b/app/code/core/Mage/CatalogInventory/Model/Resource/Indexer/Stock.php
index fe4fe2ddafd..127c4f44a2e 100644
--- a/app/code/core/Mage/CatalogInventory/Model/Resource/Indexer/Stock.php
+++ b/app/code/core/Mage/CatalogInventory/Model/Resource/Indexer/Stock.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogInventory
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2017-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -44,7 +44,6 @@ protected function _construct()
/**
* Process stock item save action
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function cataloginventoryStockItemSave(Mage_Index_Model_Event $event)
@@ -110,7 +109,6 @@ public function reindexProducts($productIds)
/**
* Processing parent products after child product deleted
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function catalogProductDelete(Mage_Index_Model_Event $event)
@@ -144,7 +142,6 @@ public function catalogProductDelete(Mage_Index_Model_Event $event)
/**
* Process product mass update action
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function catalogProductMassAction(Mage_Index_Model_Event $event)
diff --git a/app/code/core/Mage/CatalogInventory/Model/Resource/Stock.php b/app/code/core/Mage/CatalogInventory/Model/Resource/Stock.php
index 95ccc8fcb79..7f743cde86a 100644
--- a/app/code/core/Mage/CatalogInventory/Model/Resource/Stock.php
+++ b/app/code/core/Mage/CatalogInventory/Model/Resource/Stock.php
@@ -335,7 +335,6 @@ public function updateLowStockDate()
/**
* Add low stock filter to product collection
*
- * @param Mage_Catalog_Model_Resource_Product_Collection $collection
* @param array $fields
* @return $this
*/
diff --git a/app/code/core/Mage/CatalogInventory/Model/Resource/Stock/Item.php b/app/code/core/Mage/CatalogInventory/Model/Resource/Stock/Item.php
index 761f87caefb..ee8878750f3 100644
--- a/app/code/core/Mage/CatalogInventory/Model/Resource/Stock/Item.php
+++ b/app/code/core/Mage/CatalogInventory/Model/Resource/Stock/Item.php
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Loading stock item data by product
*
- * @param Mage_CatalogInventory_Model_Stock_Item $item
* @param int $productId
* @return $this
*/
diff --git a/app/code/core/Mage/CatalogInventory/Model/Resource/Stock/Status.php b/app/code/core/Mage/CatalogInventory/Model/Resource/Stock/Status.php
index 625f9c1a5c9..d3d790428b6 100644
--- a/app/code/core/Mage/CatalogInventory/Model/Resource/Stock/Status.php
+++ b/app/code/core/Mage/CatalogInventory/Model/Resource/Stock/Status.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogInventory
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Save Product Status per website
*
- * @param Mage_CatalogInventory_Model_Stock_Status $object
* @param int $productId
* @param int $status
* @param int|float $qty
@@ -190,8 +189,6 @@ public function getProductCollection($lastEntityId = 0, $limit = 1000)
/**
* Add stock status to prepare index select
*
- * @param Varien_Db_Select $select
- * @param Mage_Core_Model_Website $website
* @return $this
*/
public function addStockStatusToSelect(Varien_Db_Select $select, Mage_Core_Model_Website $website)
@@ -209,7 +206,6 @@ public function addStockStatusToSelect(Varien_Db_Select $select, Mage_Core_Model
/**
* Add stock status limitation to catalog product price index select object
*
- * @param Varien_Db_Select $select
* @param string|Zend_Db_Expr $entityField
* @param string|Zend_Db_Expr $websiteField
* @return $this
diff --git a/app/code/core/Mage/CatalogInventory/Model/Stock.php b/app/code/core/Mage/CatalogInventory/Model/Stock.php
index 449506fd087..18a9c6bc09b 100644
--- a/app/code/core/Mage/CatalogInventory/Model/Stock.php
+++ b/app/code/core/Mage/CatalogInventory/Model/Stock.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogInventory
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2017-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -163,7 +163,6 @@ public function revertProductsSale($items)
/**
* Subtract ordered qty for product
*
- * @param Varien_Object $item
* @return Mage_CatalogInventory_Model_Stock
*/
public function registerItemSale(Varien_Object $item)
diff --git a/app/code/core/Mage/CatalogInventory/Model/Stock/Item.php b/app/code/core/Mage/CatalogInventory/Model/Stock/Item.php
index cae78152fd6..0b3e2a52c06 100644
--- a/app/code/core/Mage/CatalogInventory/Model/Stock/Item.php
+++ b/app/code/core/Mage/CatalogInventory/Model/Stock/Item.php
@@ -267,7 +267,6 @@ public function getStoreId()
/**
* Adding stock data to product
*
- * @param Mage_Catalog_Model_Product $product
* @return $this
*/
public function assignProduct(Mage_Catalog_Model_Product $product)
@@ -721,7 +720,6 @@ public function addCatalogInventoryToProductCollection($productCollection)
/**
* Add error to Quote Item
*
- * @param Mage_Sales_Model_Quote_Item $item
* @param string $itemError
* @param string $quoteError
* @param string $errorIndex
diff --git a/app/code/core/Mage/CatalogInventory/Model/Stock/Status.php b/app/code/core/Mage/CatalogInventory/Model/Stock/Status.php
index 61bc6b67114..9e02252c34f 100644
--- a/app/code/core/Mage/CatalogInventory/Model/Stock/Status.php
+++ b/app/code/core/Mage/CatalogInventory/Model/Stock/Status.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogInventory
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -158,7 +158,6 @@ public function getProductStatusEnabled()
/**
* Change Stock Item status process
*
- * @param Mage_CatalogInventory_Model_Stock_Item $item
* @return $this
*/
public function changeItemStatus(Mage_CatalogInventory_Model_Stock_Item $item)
@@ -180,7 +179,6 @@ public function changeItemStatus(Mage_CatalogInventory_Model_Stock_Item $item)
/**
* Assign Stock Status to Product
*
- * @param Mage_Catalog_Model_Product $product
* @param int $stockId
* @param int $stockStatus
* @return $this
@@ -481,8 +479,6 @@ public function addStockStatusToProducts($productCollection, $websiteId = null,
/**
* Add stock status to prepare index select
*
- * @param Varien_Db_Select $select
- * @param Mage_Core_Model_Website $website
* @return $this
*/
public function addStockStatusToSelect(Varien_Db_Select $select, Mage_Core_Model_Website $website)
@@ -494,7 +490,6 @@ public function addStockStatusToSelect(Varien_Db_Select $select, Mage_Core_Model
/**
* Add stock status limitation to catalog product price index select object
*
- * @param Varien_Db_Select $select
* @param string|Zend_Db_Expr $entityField
* @param string|Zend_Db_Expr $websiteField
* @return $this
diff --git a/app/code/core/Mage/CatalogRule/Model/Action/Index/Refresh.php b/app/code/core/Mage/CatalogRule/Model/Action/Index/Refresh.php
index b45dcaabe2c..de244f6c8a6 100644
--- a/app/code/core/Mage/CatalogRule/Model/Action/Index/Refresh.php
+++ b/app/code/core/Mage/CatalogRule/Model/Action/Index/Refresh.php
@@ -56,8 +56,6 @@ class Mage_CatalogRule_Model_Action_Index_Refresh
* - 'factory' Mage_Core_Model_Factory
* - 'resource' Mage_Core_Model_Resource_Db_Abstract
* - 'app' Mage_Core_Model_App
- *
- * @param array $args
*/
public function __construct(array $args)
{
@@ -69,8 +67,6 @@ public function __construct(array $args)
/**
* Set connection
- *
- * @param Varien_Db_Adapter_Interface $connection
*/
protected function _setConnection(Varien_Db_Adapter_Interface $connection)
{
@@ -79,8 +75,6 @@ protected function _setConnection(Varien_Db_Adapter_Interface $connection)
/**
* Set factory
- *
- * @param Mage_Core_Model_Factory $factory
*/
protected function _setFactory(Mage_Core_Model_Factory $factory)
{
@@ -89,8 +83,6 @@ protected function _setFactory(Mage_Core_Model_Factory $factory)
/**
* Set resource
- *
- * @param Mage_Core_Model_Resource_Db_Abstract $resource
*/
protected function _setResource(Mage_Core_Model_Resource_Db_Abstract $resource)
{
@@ -253,7 +245,6 @@ protected function _createTemporaryTable()
/**
* Prepare temporary data
*
- * @param Mage_Core_Model_Website $website
* @return Varien_Db_Select
*/
protected function _prepareTemporarySelect(Mage_Core_Model_Website $website)
@@ -455,7 +446,6 @@ protected function _calculatePrice()
/**
* Prepare index select
*
- * @param Mage_Core_Model_Website $website
* @param int|Zend_Db_Expr $time
* @return Varien_Db_Select
*/
@@ -553,8 +543,6 @@ protected function _prepareIndexSelect(Mage_Core_Model_Website $website, $time)
/**
* Remove old index data
- *
- * @param Mage_Core_Model_Website $website
*/
protected function _removeOldIndexData(Mage_Core_Model_Website $website)
{
@@ -567,7 +555,6 @@ protected function _removeOldIndexData(Mage_Core_Model_Website $website)
/**
* Fill Index Data
*
- * @param Mage_Core_Model_Website $website
* @param int $time
*/
protected function _fillIndexData(Mage_Core_Model_Website $website, $time)
@@ -585,7 +572,6 @@ protected function _fillIndexData(Mage_Core_Model_Website $website, $time)
/**
* Reindex catalog prices by website for timestamp
*
- * @param Mage_Core_Model_Website $website
* @param int $timestamp
*/
protected function _reindex(Mage_Core_Model_Website $website, $timestamp)
diff --git a/app/code/core/Mage/CatalogRule/Model/Action/Index/Refresh/Row.php b/app/code/core/Mage/CatalogRule/Model/Action/Index/Refresh/Row.php
index 62014f63999..1b6bcaad61e 100644
--- a/app/code/core/Mage/CatalogRule/Model/Action/Index/Refresh/Row.php
+++ b/app/code/core/Mage/CatalogRule/Model/Action/Index/Refresh/Row.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -36,8 +36,6 @@ class Mage_CatalogRule_Model_Action_Index_Refresh_Row extends Mage_CatalogRule_M
* - 'resource' Mage_Core_Model_Resource_Db_Abstract
* - 'app' Mage_Core_Model_App
* - 'value' int|Mage_Catalog_Model_Product
- *
- * @param array $args
*/
public function __construct(array $args)
{
@@ -58,7 +56,6 @@ protected function _prepareGroupWebsite($timestamp)
/**
* Prepare temporary data
*
- * @param Mage_Core_Model_Website $website
* @return Varien_Db_Select
*/
protected function _prepareTemporarySelect(Mage_Core_Model_Website $website)
@@ -69,8 +66,6 @@ protected function _prepareTemporarySelect(Mage_Core_Model_Website $website)
/**
* Remove old index data
- *
- * @param Mage_Core_Model_Website $website
*/
protected function _removeOldIndexData(Mage_Core_Model_Website $website)
{
diff --git a/app/code/core/Mage/CatalogRule/Model/Observer.php b/app/code/core/Mage/CatalogRule/Model/Observer.php
index bdcfa10c6b3..3ab25d6e141 100644
--- a/app/code/core/Mage/CatalogRule/Model/Observer.php
+++ b/app/code/core/Mage/CatalogRule/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -96,7 +96,6 @@ public function applyAllRules($observer)
/**
* Preload all price rules for all items in quote
*
- * @param Varien_Event_Observer $observer
*
* @return $this
*/
@@ -221,7 +220,6 @@ public function processAdminFinalPrice($observer)
/**
* Calculate price using catalog price rules of configurable product
*
- * @param Varien_Event_Observer $observer
*
* @return $this
*/
@@ -272,7 +270,6 @@ public function flushPriceCache()
/**
* Calculate minimal final price with catalog rule price
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function prepareCatalogProductPriceIndexTable(Varien_Event_Observer $observer)
@@ -361,7 +358,6 @@ protected function _removeAttributeFromConditions($combine, $attributeCode)
/**
* After save attribute if it is not used for promo rules already check rules for containing this attribute
*
- * @param Varien_Event_Observer $observer
*
* @return $this
*/
@@ -379,7 +375,6 @@ public function catalogAttributeSaveAfter(Varien_Event_Observer $observer)
/**
* After delete attribute check rules that contains deleted attribute
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogAttributeDeleteAfter(Varien_Event_Observer $observer)
@@ -394,7 +389,6 @@ public function catalogAttributeDeleteAfter(Varien_Event_Observer $observer)
}
/**
- * @param Varien_Event_Observer $observer
* @return $this
* @throws Mage_Core_Model_Store_Exception
*/
@@ -444,8 +438,6 @@ public function prepareCatalogProductCollectionPrices(Varien_Event_Observer $obs
/**
* Create catalog rule relations for imported products
- *
- * @param Varien_Event_Observer $observer
*/
public function createCatalogRulesRelations(Varien_Event_Observer $observer)
{
@@ -469,8 +461,6 @@ public function createCatalogRulesRelations(Varien_Event_Observer $observer)
/**
* Runs Catalog Product Price Reindex
- *
- * @param Varien_Event_Observer $observer
*/
public function runCatalogProductPriceReindex(Varien_Event_Observer $observer)
{
diff --git a/app/code/core/Mage/CatalogRule/Model/Resource/Rule.php b/app/code/core/Mage/CatalogRule/Model/Resource/Rule.php
index 4d734d40210..7d7c46830ba 100644
--- a/app/code/core/Mage/CatalogRule/Model/Resource/Rule.php
+++ b/app/code/core/Mage/CatalogRule/Model/Resource/Rule.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2017-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -67,8 +67,6 @@ class Mage_CatalogRule_Model_Resource_Rule extends Mage_Rule_Model_Resource_Abst
* Constructor with parameters
* Array of arguments with keys
* - 'factory' Mage_Core_Model_Factory
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
@@ -89,7 +87,6 @@ protected function _construct()
/**
* Add customer group ids and website ids to rule data after load
*
- * @param Mage_Core_Model_Abstract $object
*
* @inheritDoc
*/
@@ -105,7 +102,6 @@ protected function _afterLoad(Mage_Core_Model_Abstract $object)
* Bind catalog rule to customer group(s) and website(s).
* Update products which are matched for rule.
*
- * @param Mage_Core_Model_Abstract $object
*
* @return $this
*/
@@ -135,7 +131,6 @@ protected function _afterSave(Mage_Core_Model_Abstract $object)
* Deletes records in catalogrule/product_data by rule ID and product IDs
*
* @param int $ruleId
- * @param array $productIds
*/
public function cleanProductData($ruleId, array $productIds = [])
{
@@ -154,8 +149,6 @@ public function cleanProductData($ruleId, array $productIds = [])
/**
* Return whether the product fits the rule
*
- * @param Mage_CatalogRule_Model_Rule $rule
- * @param Varien_Object $product
* @param array $websiteIds
* @return bool
*/
@@ -182,10 +175,6 @@ public function validateProduct(Mage_CatalogRule_Model_Rule $rule, Varien_Object
/**
* Inserts rule data into catalogrule/rule_product table
- *
- * @param Mage_CatalogRule_Model_Rule $rule
- * @param array $websiteIds
- * @param array $productIds
*/
public function insertRuleData(Mage_CatalogRule_Model_Rule $rule, array $websiteIds, array $productIds = [])
{
@@ -314,7 +303,6 @@ public function insertRuleData(Mage_CatalogRule_Model_Rule $rule, array $website
/**
* Update products which are matched for rule
*
- * @param Mage_CatalogRule_Model_Rule $rule
*
* @throws Exception
* @return $this
diff --git a/app/code/core/Mage/CatalogRule/Model/Resource/Rule/Product/Price.php b/app/code/core/Mage/CatalogRule/Model/Resource/Rule/Product/Price.php
index a81cf39c7d6..8afa2eefed8 100644
--- a/app/code/core/Mage/CatalogRule/Model/Resource/Rule/Product/Price.php
+++ b/app/code/core/Mage/CatalogRule/Model/Resource/Rule/Product/Price.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Apply price rule price to price index table
*
- * @param Varien_Db_Select $select
* @param array|string $indexTable
* @param string $entityId
* @param string $customerGroupId
diff --git a/app/code/core/Mage/CatalogRule/Model/Rule.php b/app/code/core/Mage/CatalogRule/Model/Rule.php
index 053c08db9bf..7ca7d9bb2ce 100644
--- a/app/code/core/Mage/CatalogRule/Model/Rule.php
+++ b/app/code/core/Mage/CatalogRule/Model/Rule.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -125,8 +125,6 @@ class Mage_CatalogRule_Model_Rule extends Mage_Rule_Model_Abstract
* - 'factory' Mage_Core_Model_Factory
* - 'config' Mage_Core_Model_Config
* - 'app' Mage_Core_Model_App
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
@@ -348,7 +346,6 @@ public function applyAllRulesToProduct($product)
/**
* Calculate price using catalog price rule of product
*
- * @param Mage_Catalog_Model_Product $product
* @param float $price
* @return float|null
*/
@@ -475,7 +472,6 @@ public function toArray(array $arrAttributes = [])
/**
* Load matched product rules to the product
*
- * @param Mage_Catalog_Model_Product $product
* @return $this
*/
public function loadProductRules(Mage_Catalog_Model_Product $product)
diff --git a/app/code/core/Mage/CatalogRule/Model/Rule/Condition/Product.php b/app/code/core/Mage/CatalogRule/Model/Rule/Condition/Product.php
index 5221799f144..05d228ff38c 100644
--- a/app/code/core/Mage/CatalogRule/Model/Rule/Condition/Product.php
+++ b/app/code/core/Mage/CatalogRule/Model/Rule/Condition/Product.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2021-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2021-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_CatalogRule_Model_Rule_Condition_Product extends Mage_Rule_Model_Cond
/**
* Validate product attribute value for condition
*
- * @param Varien_Object $object
* @return bool
*/
public function validate(Varien_Object $object)
diff --git a/app/code/core/Mage/CatalogRule/Model/Rule/Product/Price.php b/app/code/core/Mage/CatalogRule/Model/Rule/Product/Price.php
index a3852c08e4f..01098165bef 100644
--- a/app/code/core/Mage/CatalogRule/Model/Rule/Product/Price.php
+++ b/app/code/core/Mage/CatalogRule/Model/Rule/Product/Price.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -46,7 +46,6 @@ protected function _construct()
/**
* Apply price rule price to price index table
*
- * @param Varien_Db_Select $select
* @param array|string $indexTable
* @param string $entityId
* @param string $customerGroupId
diff --git a/app/code/core/Mage/CatalogSearch/Helper/Data.php b/app/code/core/Mage/CatalogSearch/Helper/Data.php
index df69af30c39..029c0f9da35 100644
--- a/app/code/core/Mage/CatalogSearch/Helper/Data.php
+++ b/app/code/core/Mage/CatalogSearch/Helper/Data.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogSearch
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -257,7 +257,6 @@ public function addNoteMessage($message)
/**
* Set Note messages
*
- * @param array $messages
* @return $this
*/
public function setNoteMessages(array $messages)
diff --git a/app/code/core/Mage/CatalogSearch/Model/Fulltext/Observer.php b/app/code/core/Mage/CatalogSearch/Model/Fulltext/Observer.php
index 53829557cea..69908b00ded 100644
--- a/app/code/core/Mage/CatalogSearch/Model/Fulltext/Observer.php
+++ b/app/code/core/Mage/CatalogSearch/Model/Fulltext/Observer.php
@@ -34,7 +34,6 @@ protected function _getFulltextModel()
/**
* Update product index when product data updated
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function refreshProductIndex(Varien_Event_Observer $observer)
@@ -52,7 +51,6 @@ public function refreshProductIndex(Varien_Event_Observer $observer)
/**
* Clean product index when product deleted or marked as unsearchable/invisible
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function cleanProductIndex(Varien_Event_Observer $observer)
@@ -70,7 +68,6 @@ public function cleanProductIndex(Varien_Event_Observer $observer)
/**
* Update all attribute-dependent index
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function eavAttributeChange(Varien_Event_Observer $observer)
@@ -123,7 +120,6 @@ public function refreshIndexAfterImport()
/**
* Refresh fulltext index when we add new store
*
- * @param Varien_Event_Observer $observer
* @return Mage_CatalogSearch_Model_Fulltext_Observer
*/
public function refreshStoreIndex(Varien_Event_Observer $observer)
@@ -136,7 +132,6 @@ public function refreshStoreIndex(Varien_Event_Observer $observer)
/**
* Catalog Product mass website update
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductWebsiteUpdate(Varien_Event_Observer $observer)
@@ -165,7 +160,6 @@ public function catalogProductWebsiteUpdate(Varien_Event_Observer $observer)
/**
* Store delete processing
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function cleanStoreIndex(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/CatalogSearch/Model/Indexer/Fulltext.php b/app/code/core/Mage/CatalogSearch/Model/Indexer/Fulltext.php
index 7b39be94926..6667a51f9b3 100644
--- a/app/code/core/Mage/CatalogSearch/Model/Indexer/Fulltext.php
+++ b/app/code/core/Mage/CatalogSearch/Model/Indexer/Fulltext.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogSearch
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -120,7 +120,6 @@ public function getDescription()
* Overwrote for check is flat catalog product is enabled and specific save
* attribute, store, store_group
*
- * @param Mage_Index_Model_Event $event
* @return bool
*/
public function matchEvent(Mage_Index_Model_Event $event)
@@ -182,8 +181,6 @@ public function matchEvent(Mage_Index_Model_Event $event)
/**
* Register data required by process in event object
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerEvent(Mage_Index_Model_Event $event)
{
@@ -214,7 +211,6 @@ protected function _registerEvent(Mage_Index_Model_Event $event)
/**
* Get data required for category'es products reindex
*
- * @param Mage_Index_Model_Event $event
* @return Mage_CatalogSearch_Model_Indexer_Fulltext
*/
protected function _registerCatalogCategoryEvent(Mage_Index_Model_Event $event)
@@ -243,7 +239,6 @@ protected function _registerCatalogCategoryEvent(Mage_Index_Model_Event $event)
/**
* Register data required by catatalog product process in event object
*
- * @param Mage_Index_Model_Event $event
* @return Mage_CatalogSearch_Model_Indexer_Fulltext
*/
protected function _registerCatalogProductEvent(Mage_Index_Model_Event $event)
@@ -345,8 +340,6 @@ protected function _isProductComposite($productId)
/**
* Process event
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _processEvent(Mage_Index_Model_Event $event)
{
diff --git a/app/code/core/Mage/CatalogSearch/Model/Layer.php b/app/code/core/Mage/CatalogSearch/Model/Layer.php
index ad9708f4603..65ebf82fc7d 100644
--- a/app/code/core/Mage/CatalogSearch/Model/Layer.php
+++ b/app/code/core/Mage/CatalogSearch/Model/Layer.php
@@ -76,7 +76,6 @@ public function getStateKey()
/**
* Get default tags for current layer state
*
- * @param array $additionalTags
* @return array
*/
public function getStateTags(array $additionalTags = [])
diff --git a/app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php b/app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php
index f5e1cceb4b6..7408ff2dcc9 100644
--- a/app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php
+++ b/app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php
@@ -224,7 +224,6 @@ protected function _rebuildStoreIndex($storeId, $productIds = null)
* Retrieve searchable products per store
*
* @param int $storeId
- * @param array $staticFields
* @param array|int $productIds
* @param int $lastProductId
* @param int $limit
@@ -502,8 +501,6 @@ protected function _unifyField($field, $backendType = 'varchar')
* Load product(s) attributes
*
* @param int $storeId
- * @param array $productIds
- * @param array $attributeTypes
* @return array
*/
protected function _getProductAttributes($storeId, array $productIds, array $attributeTypes)
diff --git a/app/code/core/Mage/CatalogSearch/Model/Resource/Helper/Mysql4.php b/app/code/core/Mage/CatalogSearch/Model/Resource/Helper/Mysql4.php
index bbcf7fb2c6c..ca24183ab55 100644
--- a/app/code/core/Mage/CatalogSearch/Model/Resource/Helper/Mysql4.php
+++ b/app/code/core/Mage/CatalogSearch/Model/Resource/Helper/Mysql4.php
@@ -112,7 +112,6 @@ public function insertOnDuplicate($table, array $data, array $fields = [])
* Get field expression for order by
*
* @param string $fieldName
- * @param array $orderedIds
*
* @return string
*/
diff --git a/app/code/core/Mage/CatalogSearch/Model/Resource/Query.php b/app/code/core/Mage/CatalogSearch/Model/Resource/Query.php
index c41d3ddab21..3f9dbf5e69b 100644
--- a/app/code/core/Mage/CatalogSearch/Model/Resource/Query.php
+++ b/app/code/core/Mage/CatalogSearch/Model/Resource/Query.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CatalogSearch
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -33,7 +33,6 @@ protected function _construct()
/**
* Custom load model by search query string
*
- * @param Mage_Core_Model_Abstract $object
* @param string $value
* @return $this
*/
@@ -68,7 +67,6 @@ public function loadByQuery(Mage_Core_Model_Abstract $object, $value)
/**
* Custom load model only by query text (skip synonym for)
*
- * @param Mage_Core_Model_Abstract $object
* @param string $value
* @return $this
*/
@@ -104,7 +102,6 @@ public function load(Mage_Core_Model_Abstract $object, $value, $field = null)
}
/**
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
public function _beforeSave(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Checkout/Block/Cart/Abstract.php b/app/code/core/Mage/Checkout/Block/Cart/Abstract.php
index 21a8b999421..bfc36d291dd 100644
--- a/app/code/core/Mage/Checkout/Block/Cart/Abstract.php
+++ b/app/code/core/Mage/Checkout/Block/Cart/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Checkout
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -149,7 +149,6 @@ public function getItems()
/**
* Get item row html
*
- * @param Mage_Sales_Model_Quote_Item $item
* @return string
*/
public function getItemHtml(Mage_Sales_Model_Quote_Item $item)
diff --git a/app/code/core/Mage/Checkout/Block/Cart/Item/Renderer.php b/app/code/core/Mage/Checkout/Block/Cart/Item/Renderer.php
index 6be51c7ce34..61d9795c8ac 100644
--- a/app/code/core/Mage/Checkout/Block/Cart/Item/Renderer.php
+++ b/app/code/core/Mage/Checkout/Block/Cart/Item/Renderer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Checkout
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -50,7 +50,6 @@ class Mage_Checkout_Block_Cart_Item_Renderer extends Mage_Core_Block_Template
/**
* Set item for render
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
* @return $this
*/
public function setItem(Mage_Sales_Model_Quote_Item_Abstract $item)
diff --git a/app/code/core/Mage/Checkout/Block/Multishipping/Overview.php b/app/code/core/Mage/Checkout/Block/Multishipping/Overview.php
index 5c8f1201cd4..24fcb0b6f89 100644
--- a/app/code/core/Mage/Checkout/Block/Multishipping/Overview.php
+++ b/app/code/core/Mage/Checkout/Block/Multishipping/Overview.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Checkout
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -327,7 +327,6 @@ public function addRowItemRender($type, $block, $template)
/**
* Return row-level item html
*
- * @param Varien_Object $item
* @return string
*/
public function getRowItemHtml(Varien_Object $item)
diff --git a/app/code/core/Mage/Checkout/Block/Onepage/Payment/Methods.php b/app/code/core/Mage/Checkout/Block/Onepage/Payment/Methods.php
index 7cb8ec3e184..ddb7cc9f592 100644
--- a/app/code/core/Mage/Checkout/Block/Onepage/Payment/Methods.php
+++ b/app/code/core/Mage/Checkout/Block/Onepage/Payment/Methods.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Checkout
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -55,7 +55,6 @@ public function getSelectedMethodCode()
/**
* Payment method form html getter
- * @param Mage_Payment_Model_Method_Abstract $method
* @return string
*/
public function getPaymentMethodFormHtml(Mage_Payment_Model_Method_Abstract $method)
@@ -66,7 +65,6 @@ public function getPaymentMethodFormHtml(Mage_Payment_Model_Method_Abstract $met
/**
* Return method title for payment selection page
*
- * @param Mage_Payment_Model_Method_Abstract $method
* @return string
*/
public function getMethodTitle(Mage_Payment_Model_Method_Abstract $method)
@@ -80,7 +78,6 @@ public function getMethodTitle(Mage_Payment_Model_Method_Abstract $method)
/**
* Payment method additional label part getter
- * @param Mage_Payment_Model_Method_Abstract $method
* @return string
*/
public function getMethodLabelAfterHtml(Mage_Payment_Model_Method_Abstract $method)
diff --git a/app/code/core/Mage/Checkout/Block/Onepage/Success.php b/app/code/core/Mage/Checkout/Block/Onepage/Success.php
index 2b007bb2ee7..5dba4fffd0c 100644
--- a/app/code/core/Mage/Checkout/Block/Onepage/Success.php
+++ b/app/code/core/Mage/Checkout/Block/Onepage/Success.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Checkout
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -68,7 +68,6 @@ public function isOrderVisible()
/**
* Getter for recurring profile view page
*
- * @param Varien_Object|Mage_Sales_Model_Recurring_Profile $profile
* @return string
*/
public function getProfileUrl(Varien_Object $profile)
diff --git a/app/code/core/Mage/Checkout/Block/Total/Nominal.php b/app/code/core/Mage/Checkout/Block/Total/Nominal.php
index a9bc5c5105b..1343e329f92 100644
--- a/app/code/core/Mage/Checkout/Block/Total/Nominal.php
+++ b/app/code/core/Mage/Checkout/Block/Total/Nominal.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Checkout
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -32,7 +32,6 @@ class Mage_Checkout_Block_Total_Nominal extends Mage_Checkout_Block_Total_Defaul
/**
* Getter for a quote item name
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $quoteItem
* @return string
*/
public function getItemName(Mage_Sales_Model_Quote_Item_Abstract $quoteItem)
@@ -43,7 +42,6 @@ public function getItemName(Mage_Sales_Model_Quote_Item_Abstract $quoteItem)
/**
* Getter for a quote item row total
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $quoteItem
* @return float
*/
public function getItemRowTotal(Mage_Sales_Model_Quote_Item_Abstract $quoteItem)
@@ -54,7 +52,6 @@ public function getItemRowTotal(Mage_Sales_Model_Quote_Item_Abstract $quoteItem)
/**
* Getter for nominal total item details
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $quoteItem
* @return array
*/
public function getTotalItemDetails(Mage_Sales_Model_Quote_Item_Abstract $quoteItem)
@@ -65,7 +62,6 @@ public function getTotalItemDetails(Mage_Sales_Model_Quote_Item_Abstract $quoteI
/**
* Getter for details row label
*
- * @param Varien_Object $row
* @return string
*/
public function getItemDetailsRowLabel(Varien_Object $row)
@@ -76,7 +72,6 @@ public function getItemDetailsRowLabel(Varien_Object $row)
/**
* Getter for details row amount
*
- * @param Varien_Object $row
* @return string
*/
public function getItemDetailsRowAmount(Varien_Object $row)
@@ -87,7 +82,6 @@ public function getItemDetailsRowAmount(Varien_Object $row)
/**
* Getter for details row compounded state
*
- * @param Varien_Object $row
* @return bool
*/
public function getItemDetailsRowIsCompounded(Varien_Object $row)
diff --git a/app/code/core/Mage/Checkout/Helper/Data.php b/app/code/core/Mage/Checkout/Helper/Data.php
index ad96584f0e1..a8d3f212a83 100644
--- a/app/code/core/Mage/Checkout/Helper/Data.php
+++ b/app/code/core/Mage/Checkout/Helper/Data.php
@@ -298,7 +298,6 @@ public function isMultishippingCheckoutAvailable()
* Check is allowed Guest Checkout
* Use config settings and observer
*
- * @param Mage_Sales_Model_Quote $quote
* @param int|Mage_Core_Model_Store $store
* @return bool
*/
diff --git a/app/code/core/Mage/Checkout/Model/Api/Resource.php b/app/code/core/Mage/Checkout/Model/Api/Resource.php
index 43e0683cbf5..b42ba5a8513 100644
--- a/app/code/core/Mage/Checkout/Model/Api/Resource.php
+++ b/app/code/core/Mage/Checkout/Model/Api/Resource.php
@@ -141,7 +141,6 @@ protected function _getStoreIdFromQuote($quoteId)
* @param array $data
* @param Mage_Core_Model_Abstract $object
* @param string $type
- * @param array|null $attributes
* @return $this
*/
protected function _updateAttributes($data, $object, $type, ?array $attributes = null)
@@ -160,7 +159,6 @@ protected function _updateAttributes($data, $object, $type, ?array $attributes =
*
* @param Mage_Core_Model_Abstract $object
* @param string $type
- * @param array|null $attributes
* @return array
*/
protected function _getAttributes($object, $type, ?array $attributes = null)
@@ -199,7 +197,6 @@ protected function _getAttributes($object, $type, ?array $attributes = null)
*
* @param string $attributeCode
* @param string $type
- * @param array|null $attributes
* @return bool
*/
protected function _isAllowedAttribute($attributeCode, $type, ?array $attributes = null)
diff --git a/app/code/core/Mage/Checkout/Model/Api/Resource/Customer.php b/app/code/core/Mage/Checkout/Model/Api/Resource/Customer.php
index 7fcb973f825..91b9df5466d 100644
--- a/app/code/core/Mage/Checkout/Model/Api/Resource/Customer.php
+++ b/app/code/core/Mage/Checkout/Model/Api/Resource/Customer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Checkout
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2018-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -72,7 +72,6 @@ protected function _getCustomerAddress($addressId)
}
/**
- * @param Mage_Sales_Model_Quote $quote
* @return bool
*/
public function prepareCustomerForQuote(Mage_Sales_Model_Quote $quote)
@@ -97,7 +96,6 @@ public function prepareCustomerForQuote(Mage_Sales_Model_Quote $quote)
/**
* Prepare quote for guest checkout order submit
*
- * @param Mage_Sales_Model_Quote $quote
* @return $this
*/
protected function _prepareGuestQuote(Mage_Sales_Model_Quote $quote)
@@ -112,7 +110,6 @@ protected function _prepareGuestQuote(Mage_Sales_Model_Quote $quote)
/**
* Prepare quote for customer registration and customer order submit
*
- * @param Mage_Sales_Model_Quote $quote
* @return $this
*/
protected function _prepareNewCustomerQuote(Mage_Sales_Model_Quote $quote)
@@ -148,7 +145,6 @@ protected function _prepareNewCustomerQuote(Mage_Sales_Model_Quote $quote)
/**
* Prepare quote for customer order submit
*
- * @param Mage_Sales_Model_Quote $quote
* @return $this
*/
protected function _prepareCustomerQuote(Mage_Sales_Model_Quote $quote)
@@ -186,7 +182,6 @@ protected function _prepareCustomerQuote(Mage_Sales_Model_Quote $quote)
/**
* Involve new customer to system
*
- * @param Mage_Sales_Model_Quote $quote
* @return $this
*/
public function involveNewCustomer(Mage_Sales_Model_Quote $quote)
diff --git a/app/code/core/Mage/Checkout/Model/Api/Resource/Product.php b/app/code/core/Mage/Checkout/Model/Api/Resource/Product.php
index 5b075e80468..d8b805ff7c0 100644
--- a/app/code/core/Mage/Checkout/Model/Api/Resource/Product.php
+++ b/app/code/core/Mage/Checkout/Model/Api/Resource/Product.php
@@ -71,9 +71,6 @@ protected function _getProductRequest($requestInfo)
/**
* Get QuoteItem by Product and request info
*
- * @param Mage_Sales_Model_Quote $quote
- * @param Mage_Catalog_Model_Product $product
- * @param Varien_Object $requestInfo
* @return Mage_Sales_Model_Quote_Item
* @throw Mage_Core_Exception
*/
diff --git a/app/code/core/Mage/Checkout/Model/Cart.php b/app/code/core/Mage/Checkout/Model/Cart.php
index a13da55633e..15901159e6f 100644
--- a/app/code/core/Mage/Checkout/Model/Cart.php
+++ b/app/code/core/Mage/Checkout/Model/Cart.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Checkout
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2017-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -113,7 +113,6 @@ public function getQuote()
/**
* Set quote object associated with the cart
*
- * @param Mage_Sales_Model_Quote $quote
* @return $this
*/
public function setQuote(Mage_Sales_Model_Quote $quote)
diff --git a/app/code/core/Mage/Checkout/Model/Cart/Interface.php b/app/code/core/Mage/Checkout/Model/Cart/Interface.php
index 1a1b1d9df66..da900185dc9 100644
--- a/app/code/core/Mage/Checkout/Model/Cart/Interface.php
+++ b/app/code/core/Mage/Checkout/Model/Cart/Interface.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Checkout
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -43,7 +43,6 @@ public function saveQuote();
* Associate quote with the cart
*
* @abstract
- * @param Mage_Sales_Model_Quote $quote
* @return Mage_Checkout_Model_Cart_Interface
*/
public function setQuote(Mage_Sales_Model_Quote $quote);
diff --git a/app/code/core/Mage/Checkout/Model/Observer.php b/app/code/core/Mage/Checkout/Model/Observer.php
index f2f9520930a..0ec7541b989 100644
--- a/app/code/core/Mage/Checkout/Model/Observer.php
+++ b/app/code/core/Mage/Checkout/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Checkout
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -40,9 +40,6 @@ public function loadCustomerQuote()
}
}
- /**
- * @param Varien_Event_Observer $observer
- */
public function salesQuoteSaveAfter(Varien_Event_Observer $observer)
{
$quote = $observer->getEvent()->getQuote();
diff --git a/app/code/core/Mage/Checkout/Model/Resource/Agreement.php b/app/code/core/Mage/Checkout/Model/Resource/Agreement.php
index 5f914ba9d1d..d62b2a2fa23 100644
--- a/app/code/core/Mage/Checkout/Model/Resource/Agreement.php
+++ b/app/code/core/Mage/Checkout/Model/Resource/Agreement.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Checkout
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Method to run before save
*
- * @param Mage_Core_Model_Abstract|Mage_Checkout_Model_Agreement $object
* @return Mage_Core_Model_Resource_Db_Abstract
*/
protected function _beforeSave(Mage_Core_Model_Abstract $object)
@@ -50,7 +49,6 @@ protected function _beforeSave(Mage_Core_Model_Abstract $object)
/**
* Method to run after save
*
- * @param Mage_Core_Model_Abstract $object
* @return Mage_Core_Model_Resource_Db_Abstract
*/
protected function _afterSave(Mage_Core_Model_Abstract $object)
@@ -71,7 +69,6 @@ protected function _afterSave(Mage_Core_Model_Abstract $object)
/**
* Method to run after load
*
- * @param Mage_Core_Model_Abstract $object
* @return Mage_Core_Model_Resource_Db_Abstract
*/
protected function _afterLoad(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Checkout/Model/Type/Multishipping.php b/app/code/core/Mage/Checkout/Model/Type/Multishipping.php
index e43f25c459f..fc51baf6825 100644
--- a/app/code/core/Mage/Checkout/Model/Type/Multishipping.php
+++ b/app/code/core/Mage/Checkout/Model/Type/Multishipping.php
@@ -397,7 +397,6 @@ public function setPaymentMethod($payment)
/**
* Prepare order based on quote address
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_Sales_Model_Order
* @throws Mage_Checkout_Exception
*/
diff --git a/app/code/core/Mage/Checkout/Model/Type/Onepage.php b/app/code/core/Mage/Checkout/Model/Type/Onepage.php
index 7e7701aef82..d093d4904a2 100644
--- a/app/code/core/Mage/Checkout/Model/Type/Onepage.php
+++ b/app/code/core/Mage/Checkout/Model/Type/Onepage.php
@@ -90,7 +90,6 @@ public function getQuote()
/**
* Declare checkout quote instance
*
- * @param Mage_Sales_Model_Quote $quote
* @return $this
*/
public function setQuote(Mage_Sales_Model_Quote $quote)
@@ -377,7 +376,6 @@ public function saveBilling($data, $customerAddressId)
* Validate customer data and set some its data for further usage in quote
* Will return either true or array with error messages
*
- * @param array $data
* @return true|array
*/
protected function _validateCustomerData(array $data)
@@ -455,7 +453,6 @@ protected function _validateCustomerData(array $data)
* Will return either true or array with error messages
*
* @deprecated since 1.4.0.1
- * @param Mage_Sales_Model_Quote_Address $address
* @return true|array
*/
protected function _processValidateCustomer(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Checkout/controllers/CartController.php b/app/code/core/Mage/Checkout/controllers/CartController.php
index 360e5a988db..4f0227be147 100644
--- a/app/code/core/Mage/Checkout/controllers/CartController.php
+++ b/app/code/core/Mage/Checkout/controllers/CartController.php
@@ -718,8 +718,6 @@ protected function _getCustomerSession()
/**
* Set product form data in checkout session for populating the product form
* in case of errors in add to cart process.
- *
- * @return void
*/
protected function _setProductBuyRequest(): void
{
diff --git a/app/code/core/Mage/Cms/Controller/Router.php b/app/code/core/Mage/Cms/Controller/Router.php
index 32bd3f2d531..368afa71e33 100644
--- a/app/code/core/Mage/Cms/Controller/Router.php
+++ b/app/code/core/Mage/Cms/Controller/Router.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Cms
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -37,7 +37,6 @@ public function initControllerRouters($observer)
/**
* Validate and Match Cms Page and modify request
*
- * @param Zend_Controller_Request_Http $request
* @return bool
*/
public function match(Zend_Controller_Request_Http $request)
diff --git a/app/code/core/Mage/Cms/Helper/Page.php b/app/code/core/Mage/Cms/Helper/Page.php
index 5d3004ba1c4..1513a755051 100644
--- a/app/code/core/Mage/Cms/Helper/Page.php
+++ b/app/code/core/Mage/Cms/Helper/Page.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Cms
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -28,14 +28,13 @@ class Mage_Cms_Helper_Page extends Mage_Core_Helper_Abstract
protected $_moduleName = 'Mage_Cms';
/**
- * Renders CMS page on front end
- *
- * Call from controller action
- *
- * @param Mage_Core_Controller_Front_Action $action
- * @param string $pageId
- * @return bool
- */
+ * Renders CMS page on front end
+ *
+ * Call from controller action
+ *
+ * @param string $pageId
+ * @return bool
+ */
public function renderPage(Mage_Core_Controller_Front_Action $action, $pageId = null)
{
return $this->_renderPage($action, $pageId);
@@ -44,7 +43,6 @@ public function renderPage(Mage_Core_Controller_Front_Action $action, $pageId =
/**
* Renders CMS page
*
- * @param Mage_Core_Controller_Varien_Action $action
* @param string $pageId
* @param bool $renderLayout
* @return bool
@@ -133,7 +131,6 @@ protected function _renderPage(Mage_Core_Controller_Varien_Action $action, $pag
* Allows to use also backend action as first parameter.
* Also takes third parameter which allows not run renderLayout method.
*
- * @param Mage_Core_Controller_Varien_Action $action
* @param string $pageId
* @param bool $renderLayout
* @return bool
diff --git a/app/code/core/Mage/Cms/Model/Observer.php b/app/code/core/Mage/Cms/Model/Observer.php
index ec138aa266f..4bf6de56578 100644
--- a/app/code/core/Mage/Cms/Model/Observer.php
+++ b/app/code/core/Mage/Cms/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Cms
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Cms_Model_Observer
/**
* Modify No Route Forward object
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function noRoute(Varien_Event_Observer $observer)
@@ -40,7 +39,6 @@ public function noRoute(Varien_Event_Observer $observer)
/**
* Modify no Cookies forward object
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function noCookies(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Cms/Model/Resource/Block.php b/app/code/core/Mage/Cms/Model/Resource/Block.php
index f3ca4f85938..f418a538ed5 100644
--- a/app/code/core/Mage/Cms/Model/Resource/Block.php
+++ b/app/code/core/Mage/Cms/Model/Resource/Block.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Cms
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -43,7 +43,6 @@ protected function _beforeDelete(Mage_Core_Model_Abstract $object)
/**
* Perform operations before object save
*
- * @param Mage_Core_Model_Abstract|Mage_Cms_Model_Block $object
* @return $this
* @throws Mage_Core_Exception
*/
@@ -157,7 +156,6 @@ protected function _getLoadSelect($field, $value, $object)
/**
* Check for unique of identifier of block to selected store(s).
*
- * @param Mage_Core_Model_Abstract $object
* @return bool
*/
public function getIsUniqueBlockToStores(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Cms/Model/Resource/Page.php b/app/code/core/Mage/Cms/Model/Resource/Page.php
index c200c39423d..8b9733a7f6f 100644
--- a/app/code/core/Mage/Cms/Model/Resource/Page.php
+++ b/app/code/core/Mage/Cms/Model/Resource/Page.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Cms
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -213,7 +213,6 @@ protected function _getLoadByIdentifierSelect($identifier, $store, $isActive = n
/**
* Check for unique of identifier of page to selected store(s).
*
- * @param Mage_Core_Model_Abstract|Mage_Cms_Model_Page $object
* @return bool
*/
public function getIsUniquePageToStores(Mage_Core_Model_Abstract $object)
@@ -242,7 +241,6 @@ public function getIsUniquePageToStores(Mage_Core_Model_Abstract $object)
*
* @date Wed Mar 26 18:12:28 EET 2008
*
- * @param Mage_Core_Model_Abstract $object
* @return int|false
*/
protected function isNumericPageIdentifier(Mage_Core_Model_Abstract $object)
@@ -253,7 +251,7 @@ protected function isNumericPageIdentifier(Mage_Core_Model_Abstract $object)
/**
* Check whether page identifier is valid
*
- * @param Mage_Core_Model_Abstract $object
+ *
* @return int|false
*/
protected function isValidPageIdentifier(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/ConfigurableSwatches/Block/Catalog/Media/Js/Abstract.php b/app/code/core/Mage/ConfigurableSwatches/Block/Catalog/Media/Js/Abstract.php
index 36327a8f98b..68af36c0e77 100644
--- a/app/code/core/Mage/ConfigurableSwatches/Block/Catalog/Media/Js/Abstract.php
+++ b/app/code/core/Mage/ConfigurableSwatches/Block/Catalog/Media/Js/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_ConfigurableSwatches
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -38,7 +38,6 @@ abstract public function getProducts();
/**
* json encode image fallback array
*
- * @param array $imageFallback
* @return string
*/
protected function _getJsImageFallbackString(array $imageFallback)
diff --git a/app/code/core/Mage/ConfigurableSwatches/Helper/List/Price.php b/app/code/core/Mage/ConfigurableSwatches/Helper/List/Price.php
index 4aee7b6ffd6..1debc6915ad 100644
--- a/app/code/core/Mage/ConfigurableSwatches/Helper/List/Price.php
+++ b/app/code/core/Mage/ConfigurableSwatches/Helper/List/Price.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_ConfigurableSwatches
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -33,7 +33,6 @@ class Mage_ConfigurableSwatches_Helper_List_Price extends Mage_Core_Helper_Abstr
* Depends on following product data:
* - product must have children products attached and be configurable by type
*
- * @param array $products
* @param int $storeId
*/
public function attachConfigurableProductChildrenPricesMapping(array $products, $storeId = null)
diff --git a/app/code/core/Mage/ConfigurableSwatches/Helper/Mediafallback.php b/app/code/core/Mage/ConfigurableSwatches/Helper/Mediafallback.php
index 5c670cf1835..a0c295a2643 100644
--- a/app/code/core/Mage/ConfigurableSwatches/Helper/Mediafallback.php
+++ b/app/code/core/Mage/ConfigurableSwatches/Helper/Mediafallback.php
@@ -30,7 +30,6 @@ class Mage_ConfigurableSwatches_Helper_Mediafallback extends Mage_Core_Helper_Ab
* Depends on following product data:
* - product must have children products attached
*
- * @param array $parentProducts
* @deprecated use $this->attachProductChildrenAttributeMapping() instead
* @param int $storeId
*/
@@ -44,7 +43,6 @@ public function attachConfigurableProductChildrenAttributeMapping(array $parentP
* Depends on following product data:
* - product must have children products attached
*
- * @param array $parentProducts
* @param int $storeId
* @param bool $onlyListAttributes
*/
@@ -159,7 +157,6 @@ public function attachProductChildrenAttributeMapping(array $parentProducts, $st
* - product must have media gallery attached which attaches and differentiates local images and child images
* - product must have child products attached
*
- * @param Mage_Catalog_Model_Product $product
* @param array $imageTypes - image types to select for child products
* @param bool $keepFrame
* @return array
@@ -297,8 +294,6 @@ protected function _resizeProductImage($product, $type, $keepFrame, $image = nul
/**
* Groups media gallery images by local images and child images
- *
- * @param Mage_Catalog_Model_Product $product
*/
public function groupMediaGalleryImages(Mage_Catalog_Model_Product $product)
{
@@ -329,7 +324,6 @@ public function groupMediaGalleryImages(Mage_Catalog_Model_Product $product)
/**
* For given product set, attach media_gallery attribute values.
*
- * @param array $products
* @param int $storeId
*/
public function attachGallerySetToCollection(array $products, $storeId)
@@ -416,7 +410,6 @@ protected function _getChildrenProductsAttributes()
* Attaches children product to each product via
* ->setChildrenProducts()
*
- * @param array $products
* @param int $storeId
*/
public function attachChildrenProducts(array $products, $storeId)
diff --git a/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php b/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php
index 75f8c98768c..41d820273d2 100644
--- a/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php
+++ b/app/code/core/Mage/ConfigurableSwatches/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_ConfigurableSwatches
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,7 +23,6 @@ class Mage_ConfigurableSwatches_Model_Observer extends Mage_Core_Model_Abstract
* Attach children products after product list load
* Observes: catalog_block_product_list_collection
*
- * @param Varien_Event_Observer $observer
* @return void
*/
public function productListCollectionLoadAfter(Varien_Event_Observer $observer)
@@ -70,8 +69,6 @@ public function productListCollectionLoadAfter(Varien_Event_Observer $observer)
/**
* Attach children products after product load
* Observes: catalog_product_load_after
- *
- * @param Varien_Event_Observer $observer
*/
public function productLoadAfter(Varien_Event_Observer $observer)
{
@@ -98,8 +95,6 @@ public function productLoadAfter(Varien_Event_Observer $observer)
* Instruct media attribute to load images for product's children
* if config swatches enabled.
* Observes: catalog_product_attribute_backend_media_load_gallery_before
- *
- * @param Varien_Event_Observer $observer
*/
public function loadChildProductImagesOnMediaLoad(Varien_Event_Observer $observer)
{
@@ -139,8 +134,6 @@ public function loadChildProductImagesOnMediaLoad(Varien_Event_Observer $observe
/**
* Convert a catalog layer block with the right templates
* Observes: controller_action_layout_generate_blocks_after
- *
- * @param Varien_Event_Observer $observer
*/
public function convertLayerBlock(Varien_Event_Observer $observer)
{
diff --git a/app/code/core/Mage/ConfigurableSwatches/Model/Resource/Catalog/Product/Attribute/Super/Collection.php b/app/code/core/Mage/ConfigurableSwatches/Model/Resource/Catalog/Product/Attribute/Super/Collection.php
index 795523cb0d7..f06c67946db 100644
--- a/app/code/core/Mage/ConfigurableSwatches/Model/Resource/Catalog/Product/Attribute/Super/Collection.php
+++ b/app/code/core/Mage/ConfigurableSwatches/Model/Resource/Catalog/Product/Attribute/Super/Collection.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_ConfigurableSwatches
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -25,7 +25,6 @@ class Mage_ConfigurableSwatches_Model_Resource_Catalog_Product_Attribute_Super_C
/**
* Filter parent products to these IDs
*
- * @param array $parentProductIds
* @return $this
*/
public function addParentProductsFilter(array $parentProductIds)
diff --git a/app/code/core/Mage/ConfigurableSwatches/Model/Resource/Catalog/Product/Type/Configurable/Product/Collection.php b/app/code/core/Mage/ConfigurableSwatches/Model/Resource/Catalog/Product/Type/Configurable/Product/Collection.php
index c65b7dbe5cb..1073bcf7e54 100644
--- a/app/code/core/Mage/ConfigurableSwatches/Model/Resource/Catalog/Product/Type/Configurable/Product/Collection.php
+++ b/app/code/core/Mage/ConfigurableSwatches/Model/Resource/Catalog/Product/Type/Configurable/Product/Collection.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_ConfigurableSwatches
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -21,8 +21,6 @@ class Mage_ConfigurableSwatches_Model_Resource_Catalog_Product_Type_Configurable
{
/**
* Filter by parent product set
- *
- * @param array $productIds
*/
public function addProductSetFilter(array $productIds)
{
diff --git a/app/code/core/Mage/Core/Block/Abstract.php b/app/code/core/Mage/Core/Block/Abstract.php
index fb26088c8b1..bb1ba34fe1e 100644
--- a/app/code/core/Mage/Core/Block/Abstract.php
+++ b/app/code/core/Mage/Core/Block/Abstract.php
@@ -191,8 +191,6 @@ abstract class Mage_Core_Block_Abstract extends Varien_Object
/**
* Initialize factory instance
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
@@ -268,7 +266,6 @@ public function getParentBlock()
/**
* Set parent block
*
- * @param Mage_Core_Block_Abstract $block
* @return $this
*/
public function setParentBlock(Mage_Core_Block_Abstract $block)
@@ -290,7 +287,6 @@ public function getAction()
/**
* Set layout object
*
- * @param Mage_Core_Model_Layout $layout
* @return $this
*/
public function setLayout(Mage_Core_Model_Layout $layout)
@@ -801,7 +797,6 @@ public function append($block, $alias = '')
* Make sure specified block will be registered in the specified child groups
*
* @param string $groupName
- * @param Mage_Core_Block_Abstract $child
*/
public function addToChildGroup($groupName, Mage_Core_Block_Abstract $child)
{
@@ -1056,7 +1051,6 @@ public function getUrlEncoded($route = '', $params = [])
* Retrieve url of skins file
*
* @param string $file path to file in skin
- * @param array $params
* @return string
*/
public function getSkinUrl($file = null, array $params = [])
@@ -1080,7 +1074,6 @@ public function getMessagesBlock()
/**
* Set messages block
*
- * @param Mage_Core_Block_Messages $block
* @return $this
*/
public function setMessagesBlock(Mage_Core_Block_Messages $block)
@@ -1202,9 +1195,7 @@ public function escapeHtml($data, $allowedTags = null)
/**
* Wrapper for escapeHtml() function with keeping original value
*
- * @param string $data
* @param string[]|null $allowedTags
- * @return Mage_Core_Model_Security_HtmlEscapedString
*
* @see Mage_Core_Model_Security_HtmlEscapedString::getUnescapedValue()
*/
@@ -1423,7 +1414,6 @@ public function addCacheTag($tag)
/**
* Add tags from specified model to current block
*
- * @param Mage_Core_Model_Abstract $model
* @return $this
*/
public function addModelTags(Mage_Core_Model_Abstract $model)
diff --git a/app/code/core/Mage/Core/Block/Messages.php b/app/code/core/Mage/Core/Block/Messages.php
index ee481199533..ceffd5446dc 100644
--- a/app/code/core/Mage/Core/Block/Messages.php
+++ b/app/code/core/Mage/Core/Block/Messages.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -86,7 +86,6 @@ public function setEscapeMessageFlag($flag)
/**
* Set messages collection
*
- * @param Mage_Core_Model_Message_Collection $messages
* @return Mage_Core_Block_Messages
*/
public function setMessages(Mage_Core_Model_Message_Collection $messages)
@@ -98,7 +97,6 @@ public function setMessages(Mage_Core_Model_Message_Collection $messages)
/**
* Add messages to display
*
- * @param Mage_Core_Model_Message_Collection $messages
* @return $this
*/
public function addMessages(Mage_Core_Model_Message_Collection $messages)
@@ -125,7 +123,6 @@ public function getMessageCollection()
/**
* Adding new message to message collection
*
- * @param Mage_Core_Model_Message_Abstract $message
* @return Mage_Core_Block_Messages
*/
public function addMessage(Mage_Core_Model_Message_Abstract $message)
diff --git a/app/code/core/Mage/Core/Block/Template.php b/app/code/core/Mage/Core/Block/Template.php
index d545573965f..ff6d24aed6a 100644
--- a/app/code/core/Mage/Core/Block/Template.php
+++ b/app/code/core/Mage/Core/Block/Template.php
@@ -208,8 +208,6 @@ public function getShowTemplateHints()
/**
* Retrieve block cache status
- *
- * @return string
*/
private function _getCacheHintStatusColor(): string
{
@@ -356,7 +354,6 @@ public function getJsUrl($fileName = '')
/**
* Get data from specified object
*
- * @param Varien_Object $object
* @param string $key
* @return mixed
*/
diff --git a/app/code/core/Mage/Core/Controller/Front/Router.php b/app/code/core/Mage/Core/Controller/Front/Router.php
index c53287553e6..09d161af157 100644
--- a/app/code/core/Mage/Core/Controller/Front/Router.php
+++ b/app/code/core/Mage/Core/Controller/Front/Router.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -38,7 +38,6 @@ public function getConfig()
}
/**
- * @param Zend_Controller_Router_Interface $router
* @return $this
*/
public function addRoutes(Zend_Controller_Router_Interface $router)
diff --git a/app/code/core/Mage/Core/Controller/Varien/Action.php b/app/code/core/Mage/Core/Controller/Varien/Action.php
index 1759a707100..d0446f5e66a 100644
--- a/app/code/core/Mage/Core/Controller/Varien/Action.php
+++ b/app/code/core/Mage/Core/Controller/Varien/Action.php
@@ -115,11 +115,6 @@ abstract class Mage_Core_Controller_Varien_Action
*/
protected $_removeDefaultTitle = false;
- /**
- * @param Zend_Controller_Request_Abstract $request
- * @param Zend_Controller_Response_Abstract $response
- * @param array $invokeArgs
- */
public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = [])
{
$this->_request = $request;
@@ -611,7 +606,6 @@ public function noCookiesAction()
* @param string $action
* @param string|null $controller
* @param string|null $module
- * @param array|null $params
*/
protected function _forward($action, $controller = null, $module = null, ?array $params = null)
{
@@ -703,7 +697,6 @@ protected function _redirect($path, $arguments = [])
* It allows to distinguish primordial request from browser with cookies disabled.
*
* @param string $path
- * @param array $arguments
* @return $this
*/
public function setRedirectWithCookieCheck($path, array $arguments = [])
diff --git a/app/code/core/Mage/Core/Controller/Varien/Exception.php b/app/code/core/Mage/Core/Controller/Varien/Exception.php
index cdb9b41c1c2..531fbf5a82b 100644
--- a/app/code/core/Mage/Core/Controller/Varien/Exception.php
+++ b/app/code/core/Mage/Core/Controller/Varien/Exception.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2018-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -35,7 +35,6 @@ class Mage_Core_Controller_Varien_Exception extends Exception
* @param string $actionName
* @param string $controllerName
* @param string $moduleName
- * @param array $params
* @return $this
*/
public function prepareForward($actionName = null, $controllerName = null, $moduleName = null, array $params = [])
diff --git a/app/code/core/Mage/Core/Controller/Varien/Front.php b/app/code/core/Mage/Core/Controller/Varien/Front.php
index 475cab8ed50..f42f97363ac 100644
--- a/app/code/core/Mage/Core/Controller/Varien/Front.php
+++ b/app/code/core/Mage/Core/Controller/Varien/Front.php
@@ -89,7 +89,6 @@ public function getResponse()
* Adding new router
*
* @param string $name
- * @param Mage_Core_Controller_Varien_Router_Abstract $router
* @return Mage_Core_Controller_Varien_Front
*/
public function addRouter($name, Mage_Core_Controller_Varien_Router_Abstract $router)
diff --git a/app/code/core/Mage/Core/Controller/Varien/Router/Abstract.php b/app/code/core/Mage/Core/Controller/Varien/Router/Abstract.php
index 124a1fea7d3..a8652ddaaa4 100644
--- a/app/code/core/Mage/Core/Controller/Varien/Router/Abstract.php
+++ b/app/code/core/Mage/Core/Controller/Varien/Router/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -58,7 +58,6 @@ public function getRouteByFrontName($frontName)
}
/**
- * @param Zend_Controller_Request_Http $request
* @return bool
*/
abstract public function match(Zend_Controller_Request_Http $request);
diff --git a/app/code/core/Mage/Core/Controller/Varien/Router/Default.php b/app/code/core/Mage/Core/Controller/Varien/Router/Default.php
index 94e359d65a4..742e6746de1 100644
--- a/app/code/core/Mage/Core/Controller/Varien/Router/Default.php
+++ b/app/code/core/Mage/Core/Controller/Varien/Router/Default.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Core_Controller_Varien_Router_Default extends Mage_Core_Controller_Va
* If store is admin and specified different admin front name,
* change store to default (Possible when enabled Store Code in URL)
*
- * @param Zend_Controller_Request_Http $request
* @return bool
*/
public function match(Zend_Controller_Request_Http $request)
diff --git a/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php b/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php
index d2ca3106a09..392b3d0a989 100644
--- a/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php
+++ b/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php
@@ -448,7 +448,6 @@ public function getControllerClassName($realModule, $controller)
}
/**
- * @param array $p
* @return array
*/
public function rewrite(array $p)
diff --git a/app/code/core/Mage/Core/Exception.php b/app/code/core/Mage/Core/Exception.php
index 0f64e4e4d0b..c9f7f9a2b88 100644
--- a/app/code/core/Mage/Core/Exception.php
+++ b/app/code/core/Mage/Core/Exception.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -26,7 +26,6 @@ class Mage_Core_Exception extends Exception
protected $_messages = [];
/**
- * @param Mage_Core_Model_Message_Abstract $message
* @return $this
*/
public function addMessage(Mage_Core_Model_Message_Abstract $message)
diff --git a/app/code/core/Mage/Core/Helper/Array.php b/app/code/core/Mage/Core/Helper/Array.php
index c7dd739e5c9..731a47df0f5 100644
--- a/app/code/core/Mage/Core/Helper/Array.php
+++ b/app/code/core/Mage/Core/Helper/Array.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -26,8 +26,6 @@ class Mage_Core_Helper_Array extends Mage_Core_Helper_Abstract
* PHP function array_merge_recursive merge array
* with overwrite num keys
*
- * @param array $baseArray
- * @param array $mergeArray
* @return array
*/
public function mergeRecursiveWithoutOverwriteNumKeys(array $baseArray, array $mergeArray)
diff --git a/app/code/core/Mage/Core/Helper/Cookie.php b/app/code/core/Mage/Core/Helper/Cookie.php
index b4520f2c5c6..898f8275d31 100644
--- a/app/code/core/Mage/Core/Helper/Cookie.php
+++ b/app/code/core/Mage/Core/Helper/Cookie.php
@@ -67,7 +67,6 @@ class Mage_Core_Helper_Cookie extends Mage_Core_Helper_Abstract
/**
* Initializes store, cookie and website objects.
*
- * @param array $data
* @throws InvalidArgumentException
*/
public function __construct(array $data = [])
diff --git a/app/code/core/Mage/Core/Helper/Data.php b/app/code/core/Mage/Core/Helper/Data.php
index 25c53f6c085..4c1c428fb8a 100644
--- a/app/code/core/Mage/Core/Helper/Data.php
+++ b/app/code/core/Mage/Core/Helper/Data.php
@@ -303,7 +303,6 @@ public function validateHash($password, $hash)
/**
* Get encryption method depending on the presence of the function - password_hash.
*
- * @param Mage_Core_Model_Encryption $encryptionModel
* @return int
*/
public function getVersionHash(Mage_Core_Model_Encryption $encryptionModel)
@@ -587,7 +586,6 @@ private function _decorateArrayObject($element, $key, $value, $dontSkip)
* Transform an assoc array to SimpleXMLElement object
* Array has some limitations. Appropriate exceptions will be thrown
*
- * @param array $array
* @param string $rootName
* @return SimpleXMLElement
* @throws Exception
@@ -614,9 +612,7 @@ public function assocToXml(array $array, $rootName = '_')
/**
* Function, that actually recursively transforms array to xml
*
- * @param array $array
* @param string $rootName
- * @param SimpleXMLElement $xml
* @return SimpleXMLElement
* @throws Exception
*/
@@ -650,7 +646,6 @@ private function _assocToXml(array $array, $rootName, SimpleXMLElement &$xml)
* Transform SimpleXMLElement to associative array
* SimpleXMLElement must be conform structure, generated by assocToXml()
*
- * @param SimpleXMLElement $xml
* @return array
*/
public function xmlToAssoc(SimpleXMLElement $xml)
@@ -752,13 +747,11 @@ public function uniqHash($prefix = '')
* May filter files by specified extension(s)
* Returns false on error
*
- * @param array $srcFiles
* @param string|false $targetFile - file path to be written
* @param bool $mustMerge
* @param callable $beforeMergeCallback
* @param array|string $extensionsFilter
* @return bool|string
- *
* @SuppressWarnings(PHPMD.ErrorControlOperator)
*/
public function mergeFiles(
@@ -963,7 +956,6 @@ public function getExactDivision($dividend, $divisor)
* Security enhancement for CSV data processing by Excel-like applications.
* @see https://bugzilla.mozilla.org/show_bug.cgi?id=1054702
*
- * @param array $data
* @return array
*/
public function getEscapedCSVData(array $data)
@@ -1004,7 +996,6 @@ public function unEscapeCSVData($data)
/**
* Returns true if the rate limit of the current client is exceeded
* @param bool $setErrorMessage Adds a predefined error message to the 'core/session' object
- * @param bool $recordRateLimitHit
* @return bool is rate limit exceeded
*/
public function isRateLimitExceeded(bool $setErrorMessage = true, bool $recordRateLimitHit = true): bool
@@ -1030,7 +1021,6 @@ public function isRateLimitExceeded(bool $setErrorMessage = true, bool $recordRa
/**
* Save the client rate limit hit to the cache
- * @return void
*/
public function recordRateLimitHit(): void
{
diff --git a/app/code/core/Mage/Core/Helper/EnvironmentConfigLoader.php b/app/code/core/Mage/Core/Helper/EnvironmentConfigLoader.php
index 5899c40acb9..3d4a293098d 100644
--- a/app/code/core/Mage/Core/Helper/EnvironmentConfigLoader.php
+++ b/app/code/core/Mage/Core/Helper/EnvironmentConfigLoader.php
@@ -52,7 +52,6 @@ class Mage_Core_Helper_EnvironmentConfigLoader extends Mage_Core_Helper_Abstract
* Override the store 'german' configuration:
* @example OPENMAGE_CONFIG__STORES__GERMAN__GENERAL__STORE_INFORMATION__NAME=store_german
*
- * @param Varien_Simplexml_Config $xmlConfig
* @return void
*/
public function overrideEnvironment(Varien_Simplexml_Config $xmlConfig)
@@ -133,11 +132,6 @@ protected function isConfigKeyValid(string $configKey): bool
/**
* Build configuration path.
- *
- * @param string $section
- * @param string $group
- * @param string $field
- * @return string
*/
protected function buildPath(string $section, string $group, string $field): string
{
@@ -146,10 +140,6 @@ protected function buildPath(string $section, string $group, string $field): str
/**
* Build configuration node path.
- *
- * @param string $scope
- * @param string $path
- * @return string
*/
protected function buildNodePath(string $scope, string $path): string
{
diff --git a/app/code/core/Mage/Core/Helper/Js.php b/app/code/core/Mage/Core/Helper/Js.php
index 95f8175c18b..e4222a102f1 100644
--- a/app/code/core/Mage/Core/Helper/Js.php
+++ b/app/code/core/Mage/Core/Helper/Js.php
@@ -185,9 +185,7 @@ protected function _getXmlConfig()
/**
* Helper for "onclick.deleteConfirm"
*
- * @param string $url
* @param string|null $message null for default message, do not use jsQuoteEscape() before
- * @return string
* @uses Mage_Core_Helper_Abstract::jsQuoteEscape()
*/
public function getDeleteConfirmJs(string $url, ?string $message = null): string
@@ -203,9 +201,7 @@ public function getDeleteConfirmJs(string $url, ?string $message = null): string
/**
* Helper for "onclick.confirmSetLocation"
*
- * @param string $url
* @param string|null $message null for default message, do not use jsQuoteEscape() before
- * @return string
* @uses Mage_Core_Helper_Abstract::jsQuoteEscape()
*/
public function getConfirmSetLocationJs(string $url, ?string $message = null): string
@@ -220,9 +216,6 @@ public function getConfirmSetLocationJs(string $url, ?string $message = null): s
/**
* Helper for "onclick.setLocation"
- *
- * @param string $url
- * @return string
*/
public function getSetLocationJs(string $url): string
{
@@ -231,9 +224,6 @@ public function getSetLocationJs(string $url): string
/**
* Helper for "onclick.saveAndContinueEdit"
- *
- * @param string $url
- * @return string
*/
public function getSaveAndContinueEditJs(string $url): string
{
diff --git a/app/code/core/Mage/Core/Helper/Purifier.php b/app/code/core/Mage/Core/Helper/Purifier.php
index 3a7fe9bc937..eaa63aa2a32 100644
--- a/app/code/core/Mage/Core/Helper/Purifier.php
+++ b/app/code/core/Mage/Core/Helper/Purifier.php
@@ -20,14 +20,10 @@ class Mage_Core_Helper_Purifier extends Mage_Core_Helper_Abstract
{
public const CACHE_DEFINITION = 'Cache.DefinitionImpl';
- /**
- * @var HTMLPurifier|null
- */
protected ?HTMLPurifier $purifier;
/**
* Purifier Constructor Call
- * @param HTMLPurifier|null $purifier
*/
public function __construct(
?HTMLPurifier $purifier = null
diff --git a/app/code/core/Mage/Core/Helper/Security.php b/app/code/core/Mage/Core/Helper/Security.php
index 65073036804..a67e4943b28 100644
--- a/app/code/core/Mage/Core/Helper/Security.php
+++ b/app/code/core/Mage/Core/Helper/Security.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -26,10 +26,8 @@ class Mage_Core_Helper_Security
];
/**
- * @param Mage_Core_Block_Abstract $block
* @param string $method
* @param string[] $args
- *
* @throws Mage_Core_Exception
*/
public function validateAgainstBlockMethodBlacklist(Mage_Core_Block_Abstract $block, $method, array $args)
diff --git a/app/code/core/Mage/Core/Helper/String.php b/app/code/core/Mage/Core/Helper/String.php
index 9cd13350105..c9b80daaf55 100644
--- a/app/code/core/Mage/Core/Helper/String.php
+++ b/app/code/core/Mage/Core/Helper/String.php
@@ -299,7 +299,6 @@ public function strpos($haystack, $needle, $offset = 0)
/**
* Sorts array with multibyte string keys
*
- * @param array $sort
* @return array|false
*/
public function ksortMultibyte(array &$sort)
@@ -375,8 +374,6 @@ protected function _explodeAndDecodeParam($str)
/**
* Append param to general result
*
- * @param array $result
- * @param array $param
* @return array
*/
protected function _appendParam(array $result, array $param)
@@ -399,7 +396,6 @@ protected function _appendParam(array $result, array $param)
/**
* Handle param recursively
*
- * @param array $param
* @return array
*/
protected function _handleRecursiveParamForQueryStr(array $param)
diff --git a/app/code/core/Mage/Core/Model/App.php b/app/code/core/Mage/Core/Model/App.php
index 45fde032663..e792aa58281 100644
--- a/app/code/core/Mage/Core/Model/App.php
+++ b/app/code/core/Mage/Core/Model/App.php
@@ -406,7 +406,6 @@ protected function _initBaseConfig()
/**
* Initialize application cache instance
*
- * @param array $cacheInitOptions
* @return $this
*/
protected function _initCache(array $cacheInitOptions = [])
@@ -1288,7 +1287,6 @@ public function getRequest()
/**
* Request setter
*
- * @param Mage_Core_Controller_Request_Http $request
* @return $this
*/
public function setRequest(Mage_Core_Controller_Request_Http $request)
@@ -1346,7 +1344,6 @@ public function getResponse()
/**
* Response setter
*
- * @param Mage_Core_Controller_Response_Http $response
* @return $this
*/
public function setResponse(Mage_Core_Controller_Response_Http $response)
diff --git a/app/code/core/Mage/Core/Model/App/Emulation.php b/app/code/core/Mage/Core/Model/App/Emulation.php
index e81244d4691..96b48149a77 100644
--- a/app/code/core/Mage/Core/Model/App/Emulation.php
+++ b/app/code/core/Mage/Core/Model/App/Emulation.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -35,9 +35,6 @@ class Mage_Core_Model_App_Emulation extends Varien_Object
*/
protected $_app;
- /**
- * @param array $args
- */
public function __construct(array $args = [])
{
$this->_factory = !empty($args['factory']) ? $args['factory'] : Mage::getSingleton('core/factory');
@@ -200,7 +197,6 @@ protected function _restoreInitialInlineTranslation($initialTranslateInline)
/**
* Restore design of the initial store
*
- * @param array $initialDesign
*
* @return $this
*/
diff --git a/app/code/core/Mage/Core/Model/Cache.php b/app/code/core/Mage/Core/Model/Cache.php
index f1a1b4c8e7a..4d9e618f4ab 100644
--- a/app/code/core/Mage/Core/Model/Cache.php
+++ b/app/code/core/Mage/Core/Model/Cache.php
@@ -102,8 +102,6 @@ class Mage_Core_Model_Cache
/**
* Class constructor. Initialize cache instance based on options
- *
- * @param array $options
*/
public function __construct(array $options = [])
{
@@ -144,7 +142,6 @@ public function __construct(array $options = [])
/**
* Get cache backend options. Result array contain backend type ('type' key) and backend options ('options')
*
- * @param array $cacheOptions
* @return array
*/
protected function _getBackendOptions(array $cacheOptions)
@@ -232,7 +229,6 @@ protected function _getBackendOptions(array $cacheOptions)
/**
* Get options for database backend type
*
- * @param array $options
* @return array
*/
protected function getDbAdapterOptions(array $options = [])
@@ -298,7 +294,6 @@ protected function _getTwoLevelsBackendOptions($fastOptions, $cacheOptions)
/**
* Get options of cache frontend (options of Zend_Cache_Core)
*
- * @param array $cacheOptions
* @return array
*/
protected function _getFrontendOptions(array $cacheOptions)
diff --git a/app/code/core/Mage/Core/Model/Config.php b/app/code/core/Mage/Core/Model/Config.php
index 7266f653c63..80e4e82f0a3 100644
--- a/app/code/core/Mage/Core/Model/Config.php
+++ b/app/code/core/Mage/Core/Model/Config.php
@@ -425,8 +425,6 @@ public function loadDb()
/**
* Load environment variables and override config
- *
- * @return self
*/
public function loadEnv(): Mage_Core_Model_Config
{
@@ -1793,7 +1791,6 @@ public function getResourceModelClassName($modelClass)
* Makes all events to lower-case
*
* @param string $area
- * @param Varien_Simplexml_Config $mergeModel
*/
protected function _makeEventsLowerCase($area, Varien_Simplexml_Config $mergeModel)
{
@@ -1819,7 +1816,6 @@ protected function _makeEventsLowerCase($area, Varien_Simplexml_Config $mergeMod
/**
* Checks is event name has upper-case letters
*
- * @param Mage_Core_Model_Config_Element $event
* @return bool
*/
protected function _isNodeNameHasUpperCase(Mage_Core_Model_Config_Element $event)
diff --git a/app/code/core/Mage/Core/Model/Cookie.php b/app/code/core/Mage/Core/Model/Cookie.php
index d9330737899..44595fdcb19 100644
--- a/app/code/core/Mage/Core/Model/Cookie.php
+++ b/app/code/core/Mage/Core/Model/Cookie.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2018-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -165,8 +165,6 @@ public function getHttponly()
/**
* Retrieve use SameSite
- *
- * @return string
*/
public function getSameSite(): string
{
diff --git a/app/code/core/Mage/Core/Model/Design/Config.php b/app/code/core/Mage/Core/Model/Design/Config.php
index 5685d921507..d81075760de 100644
--- a/app/code/core/Mage/Core/Model/Design/Config.php
+++ b/app/code/core/Mage/Core/Model/Design/Config.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -25,7 +25,6 @@ class Mage_Core_Model_Design_Config extends Varien_Simplexml_Config
/**
* Assemble themes inheritance config
- * @param array $params
* @throws Mage_Core_Exception
*/
public function __construct(array $params = [])
diff --git a/app/code/core/Mage/Core/Model/Design/Fallback.php b/app/code/core/Mage/Core/Model/Design/Fallback.php
index 146eb7eb983..bdb2bffbe4f 100644
--- a/app/code/core/Mage/Core/Model/Design/Fallback.php
+++ b/app/code/core/Mage/Core/Model/Design/Fallback.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -45,9 +45,6 @@ class Mage_Core_Model_Design_Fallback
*/
protected $_visited;
- /**
- * @param array $params
- */
public function __construct(array $params = [])
{
$this->_config = $params['config'] ?? Mage::getModel('core/design_config');
diff --git a/app/code/core/Mage/Core/Model/Design/Package.php b/app/code/core/Mage/Core/Model/Design/Package.php
index f018574742f..ffb56633bd5 100644
--- a/app/code/core/Mage/Core/Model/Design/Package.php
+++ b/app/code/core/Mage/Core/Model/Design/Package.php
@@ -293,7 +293,6 @@ public function getDefaultTheme()
}
/**
- * @param array $params
* @return $this
*/
public function updateParamDefaults(array &$params)
@@ -317,7 +316,6 @@ public function updateParamDefaults(array &$params)
}
/**
- * @param array $params
* @return string
*/
public function getBaseDir(array $params)
@@ -328,7 +326,6 @@ public function getBaseDir(array $params)
}
/**
- * @param array $params
* @return string
*/
public function getSkinBaseDir(array $params = [])
@@ -340,7 +337,6 @@ public function getSkinBaseDir(array $params = [])
}
/**
- * @param array $params
* @return string
*/
public function getLocaleBaseDir(array $params = [])
@@ -353,7 +349,6 @@ public function getLocaleBaseDir(array $params = [])
}
/**
- * @param array $params
* @return string
*/
public function getSkinBaseUrl(array $params = [])
@@ -375,7 +370,6 @@ public function getSkinBaseUrl(array $params = [])
*
* @see Mage_Core_Model_Config::getBaseDir
* @param string $file
- * @param array $params
* @return string|false
*/
public function validateFile($file, array $params)
@@ -392,7 +386,6 @@ public function validateFile($file, array $params)
* Get filename by specified theme parameters
*
* @param array $file
- * @param array $params
* @return string
*/
protected function _renderFilename($file, array $params)
@@ -421,8 +414,6 @@ protected function _renderFilename($file, array $params)
* If disabled, the lookup won't be performed to spare filesystem calls.
*
* @param string $file
- * @param array $params
- * @param array $fallbackScheme
* @return string
*/
protected function _fallback($file, array &$params, array $fallbackScheme = [[]])
@@ -447,7 +438,6 @@ protected function _fallback($file, array &$params, array $fallbackScheme = [[]]
* $params['_type'] is required
*
* @param string $file
- * @param array $params
* @return string
* @throws Exception
*/
@@ -477,7 +467,6 @@ public function getFilename($file, array $params)
/**
* @param string $file
- * @param array $params
* @return string
*/
public function getLayoutFilename($file, array $params = [])
@@ -488,7 +477,6 @@ public function getLayoutFilename($file, array $params = [])
/**
* @param string $file
- * @param array $params
* @return string
*/
public function getTemplateFilename($file, array $params = [])
@@ -499,7 +487,6 @@ public function getTemplateFilename($file, array $params = [])
/**
* @param string $file
- * @param array $params
* @return string
*/
public function getLocaleFileName($file, array $params = [])
@@ -512,7 +499,6 @@ public function getLocaleFileName($file, array $params = [])
* Get skin file url
*
* @param string|null $file
- * @param array $params
* @return string
* @throws Exception
*/
@@ -754,7 +740,6 @@ public function getMergedCssUrl($files)
* Merges files into one and saves it into DB (if DB file storage is on)
*
* @see Mage_Core_Helper_Data::mergeFiles()
- * @param array $srcFiles
* @param string|bool $targetFile - file path to be written
* @param bool $mustMerge
* @param callable $beforeMergeCallback
diff --git a/app/code/core/Mage/Core/Model/Domainpolicy.php b/app/code/core/Mage/Core/Model/Domainpolicy.php
index c0f7a9c393b..d0e0ca5aaf8 100644
--- a/app/code/core/Mage/Core/Model/Domainpolicy.php
+++ b/app/code/core/Mage/Core/Model/Domainpolicy.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -59,7 +59,6 @@ public function __construct($options = [])
/**
* Add X-Frame-Options header to response, depends on config settings
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function addDomainPolicyHeader(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Core/Model/Email/Queue.php b/app/code/core/Mage/Core/Model/Email/Queue.php
index ba10e04d550..358324aaa5c 100644
--- a/app/code/core/Mage/Core/Model/Email/Queue.php
+++ b/app/code/core/Mage/Core/Model/Email/Queue.php
@@ -152,7 +152,6 @@ public function clearRecipients()
/**
* Set message recipients data
*
- * @param array $recipients
*
* @return $this
*/
diff --git a/app/code/core/Mage/Core/Model/Email/Template.php b/app/code/core/Mage/Core/Model/Email/Template.php
index cd83768ed9d..add3ffea775 100644
--- a/app/code/core/Mage/Core/Model/Email/Template.php
+++ b/app/code/core/Mage/Core/Model/Email/Template.php
@@ -112,7 +112,6 @@ public function getMail()
/**
* Declare template processing filter
*
- * @param Varien_Filter_Template $filter
* @return $this
*/
public function setTemplateFilter(Varien_Filter_Template $filter)
@@ -284,7 +283,6 @@ public function getType()
/**
* Process email template code
*
- * @param array $variables
* @return string
*/
public function getProcessedTemplate(array $variables = [])
@@ -351,7 +349,6 @@ public function getPreparedTemplateText($html = null)
* Get template code for include directive
*
* @param string $template
- * @param array $variables
* @return string
*/
public function getInclude($template, array $variables)
@@ -538,7 +535,6 @@ public function sendTransactional($templateId, $sender, $email, $name, $vars = [
/**
* Process email subject
*
- * @param array $variables
* @return string
*/
public function getProcessedTemplateSubject(array $variables)
diff --git a/app/code/core/Mage/Core/Model/Email/Template/Abstract.php b/app/code/core/Mage/Core/Model/Email/Template/Abstract.php
index efbc0039770..932a000ac66 100644
--- a/app/code/core/Mage/Core/Model/Email/Template/Abstract.php
+++ b/app/code/core/Mage/Core/Model/Email/Template/Abstract.php
@@ -39,7 +39,6 @@ abstract class Mage_Core_Model_Email_Template_Abstract extends Mage_Core_Model_T
* Get template code for template directive
*
* @param string $configPath
- * @param array $variables
* @return string
*/
public function getTemplateByConfigPath($configPath, array $variables)
diff --git a/app/code/core/Mage/Core/Model/Email/Template/Mailer.php b/app/code/core/Mage/Core/Model/Email/Template/Mailer.php
index 05ada011c57..b80ae4378f8 100644
--- a/app/code/core/Mage/Core/Model/Email/Template/Mailer.php
+++ b/app/code/core/Mage/Core/Model/Email/Template/Mailer.php
@@ -35,7 +35,6 @@ class Mage_Core_Model_Email_Template_Mailer extends Varien_Object
/**
* Add new email info to corresponding list
*
- * @param Mage_Core_Model_Email_Info $emailInfo
* @return $this
*/
public function addEmailInfo(Mage_Core_Model_Email_Info $emailInfo)
@@ -140,7 +139,6 @@ public function getTemplateId()
/**
* Set template parameters
*
- * @param array $templateParams
* @return $this
*/
public function setTemplateParams(array $templateParams)
diff --git a/app/code/core/Mage/Core/Model/Factory.php b/app/code/core/Mage/Core/Model/Factory.php
index be322976353..090268e8d08 100644
--- a/app/code/core/Mage/Core/Model/Factory.php
+++ b/app/code/core/Mage/Core/Model/Factory.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -35,8 +35,6 @@ class Mage_Core_Model_Factory
/**
* Initialize factory
- *
- * @param array $arguments
*/
public function __construct(array $arguments = [])
{
@@ -59,7 +57,6 @@ public function getModel($modelClass = '', $arguments = [])
* Retrieve model object singleton
*
* @param string $modelClass
- * @param array $arguments
* @return Mage_Core_Model_Abstract
*/
public function getSingleton($modelClass = '', array $arguments = [])
diff --git a/app/code/core/Mage/Core/Model/File/Storage.php b/app/code/core/Mage/Core/Model/File/Storage.php
index a55811b11b6..5f37479d54f 100644
--- a/app/code/core/Mage/Core/Model/File/Storage.php
+++ b/app/code/core/Mage/Core/Model/File/Storage.php
@@ -47,8 +47,6 @@ class Mage_Core_Model_File_Storage extends Mage_Core_Model_Abstract
/**
* Show if there were errors while synchronize process
*
- * @param Mage_Core_Model_Abstract $sourceModel
- * @param Mage_Core_Model_Abstract $destinationModel
* @return bool
*/
protected function _synchronizeHasErrors(
diff --git a/app/code/core/Mage/Core/Model/File/Storage/Flag.php b/app/code/core/Mage/Core/Model/File/Storage/Flag.php
index f7fdbb57862..46cf74db77a 100644
--- a/app/code/core/Mage/Core/Model/File/Storage/Flag.php
+++ b/app/code/core/Mage/Core/Model/File/Storage/Flag.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -53,7 +53,6 @@ class Mage_Core_Model_File_Storage_Flag extends Mage_Core_Model_Flag
/**
* Pass error to flag
*
- * @param Exception $e
* @return $this
*/
public function passError(Exception $e)
diff --git a/app/code/core/Mage/Core/Model/File/Validator/AvailablePath.php b/app/code/core/Mage/Core/Model/File/Validator/AvailablePath.php
index 4328e155984..c69be843bfb 100644
--- a/app/code/core/Mage/Core/Model/File/Validator/AvailablePath.php
+++ b/app/code/core/Mage/Core/Model/File/Validator/AvailablePath.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -114,7 +114,6 @@ public function setPaths(array $paths)
/**
* Set protected paths masks
*
- * @param array $paths
* @return $this
*/
public function setProtectedPaths(array $paths)
@@ -152,7 +151,6 @@ public function getProtectedPaths()
/**
* Set available paths masks
*
- * @param array $paths
* @return $this
*/
public function setAvailablePaths(array $paths)
diff --git a/app/code/core/Mage/Core/Model/File/Validator/Image.php b/app/code/core/Mage/Core/Model/File/Validator/Image.php
index 83fc983b8d5..02ec2c1b400 100644
--- a/app/code/core/Mage/Core/Model/File/Validator/Image.php
+++ b/app/code/core/Mage/Core/Model/File/Validator/Image.php
@@ -37,7 +37,6 @@ class Mage_Core_Model_File_Validator_Image
/**
* Setter for allowed image types
*
- * @param array $imageFileExtensions
* @return $this
*/
public function setAllowedImageTypes(array $imageFileExtensions = [])
diff --git a/app/code/core/Mage/Core/Model/Input/Filter.php b/app/code/core/Mage/Core/Model/Input/Filter.php
index 532338d1f57..73113cdd013 100644
--- a/app/code/core/Mage/Core/Model/Input/Filter.php
+++ b/app/code/core/Mage/Core/Model/Input/Filter.php
@@ -151,7 +151,6 @@ public function prependFilter($filter)
* 'key2' => $filters
* )
*
- * @param array $filters
* @return $this
*/
public function addFilters(array $filters)
@@ -163,7 +162,6 @@ public function addFilters(array $filters)
/**
* Set filters
*
- * @param array $filters
* @return $this
*/
public function setFilters(array $filters)
@@ -201,7 +199,6 @@ public function filter($data)
/**
* Recursive filtering
*
- * @param array $data
* @param array|null $filters
* @param bool $isFilterListSimple
* @param-out array $filters
@@ -243,8 +240,6 @@ protected function _filter(array $data, &$filters = null, $isFilterListSimple =
* Call specified helper method for $value filtration
*
* @param mixed $value
- * @param Mage_Core_Helper_Abstract $helper
- * @param array $filterData
* @return mixed
*/
protected function _applyFiltrationWithHelper($value, Mage_Core_Helper_Abstract $helper, array $filterData)
diff --git a/app/code/core/Mage/Core/Model/Input/Filter/MaliciousCode.php b/app/code/core/Mage/Core/Model/Input/Filter/MaliciousCode.php
index 8c48bcc5457..39bf8f03732 100644
--- a/app/code/core/Mage/Core/Model/Input/Filter/MaliciousCode.php
+++ b/app/code/core/Mage/Core/Model/Input/Filter/MaliciousCode.php
@@ -23,8 +23,6 @@ class Mage_Core_Model_Input_Filter_MaliciousCode implements Zend_Filter_Interfac
{
/**
* Regular expressions for cutting malicious code
- *
- * @var array
*/
protected array $_expressions = [
//comments, must be first
@@ -83,7 +81,6 @@ public function addExpression($expression)
/**
* Set expressions
*
- * @param array $expressions
* @return $this
*/
public function setExpressions(array $expressions)
diff --git a/app/code/core/Mage/Core/Model/Layout.php b/app/code/core/Mage/Core/Model/Layout.php
index ca20951954b..232c1cfcabc 100644
--- a/app/code/core/Mage/Core/Model/Layout.php
+++ b/app/code/core/Mage/Core/Model/Layout.php
@@ -352,10 +352,8 @@ protected function _generateAction($node, $parent)
}
/**
- * @param Mage_Core_Block_Abstract $block
* @param string $method
* @param string[] $args
- *
* @throws Mage_Core_Exception
*/
protected function validateAgainstBlacklist(Mage_Core_Block_Abstract $block, $method, array $args)
@@ -446,7 +444,6 @@ public function unsetBlock($name)
*
* @param string $type
* @param string $name
- * @param array $attributes
* @return Mage_Core_Block_Abstract|false
*/
public function createBlock($type, $name = '', array $attributes = [])
@@ -494,7 +491,6 @@ public function addBlock($block, $blockName)
* Create block object instance based on block type
*
* @param string $block
- * @param array $attributes
* @return Mage_Core_Block_Abstract
*/
protected function _getBlockInstance($block, array $attributes = [])
@@ -637,7 +633,6 @@ public function helper($name)
* 2) "module" attribute in any ancestor element
* 3) layout handle name - first 1 or 2 parts (namespace is determined automatically)
*
- * @param Varien_Simplexml_Element $node
* @return string
*/
public static function findTranslationModuleName(Varien_Simplexml_Element $node)
diff --git a/app/code/core/Mage/Core/Model/Layout/Validator.php b/app/code/core/Mage/Core/Model/Layout/Validator.php
index bfe616f6f17..a7c644de0e9 100644
--- a/app/code/core/Mage/Core/Model/Layout/Validator.php
+++ b/app/code/core/Mage/Core/Model/Layout/Validator.php
@@ -225,8 +225,6 @@ public function getXpathBlockValidationExpression()
* If template path value has "../"
*
* @throws Exception
- *
- * @param array $templatePaths
*/
public function validateTemplatePath(array $templatePaths)
{
diff --git a/app/code/core/Mage/Core/Model/Logger.php b/app/code/core/Mage/Core/Model/Logger.php
index 8bb30892d7f..34ef1ddd854 100644
--- a/app/code/core/Mage/Core/Model/Logger.php
+++ b/app/code/core/Mage/Core/Model/Logger.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -36,8 +36,6 @@ public function log($message, $level = null, $file = '', $forceLog = false)
/**
* Log exception wrapper
- *
- * @param Exception $e
*/
public function logException(Exception $e)
{
diff --git a/app/code/core/Mage/Core/Model/Message/Collection.php b/app/code/core/Mage/Core/Model/Message/Collection.php
index f0a3fc21f60..13a08b4ff90 100644
--- a/app/code/core/Mage/Core/Model/Message/Collection.php
+++ b/app/code/core/Mage/Core/Model/Message/Collection.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -32,7 +32,6 @@ class Mage_Core_Model_Message_Collection
/**
* Adding new message to collection
*
- * @param Mage_Core_Model_Message_Abstract $message
* @return Mage_Core_Model_Message_Collection
*/
public function add(Mage_Core_Model_Message_Abstract $message)
@@ -43,7 +42,6 @@ public function add(Mage_Core_Model_Message_Abstract $message)
/**
* Adding new message to collection
*
- * @param Mage_Core_Model_Message_Abstract $message
* @return Mage_Core_Model_Message_Collection
*/
public function addMessage(Mage_Core_Model_Message_Abstract $message)
diff --git a/app/code/core/Mage/Core/Model/Observer.php b/app/code/core/Mage/Core/Model/Observer.php
index a73bde12d6b..ecb9103eb61 100644
--- a/app/code/core/Mage/Core/Model/Observer.php
+++ b/app/code/core/Mage/Core/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Core_Model_Observer
/**
* Check if synchronize process is finished and generate notification message
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function addSynchronizeNotification(Varien_Event_Observer $observer)
@@ -84,8 +83,6 @@ public function addSynchronizeNotification(Varien_Event_Observer $observer)
/**
* Cron job method to clean old cache resources
- *
- * @param Mage_Cron_Model_Schedule $schedule
*/
public function cleanCache(Mage_Cron_Model_Schedule $schedule)
{
@@ -96,7 +93,6 @@ public function cleanCache(Mage_Cron_Model_Schedule $schedule)
/**
* Cleans cache by tags
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function cleanCacheByTags(Varien_Event_Observer $observer)
@@ -115,7 +111,6 @@ public function cleanCacheByTags(Varien_Event_Observer $observer)
/**
* Checks method availability for processing in variable
*
- * @param Varien_Event_Observer $observer
* @throws Exception
* @return Mage_Core_Model_Observer
*/
diff --git a/app/code/core/Mage/Core/Model/Resource/Abstract.php b/app/code/core/Mage/Core/Model/Resource/Abstract.php
index e67f670e7fa..49a31cd7252 100644
--- a/app/code/core/Mage/Core/Model/Resource/Abstract.php
+++ b/app/code/core/Mage/Core/Model/Resource/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -144,7 +144,6 @@ public function mktime($str)
/**
* Serialize specified field in an object
*
- * @param Varien_Object $object
* @param string $field
* @param mixed $defaultValue
* @param bool $unsetEmpty
@@ -172,7 +171,6 @@ protected function _serializeField(Varien_Object $object, $field, $defaultValue
/**
* Unserialize Varien_Object field in an object
*
- * @param Varien_Object $object
* @param string $field
* @param mixed $defaultValue
*/
@@ -189,7 +187,6 @@ protected function _unserializeField(Varien_Object $object, $field, $defaultValu
/**
* Prepare data for passed table
*
- * @param Varien_Object $object
* @param string $table
* @return array
*/
diff --git a/app/code/core/Mage/Core/Model/Resource/Config.php b/app/code/core/Mage/Core/Model/Resource/Config.php
index 794bc382383..c6b14f133dc 100644
--- a/app/code/core/Mage/Core/Model/Resource/Config.php
+++ b/app/code/core/Mage/Core/Model/Resource/Config.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Load configuration values into xml config object
*
- * @param Mage_Core_Model_Config $xmlConfig
* @param string $condition
* @return $this
*/
diff --git a/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php b/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php
index d4e11fd58f4..fffcc4e733d 100644
--- a/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php
+++ b/app/code/core/Mage/Core/Model/Resource/Db/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2018-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -361,7 +361,6 @@ public function getReadConnection()
/**
* Load an object
*
- * @param Mage_Core_Model_Abstract $object
* @param mixed $value
* @param string $field field to load by (defaults to model id)
* @return $this
@@ -415,7 +414,6 @@ protected function _getLoadSelect($field, $value, $object)
/**
* Save object object data
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
public function save(Mage_Core_Model_Abstract $object)
@@ -475,7 +473,6 @@ public function save(Mage_Core_Model_Abstract $object)
* forced update If duplicate unique key data
*
* @deprecated
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
public function forsedSave(Mage_Core_Model_Abstract $object)
@@ -501,7 +498,6 @@ public function forsedSave(Mage_Core_Model_Abstract $object)
/**
* Delete the object
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
* @throws Exception
*/
@@ -546,8 +542,6 @@ public function resetUniqueField()
/**
* Un-serialize serializable object fields
- *
- * @param Mage_Core_Model_Abstract $object
*/
public function unserializeFields(Mage_Core_Model_Abstract $object)
{
@@ -584,7 +578,6 @@ public function getUniqueFields()
/**
* Prepare data for save
*
- * @param Mage_Core_Model_Abstract $object
* @return array
*/
protected function _prepareDataForSave(Mage_Core_Model_Abstract $object)
@@ -630,7 +623,6 @@ protected function _prepareValueForSave($value, $type)
/**
* Check for unique values existence
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
* @throws Mage_Core_Exception
*/
@@ -687,8 +679,6 @@ protected function _checkUnique(Mage_Core_Model_Abstract $object)
/**
* After load
- *
- * @param Mage_Core_Model_Abstract $object
*/
public function afterLoad(Mage_Core_Model_Abstract $object)
{
@@ -698,7 +688,6 @@ public function afterLoad(Mage_Core_Model_Abstract $object)
/**
* Perform actions after object load
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
protected function _afterLoad(Mage_Core_Model_Abstract $object)
@@ -709,7 +698,6 @@ protected function _afterLoad(Mage_Core_Model_Abstract $object)
/**
* Perform actions before object save
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
protected function _beforeSave(Mage_Core_Model_Abstract $object)
@@ -720,7 +708,6 @@ protected function _beforeSave(Mage_Core_Model_Abstract $object)
/**
* Perform actions after object save
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
protected function _afterSave(Mage_Core_Model_Abstract $object)
@@ -731,7 +718,6 @@ protected function _afterSave(Mage_Core_Model_Abstract $object)
/**
* Perform actions before object delete
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
protected function _beforeDelete(Mage_Core_Model_Abstract $object)
@@ -742,7 +728,6 @@ protected function _beforeDelete(Mage_Core_Model_Abstract $object)
/**
* Perform actions after object delete
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
protected function _afterDelete(Mage_Core_Model_Abstract $object)
@@ -752,8 +737,6 @@ protected function _afterDelete(Mage_Core_Model_Abstract $object)
/**
* Serialize serializable fields of the object
- *
- * @param Mage_Core_Model_Abstract $object
*/
protected function _serializeFields(Mage_Core_Model_Abstract $object)
{
diff --git a/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php b/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php
index ff19f9d3b76..e0f6e0b147d 100644
--- a/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php
+++ b/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php
@@ -514,7 +514,6 @@ public function getData()
/**
* Prepare select for load
*
- * @param Varien_Db_Select $select
* @return string
* @throws Zend_Db_Select_Exception
*/
diff --git a/app/code/core/Mage/Core/Model/Resource/Email/Queue.php b/app/code/core/Mage/Core/Model/Resource/Email/Queue.php
index d5d10a724a5..8732876bafe 100644
--- a/app/code/core/Mage/Core/Model/Resource/Email/Queue.php
+++ b/app/code/core/Mage/Core/Model/Resource/Email/Queue.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2017-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -61,7 +61,6 @@ protected function _beforeSave(Mage_Core_Model_Abstract $object)
/**
* Check if email was added to queue for requested recipients
*
- * @param Mage_Core_Model_Email_Queue $queue
*
* @return bool
*/
@@ -140,10 +139,8 @@ public function getRecipients($messageId)
* Save message recipients
*
* @param int $messageId
- * @param array $recipients
*
* @throws Exception
- *
* @return $this
*/
public function saveRecipients($messageId, array $recipients)
diff --git a/app/code/core/Mage/Core/Model/Resource/Email/Template.php b/app/code/core/Mage/Core/Model/Resource/Email/Template.php
index 34767dd924b..f7eced690bd 100644
--- a/app/code/core/Mage/Core/Model/Resource/Email/Template.php
+++ b/app/code/core/Mage/Core/Model/Resource/Email/Template.php
@@ -48,7 +48,6 @@ public function loadByCode($templateCode)
/**
* Check usage of template code in other templates
*
- * @param Mage_Core_Model_Email_Template $template
* @return bool
*/
public function checkCodeUsage(Mage_Core_Model_Email_Template $template)
diff --git a/app/code/core/Mage/Core/Model/Resource/File/Storage/Database.php b/app/code/core/Mage/Core/Model/Resource/File/Storage/Database.php
index fab84206f61..84aa6308dff 100644
--- a/app/code/core/Mage/Core/Model/Resource/File/Storage/Database.php
+++ b/app/code/core/Mage/Core/Model/Resource/File/Storage/Database.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2016-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2016-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -121,7 +121,6 @@ protected function _decodeAllFilesContent($rows)
/**
* Load entity by filename
*
- * @param Mage_Core_Model_File_Storage_Database $object
* @param string $filename
* @param string $path
* @return $this
diff --git a/app/code/core/Mage/Core/Model/Resource/File/Storage/Directory/Database.php b/app/code/core/Mage/Core/Model/Resource/File/Storage/Directory/Database.php
index 11f5a291113..ee26b96733d 100644
--- a/app/code/core/Mage/Core/Model/Resource/File/Storage/Directory/Database.php
+++ b/app/code/core/Mage/Core/Model/Resource/File/Storage/Directory/Database.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -90,7 +90,6 @@ public function createDatabaseScheme()
/**
* Load entity by path
*
- * @param Mage_Core_Model_File_Storage_Directory_Database $object
* @param string $path
* @return $this
*/
diff --git a/app/code/core/Mage/Core/Model/Resource/Helper/Mysql4.php b/app/code/core/Mage/Core/Model/Resource/Helper/Mysql4.php
index a4029b872fc..d092fe5499b 100644
--- a/app/code/core/Mage/Core/Model/Resource/Helper/Mysql4.php
+++ b/app/code/core/Mage/Core/Model/Resource/Helper/Mysql4.php
@@ -47,7 +47,6 @@ public function prepareColumn($column, $groupAliasName = null, $orderBy = null)
/**
* Returns select query with analytic functions
*
- * @param Varien_Db_Select $select
* @return string
*/
public function getQueryUsingAnalyticFunction(Varien_Db_Select $select)
@@ -59,7 +58,6 @@ public function getQueryUsingAnalyticFunction(Varien_Db_Select $select)
*
* Returns Insert From Select On Duplicate query with analytic functions
*
- * @param Varien_Db_Select $select
* @param string $table
* @param array $fields
* @return string
@@ -84,7 +82,6 @@ public function limitUnion($select)
/**
* Returns array of quoted orders with direction
*
- * @param Varien_Db_Select $select
* @param bool $autoReset
* @return array
*/
@@ -144,7 +141,6 @@ protected function _truncateAliasName($field, $reverse = false)
/**
* Returns quoted group by fields
*
- * @param Varien_Db_Select $select
* @param bool $autoReset
* @return array
*/
@@ -170,7 +166,6 @@ protected function _prepareGroup(Varien_Db_Select $select, $autoReset = false)
/**
* Prepare and returns having array
*
- * @param Varien_Db_Select $select
* @param bool $autoReset
* @return array
* @throws Zend_Db_Exception
@@ -241,7 +236,6 @@ protected function _assembleLimit($query, $limitCount, $limitOffset, $columnList
/**
* Prepare select column list
*
- * @param Varien_Db_Select $select
* @param string $groupByCondition
* @return array
* @throws Zend_Db_Exception
diff --git a/app/code/core/Mage/Core/Model/Resource/Iterator.php b/app/code/core/Mage/Core/Model/Resource/Iterator.php
index e296aa98e75..4f959045ce5 100644
--- a/app/code/core/Mage/Core/Model/Resource/Iterator.php
+++ b/app/code/core/Mage/Core/Model/Resource/Iterator.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -26,7 +26,6 @@ class Mage_Core_Model_Resource_Iterator extends Varien_Object
*
* @param Zend_Db_Statement_Interface|Zend_Db_Select|string $query
* @param array|string $callbacks
- * @param array $args
* @param Varien_Db_Adapter_Interface $adapter
* @return $this
*/
diff --git a/app/code/core/Mage/Core/Model/Resource/Setup.php b/app/code/core/Mage/Core/Model/Resource/Setup.php
index 94530011f54..013c0d50fdf 100644
--- a/app/code/core/Mage/Core/Model/Resource/Setup.php
+++ b/app/code/core/Mage/Core/Model/Resource/Setup.php
@@ -844,13 +844,11 @@ public function tableExists($table)
}
/******************* CONFIG *****************/
-
/**
* Undefined
*
* @param string $path
* @param string $label
- * @param array $data
* @param string $default
* @return $this
* @deprecated since 1.4.0.1
diff --git a/app/code/core/Mage/Core/Model/Resource/Store.php b/app/code/core/Mage/Core/Model/Resource/Store.php
index 101c8ab751a..6bd7750330c 100644
--- a/app/code/core/Mage/Core/Model/Resource/Store.php
+++ b/app/code/core/Mage/Core/Model/Resource/Store.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -121,7 +121,6 @@ protected function _updateGroupDefaultStore($groupId, $storeId)
/**
* Change store group for store
*
- * @param Mage_Core_Model_Abstract|Mage_Core_Model_Store_Group $model
* @return $this
*/
protected function _changeGroup(Mage_Core_Model_Abstract $model)
diff --git a/app/code/core/Mage/Core/Model/Resource/Store/Collection.php b/app/code/core/Mage/Core/Model/Resource/Store/Collection.php
index 55e699a6569..25f796d84fe 100644
--- a/app/code/core/Mage/Core/Model/Resource/Store/Collection.php
+++ b/app/code/core/Mage/Core/Model/Resource/Store/Collection.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -160,7 +160,6 @@ public function load($printQuery = false, $logQuery = false)
/**
* Add root category id filter to store collection
*
- * @param array $categories
* @return $this
*/
public function loadByCategoryIds(array $categories)
diff --git a/app/code/core/Mage/Core/Model/Resource/Store/Group.php b/app/code/core/Mage/Core/Model/Resource/Store/Group.php
index 39cd96519f5..baa66f28e93 100644
--- a/app/code/core/Mage/Core/Model/Resource/Store/Group.php
+++ b/app/code/core/Mage/Core/Model/Resource/Store/Group.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -66,7 +66,6 @@ protected function _updateWebsiteDefaultGroup($websiteId, $groupId)
/**
* Change store group website
*
- * @param Mage_Core_Model_Abstract|Mage_Core_Model_Store_Group $model
* @return $this
*/
protected function _changeWebsite(Mage_Core_Model_Abstract $model)
diff --git a/app/code/core/Mage/Core/Model/Resource/Transaction.php b/app/code/core/Mage/Core/Model/Resource/Transaction.php
index 70c5823f4f4..554a8542964 100644
--- a/app/code/core/Mage/Core/Model/Resource/Transaction.php
+++ b/app/code/core/Mage/Core/Model/Resource/Transaction.php
@@ -97,7 +97,6 @@ protected function _runCallbacks()
/**
* Adding object for using in transaction
*
- * @param Mage_Core_Model_Abstract $object
* @param string $alias
* @return $this
*/
diff --git a/app/code/core/Mage/Core/Model/Resource/Translate.php b/app/code/core/Mage/Core/Model/Resource/Translate.php
index af9e335d0a7..6e2e4f56436 100644
--- a/app/code/core/Mage/Core/Model/Resource/Translate.php
+++ b/app/code/core/Mage/Core/Model/Resource/Translate.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -65,7 +65,6 @@ public function getTranslationArray($storeId = null, $locale = null)
/**
* Retrieve translations array by strings
*
- * @param array $strings
* @param int $storeId
* @return array
*/
diff --git a/app/code/core/Mage/Core/Model/Resource/Url/Rewrite.php b/app/code/core/Mage/Core/Model/Resource/Url/Rewrite.php
index 7d23ace7ec2..a8e7562019e 100644
--- a/app/code/core/Mage/Core/Model/Resource/Url/Rewrite.php
+++ b/app/code/core/Mage/Core/Model/Resource/Url/Rewrite.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -108,7 +108,6 @@ public function getRequestPathByIdPath($idPath, $store)
* Load rewrite information for request
* If $path is array - we must load all possible records and choose one matching earlier record in array
*
- * @param Mage_Core_Model_Url_Rewrite $object
* @param array|string $path
* @return Mage_Core_Model_Resource_Url_Rewrite
*/
diff --git a/app/code/core/Mage/Core/Model/Resource/Variable.php b/app/code/core/Mage/Core/Model/Resource/Variable.php
index 71faa4aa36a..6b1b03ceb74 100644
--- a/app/code/core/Mage/Core/Model/Resource/Variable.php
+++ b/app/code/core/Mage/Core/Model/Resource/Variable.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Load variable by code
*
- * @param Mage_Core_Model_Variable $object
* @param string $code
* @return $this
*/
@@ -109,7 +108,6 @@ protected function _getLoadSelect($field, $value, $object)
/**
* Add variable store and default value to select
*
- * @param Zend_Db_Select $select
* @param int $storeId
* @return $this
*/
diff --git a/app/code/core/Mage/Core/Model/Security/HtmlEscapedString.php b/app/code/core/Mage/Core/Model/Security/HtmlEscapedString.php
index afda0b6e9a0..00a9d39f3a1 100644
--- a/app/code/core/Mage/Core/Model/Security/HtmlEscapedString.php
+++ b/app/code/core/Mage/Core/Model/Security/HtmlEscapedString.php
@@ -23,9 +23,6 @@
*/
class Mage_Core_Model_Security_HtmlEscapedString implements Stringable
{
- /**
- * @var string
- */
protected string $originalValue;
/**
@@ -34,7 +31,6 @@ class Mage_Core_Model_Security_HtmlEscapedString implements Stringable
protected ?array $allowedTags;
/**
- * @param string $originalValue
* @param string[]|null $allowedTags
*/
public function __construct(string $originalValue, ?array $allowedTags = null)
@@ -45,8 +41,6 @@ public function __construct(string $originalValue, ?array $allowedTags = null)
/**
* Get escaped html entities
- *
- * @return string
*/
public function __toString(): string
{
@@ -58,8 +52,6 @@ public function __toString(): string
/**
* Get un-escaped html entities
- *
- * @return string
*/
public function getUnescapedValue(): string
{
diff --git a/app/code/core/Mage/Core/Model/Session/Abstract.php b/app/code/core/Mage/Core/Model/Session/Abstract.php
index 1782909112e..efbf672fd39 100644
--- a/app/code/core/Mage/Core/Model/Session/Abstract.php
+++ b/app/code/core/Mage/Core/Model/Session/Abstract.php
@@ -217,7 +217,6 @@ public function getMessages($clear = false)
/**
* Not Mage exception handling
*
- * @param Exception $exception
* @param string $alternativeText
* @return $this
*/
@@ -231,7 +230,6 @@ public function addException(Exception $exception, $alternativeText)
/**
* Adding new message to message collection
*
- * @param Mage_Core_Model_Message_Abstract $message
* @return $this
*/
public function addMessage(Mage_Core_Model_Message_Abstract $message)
diff --git a/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php b/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php
index 12c91fff6a3..47e40c60ee2 100644
--- a/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php
+++ b/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php
@@ -231,7 +231,6 @@ public function getSessionHosts()
/**
* Set session hosts
*
- * @param array $hosts
* @return $this
*/
public function setSessionHosts(array $hosts)
diff --git a/app/code/core/Mage/Core/Model/Store.php b/app/code/core/Mage/Core/Model/Store.php
index d0fb0c611e9..eea91b7d2e0 100644
--- a/app/code/core/Mage/Core/Model/Store.php
+++ b/app/code/core/Mage/Core/Model/Store.php
@@ -439,8 +439,6 @@ public function setConfig($path, $value)
/**
* Set website model
- *
- * @param Mage_Core_Model_Website $website
*/
public function setWebsite(Mage_Core_Model_Website $website)
{
diff --git a/app/code/core/Mage/Core/Model/Store/Group.php b/app/code/core/Mage/Core/Model/Store/Group.php
index 796ca1bfb4a..c4dac455f24 100644
--- a/app/code/core/Mage/Core/Model/Store/Group.php
+++ b/app/code/core/Mage/Core/Model/Store/Group.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -268,8 +268,6 @@ public function getStoresByLocale($locale)
/**
* Set website model
- *
- * @param Mage_Core_Model_Website $website
*/
public function setWebsite(Mage_Core_Model_Website $website)
{
diff --git a/app/code/core/Mage/Core/Model/Template.php b/app/code/core/Mage/Core/Model/Template.php
index bb6e3e85923..3170ac1e725 100644
--- a/app/code/core/Mage/Core/Model/Template.php
+++ b/app/code/core/Mage/Core/Model/Template.php
@@ -108,7 +108,6 @@ protected function getDesignConfig()
/**
* Initialize design information for template processing
*
- * @param array $config
* @return $this
*/
public function setDesignConfig(array $config)
diff --git a/app/code/core/Mage/Core/Model/Url.php b/app/code/core/Mage/Core/Model/Url.php
index 94ecf204e73..aa75dae645c 100644
--- a/app/code/core/Mage/Core/Model/Url.php
+++ b/app/code/core/Mage/Core/Model/Url.php
@@ -278,7 +278,6 @@ public function getConfigData($key, $prefix = null)
/**
* Set request
*
- * @param Zend_Controller_Request_Http $request
* @return $this
*/
public function setRequest(Zend_Controller_Request_Http $request)
@@ -615,7 +614,6 @@ public function getActionName()
/**
* Set route params
*
- * @param array $data
* @param bool $unsetOldParams
* @return $this
*/
@@ -842,7 +840,6 @@ public function getQuery($escape = false)
/**
* Set query Params as array
*
- * @param array $data
* @return $this
*/
public function setQueryParams(array $data)
@@ -1048,7 +1045,6 @@ protected function _prepareSessionUrl($url)
* Check and add session id to URL, session is obtained with parameters
*
* @param string $url
- * @param array $params
*
* @return $this
*/
diff --git a/app/code/core/Mage/Core/Model/Url/Rewrite.php b/app/code/core/Mage/Core/Model/Url/Rewrite.php
index b0e54e2745e..ff4c7be2c92 100644
--- a/app/code/core/Mage/Core/Model/Url/Rewrite.php
+++ b/app/code/core/Mage/Core/Model/Url/Rewrite.php
@@ -201,8 +201,6 @@ public function removeTag($tags)
/**
* Implement logic of custom rewrites
*
- * @param Zend_Controller_Request_Http|null $request
- * @param Zend_Controller_Response_Http|null $response
* @return bool
* @throws Mage_Core_Model_Store_Exception
* @deprecated since 1.7.0.2. Refactored and moved to Mage_Core_Controller_Request_Rewrite
diff --git a/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php b/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php
index 4188e9f93b7..b3e07478949 100644
--- a/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php
+++ b/app/code/core/Mage/Core/Model/Url/Rewrite/Request.php
@@ -70,8 +70,6 @@ class Mage_Core_Model_Url_Rewrite_Request
* config - Mage_Core_Model_Config
* factory - Mage_Core_Model_Factory
* routers - array
- *
- * @param array $args
*/
public function __construct(array $args)
{
diff --git a/app/code/core/Mage/Core/Model/Variable/Observer.php b/app/code/core/Mage/Core/Model/Variable/Observer.php
index 71e31e90e7e..1e5fb4283af 100644
--- a/app/code/core/Mage/Core/Model/Variable/Observer.php
+++ b/app/code/core/Mage/Core/Model/Variable/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Core
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Core_Model_Variable_Observer
/**
* Add variable wysiwyg plugin config
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function prepareWysiwygPluginConfig(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Cron/Model/Schedule.php b/app/code/core/Mage/Cron/Model/Schedule.php
index a072465950a..d32aa0028fb 100644
--- a/app/code/core/Mage/Cron/Model/Schedule.php
+++ b/app/code/core/Mage/Cron/Model/Schedule.php
@@ -54,9 +54,6 @@ public function _construct()
$this->_init('cron/schedule');
}
- /**
- * @return bool
- */
public function getIsError(): bool
{
return !empty($this->getData('is_error'));
diff --git a/app/code/core/Mage/CurrencySymbol/Model/Observer.php b/app/code/core/Mage/CurrencySymbol/Model/Observer.php
index d20177dc27b..f93ca81af68 100644
--- a/app/code/core/Mage/CurrencySymbol/Model/Observer.php
+++ b/app/code/core/Mage/CurrencySymbol/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_CurrencySymbol
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_CurrencySymbol_Model_Observer
/**
* Generate options for currency displaying with custom currency symbol
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function currencyDisplayOptions(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Customer/Block/Address/Renderer/Default.php b/app/code/core/Mage/Customer/Block/Address/Renderer/Default.php
index 4a7832265a4..69a7de19e5d 100644
--- a/app/code/core/Mage/Customer/Block/Address/Renderer/Default.php
+++ b/app/code/core/Mage/Customer/Block/Address/Renderer/Default.php
@@ -41,7 +41,6 @@ public function getType()
/**
* Retrieve format type object
*
- * @param Varien_Object $type
* @return $this
*/
public function setType(Varien_Object $type)
@@ -51,7 +50,6 @@ public function setType(Varien_Object $type)
}
/**
- * @param Mage_Customer_Model_Address_Abstract|null $address
* @return string
*/
public function getFormat(?Mage_Customer_Model_Address_Abstract $address = null)
@@ -72,7 +70,6 @@ public function getFormat(?Mage_Customer_Model_Address_Abstract $address = null)
/**
* Render address
*
- * @param Mage_Customer_Model_Address_Abstract $address
* @param string|null $format
* @return string
* @throws Exception
diff --git a/app/code/core/Mage/Customer/Block/Address/Renderer/Interface.php b/app/code/core/Mage/Customer/Block/Address/Renderer/Interface.php
index be40dbdc611..a302c64b521 100644
--- a/app/code/core/Mage/Customer/Block/Address/Renderer/Interface.php
+++ b/app/code/core/Mage/Customer/Block/Address/Renderer/Interface.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Customer
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,8 +23,6 @@ interface Mage_Customer_Block_Address_Renderer_Interface
{
/**
* Set format type object
- *
- * @param Varien_Object $type
*/
public function setType(Varien_Object $type);
@@ -38,7 +36,6 @@ public function getType();
/**
* Render address
*
- * @param Mage_Customer_Model_Address_Abstract $address
* @return mixed
*/
public function render(Mage_Customer_Model_Address_Abstract $address);
diff --git a/app/code/core/Mage/Customer/Block/Form/Register.php b/app/code/core/Mage/Customer/Block/Form/Register.php
index 1f6a991ae6b..c7957b0a50e 100644
--- a/app/code/core/Mage/Customer/Block/Form/Register.php
+++ b/app/code/core/Mage/Customer/Block/Form/Register.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Customer
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -156,7 +156,6 @@ public function getAddress()
* Restore entity data from session
* Entity and form code must be defined for the form
*
- * @param Mage_Customer_Model_Form $form
* @param string|null $scope
* @return $this
*/
diff --git a/app/code/core/Mage/Customer/Helper/Data.php b/app/code/core/Mage/Customer/Helper/Data.php
index c5788d6fd23..b6c6acc8dba 100644
--- a/app/code/core/Mage/Customer/Helper/Data.php
+++ b/app/code/core/Mage/Customer/Helper/Data.php
@@ -737,9 +737,6 @@ protected function _createVatNumberValidationSoapClient($trace = false)
/**
* Returns the country code used in VAT number which can be different from the ISO-2 country code.
- *
- * @param string $countryCode
- * @return string
*/
protected function _getCountryCodeForVatNumber(string $countryCode): string
{
diff --git a/app/code/core/Mage/Customer/Model/Address.php b/app/code/core/Mage/Customer/Model/Address.php
index d9b1377f101..8ffb92461d0 100644
--- a/app/code/core/Mage/Customer/Model/Address.php
+++ b/app/code/core/Mage/Customer/Model/Address.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Customer
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -79,7 +79,6 @@ public function getCustomer()
/**
* Specify address customer
*
- * @param Mage_Customer_Model_Customer $customer
* @return $this
*/
public function setCustomer(Mage_Customer_Model_Customer $customer)
diff --git a/app/code/core/Mage/Customer/Model/Api/Resource.php b/app/code/core/Mage/Customer/Model/Api/Resource.php
index 4e5fef55613..63d92f6a455 100644
--- a/app/code/core/Mage/Customer/Model/Api/Resource.php
+++ b/app/code/core/Mage/Customer/Model/Api/Resource.php
@@ -39,7 +39,6 @@ class Mage_Customer_Model_Api_Resource extends Mage_Api_Model_Resource_Abstract
* Check is attribute allowed
*
* @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
- * @param array|null $filter
* @return bool
*/
protected function _isAllowedAttribute($attribute, ?array $filter = null)
@@ -59,7 +58,6 @@ protected function _isAllowedAttribute($attribute, ?array $filter = null)
* Return list of allowed attributes
*
* @param Mage_Eav_Model_Entity_Abstract $entity
- * @param array|null $filter
* @return array
*/
public function getAllowedAttributes($entity, ?array $filter = null)
diff --git a/app/code/core/Mage/Customer/Model/Api2/Customer/Address.php b/app/code/core/Mage/Customer/Model/Api2/Customer/Address.php
index ad14a86fdcc..3883451efbe 100644
--- a/app/code/core/Mage/Customer/Model/Api2/Customer/Address.php
+++ b/app/code/core/Mage/Customer/Model/Api2/Customer/Address.php
@@ -44,7 +44,6 @@ protected function _getValidator()
/**
* Is specified address a default billing address?
*
- * @param Mage_Customer_Model_Address $address
* @return bool
*/
protected function _isDefaultBillingAddress(Mage_Customer_Model_Address $address)
@@ -55,7 +54,6 @@ protected function _isDefaultBillingAddress(Mage_Customer_Model_Address $address
/**
* Is specified address a default shipping address?
*
- * @param Mage_Customer_Model_Address $address
* @return bool
*/
protected function _isDefaultShippingAddress(Mage_Customer_Model_Address $address)
diff --git a/app/code/core/Mage/Customer/Model/Api2/Customer/Address/Rest.php b/app/code/core/Mage/Customer/Model/Api2/Customer/Address/Rest.php
index 5eba2b06e5a..d029c097483 100644
--- a/app/code/core/Mage/Customer/Model/Api2/Customer/Address/Rest.php
+++ b/app/code/core/Mage/Customer/Model/Api2/Customer/Address/Rest.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Customer
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ abstract class Mage_Customer_Model_Api2_Customer_Address_Rest extends Mage_Custo
/**
* Create customer address
*
- * @param array $data
* @throws Mage_Api2_Exception
* @return string
*/
@@ -111,7 +110,6 @@ protected function _getCollectionForRetrieve()
/**
* Get array with default addresses information if possible
*
- * @param Mage_Customer_Model_Address $address
* @return array
*/
protected function _getDefaultAddressesInfo(Mage_Customer_Model_Address $address)
@@ -125,7 +123,6 @@ protected function _getDefaultAddressesInfo(Mage_Customer_Model_Address $address
/**
* Update specified stock item
*
- * @param array $data
* @throws Mage_Api2_Exception
*/
protected function _update(array $data)
diff --git a/app/code/core/Mage/Customer/Model/Api2/Customer/Address/Validator.php b/app/code/core/Mage/Customer/Model/Api2/Customer/Address/Validator.php
index 93992d26564..4256f07ea59 100644
--- a/app/code/core/Mage/Customer/Model/Api2/Customer/Address/Validator.php
+++ b/app/code/core/Mage/Customer/Model/Api2/Customer/Address/Validator.php
@@ -29,7 +29,6 @@ class Mage_Customer_Model_Api2_Customer_Address_Validator extends Mage_Api2_Mode
/**
* Filter request data.
*
- * @param array $data
* @return array Filtered data
*/
public function filter(array $data)
@@ -55,7 +54,6 @@ public function filter(array $data)
/**
* Validate data for create association with the country
*
- * @param array $data
* @return bool
*/
public function isValidDataForCreateAssociationWithCountry(array $data)
@@ -66,8 +64,6 @@ public function isValidDataForCreateAssociationWithCountry(array $data)
/**
* Validate data for change association with the country
*
- * @param Mage_Customer_Model_Address $address
- * @param array $data
* @return bool
*/
public function isValidDataForChangeAssociationWithCountry(Mage_Customer_Model_Address $address, array $data)
@@ -88,7 +84,6 @@ public function isValidDataForChangeAssociationWithCountry(Mage_Customer_Model_A
* Check region
*
* @param array $data
- * @param Mage_Directory_Model_Country $country
* @return bool
*/
protected function _checkRegion($data, Mage_Directory_Model_Country $country)
diff --git a/app/code/core/Mage/Customer/Model/Api2/Customer/Rest.php b/app/code/core/Mage/Customer/Model/Api2/Customer/Rest.php
index 16f462bd3b8..1323746451c 100644
--- a/app/code/core/Mage/Customer/Model/Api2/Customer/Rest.php
+++ b/app/code/core/Mage/Customer/Model/Api2/Customer/Rest.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Customer
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ abstract class Mage_Customer_Model_Api2_Customer_Rest extends Mage_Customer_Mode
/**
* Create customer
*
- * @param array $data
* @return string
*/
protected function _create(array $data)
@@ -82,7 +81,6 @@ protected function _retrieveCollection()
/**
* Update customer
*
- * @param array $data
* @throws Mage_Api2_Exception
*/
protected function _update(array $data)
diff --git a/app/code/core/Mage/Customer/Model/Api2/Customer/Rest/Customer/V1.php b/app/code/core/Mage/Customer/Model/Api2/Customer/Rest/Customer/V1.php
index d24334d7f00..617480ea6a4 100644
--- a/app/code/core/Mage/Customer/Model/Api2/Customer/Rest/Customer/V1.php
+++ b/app/code/core/Mage/Customer/Model/Api2/Customer/Rest/Customer/V1.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Customer
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -60,7 +60,6 @@ protected function _getCollectionForRetrieve()
/**
* Update customer
*
- * @param array $data
* @throws Mage_Api2_Exception
*/
protected function _update(array $data)
@@ -73,7 +72,6 @@ protected function _update(array $data)
/**
* Update customers
*
- * @param array $data
* @throws Mage_Api2_Exception
*/
protected function _multiUpdate(array $data)
diff --git a/app/code/core/Mage/Customer/Model/Convert/Adapter/Customer.php b/app/code/core/Mage/Customer/Model/Convert/Adapter/Customer.php
index 7cefb08d4f5..e533c7af271 100644
--- a/app/code/core/Mage/Customer/Model/Convert/Adapter/Customer.php
+++ b/app/code/core/Mage/Customer/Model/Convert/Adapter/Customer.php
@@ -347,7 +347,6 @@ public function parse()
}
/**
- * @param Mage_Customer_Model_Customer $customer
* @throws Mage_Core_Exception
* @throws Varien_Exception
*/
diff --git a/app/code/core/Mage/Customer/Model/Customer.php b/app/code/core/Mage/Customer/Model/Customer.php
index a81cbcb0e4f..9a9b1b8f242 100644
--- a/app/code/core/Mage/Customer/Model/Customer.php
+++ b/app/code/core/Mage/Customer/Model/Customer.php
@@ -365,7 +365,6 @@ public function getName()
/**
* Add address to address collection
*
- * @param Mage_Customer_Model_Address $address
* @return $this
* @throws Mage_Core_Exception
*/
@@ -477,9 +476,6 @@ public function getAttribute($attributeCode)
return $this->_attributes[$attributeCode] ?? null;
}
- /**
- * @return string
- */
public function getPassword(): string
{
return (string) $this->_getData('password');
@@ -704,7 +700,6 @@ public function getAdditionalAddresses()
/**
* Check if address is primary
*
- * @param Mage_Customer_Model_Address $address
* @return bool
*/
public function isAddressPrimary(Mage_Customer_Model_Address $address)
@@ -1025,7 +1020,6 @@ public function getSharedWebsiteIds()
/**
* Set store to customer
*
- * @param Mage_Core_Model_Store $store
* @return $this
*/
public function setStore(Mage_Core_Model_Store $store)
@@ -1132,7 +1126,6 @@ public function validateResetPassword()
/**
* Import customer data from text array
*
- * @param array $row
* @return $this|null
* @throws Mage_Core_Exception
* @throws Mage_Core_Model_Store_Exception
@@ -1394,7 +1387,6 @@ public function printError($error, $line = null)
/**
* Validate address
*
- * @param array $data
* @param string $type
* @return bool
*/
diff --git a/app/code/core/Mage/Customer/Model/Entity/Address/Attribute/Source/Country.php b/app/code/core/Mage/Customer/Model/Entity/Address/Attribute/Source/Country.php
index 53fc8bb392c..89b9164b461 100644
--- a/app/code/core/Mage/Customer/Model/Entity/Address/Attribute/Source/Country.php
+++ b/app/code/core/Mage/Customer/Model/Entity/Address/Attribute/Source/Country.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Customer
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2018-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -28,9 +28,6 @@ class Mage_Customer_Model_Entity_Address_Attribute_Source_Country extends Mage_C
*/
protected $_factory;
- /**
- * @param array $args
- */
public function __construct(array $args = [])
{
$this->_factory = !empty($args['factory']) ? $args['factory'] : Mage::getSingleton('core/factory');
diff --git a/app/code/core/Mage/Customer/Model/Resource/Address.php b/app/code/core/Mage/Customer/Model/Resource/Address.php
index 2974c88de22..964baf025b7 100644
--- a/app/code/core/Mage/Customer/Model/Resource/Address.php
+++ b/app/code/core/Mage/Customer/Model/Resource/Address.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Customer
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -33,7 +33,6 @@ protected function _construct()
/**
* Set default shipping to address
*
- * @param Varien_Object|Mage_Customer_Model_Address $address
* @return $this
*/
protected function _afterSave(Varien_Object $address)
diff --git a/app/code/core/Mage/Customer/Model/Resource/Customer.php b/app/code/core/Mage/Customer/Model/Resource/Customer.php
index 9d89a366940..5287148b8cb 100644
--- a/app/code/core/Mage/Customer/Model/Resource/Customer.php
+++ b/app/code/core/Mage/Customer/Model/Resource/Customer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Customer
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2018-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -101,7 +101,6 @@ protected function _beforeSave(Varien_Object $customer)
/**
* Save customer addresses and set default addresses in attributes backend
*
- * @param Varien_Object $customer
* @return Mage_Eav_Model_Entity_Abstract
*/
protected function _afterSave(Varien_Object $customer)
@@ -113,7 +112,6 @@ protected function _afterSave(Varien_Object $customer)
/**
* Save/delete customer address
*
- * @param Mage_Customer_Model_Customer $customer
* @return $this
*/
protected function _saveAddresses(Mage_Customer_Model_Customer $customer)
@@ -187,7 +185,6 @@ protected function _getLoadRowSelect($object, $rowId)
*
* @throws Mage_Core_Exception
*
- * @param Mage_Customer_Model_Customer $customer
* @param string $email
* @param bool $testOnly
* @return $this
@@ -223,7 +220,6 @@ public function loadByEmail(Mage_Customer_Model_Customer $customer, $email, $tes
/**
* Change customer password
*
- * @param Mage_Customer_Model_Customer $customer
* @param string $newPassword
* @return $this
*/
@@ -297,7 +293,6 @@ public function getWebsiteId($customerId)
/**
* Custom setter of increment ID if its needed
*
- * @param Varien_Object $object
* @return $this
*/
public function setNewIncrementId(Varien_Object $object)
@@ -313,7 +308,6 @@ public function setNewIncrementId(Varien_Object $object)
*
* Stores new reset password link token and its creation time
*
- * @param Mage_Customer_Model_Customer $customer
* @param string $newResetPasswordLinkToken
* @return $this
*/
@@ -334,7 +328,6 @@ public function changeResetPasswordLinkToken(Mage_Customer_Model_Customer $custo
*
* Stores new reset password link customer Id
*
- * @param Mage_Customer_Model_Customer $customer
* @param string $newResetPasswordLinkCustomerId
* @return $this
* @throws Exception
diff --git a/app/code/core/Mage/Customer/Model/Resource/Group.php b/app/code/core/Mage/Customer/Model/Resource/Group.php
index 75d94df3599..13e1bf52913 100644
--- a/app/code/core/Mage/Customer/Model/Resource/Group.php
+++ b/app/code/core/Mage/Customer/Model/Resource/Group.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Customer
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -45,7 +45,6 @@ protected function _initUniqueFields()
/**
* Check if group uses as default
*
- * @param Mage_Core_Model_Abstract $group
* @throws Mage_Core_Exception
* @return Mage_Core_Model_Resource_Db_Abstract
*/
@@ -61,7 +60,6 @@ protected function _beforeDelete(Mage_Core_Model_Abstract $group)
/**
* Method set default group id to the customers collection
*
- * @param Mage_Core_Model_Abstract $group
* @return Mage_Core_Model_Resource_Db_Abstract
*/
protected function _afterDelete(Mage_Core_Model_Abstract $group)
diff --git a/app/code/core/Mage/Customer/Model/Session.php b/app/code/core/Mage/Customer/Model/Session.php
index 72cf2d8f18b..b3fa73dc2b7 100644
--- a/app/code/core/Mage/Customer/Model/Session.php
+++ b/app/code/core/Mage/Customer/Model/Session.php
@@ -98,7 +98,6 @@ public function __construct()
/**
* Set customer object and setting customer id in session
*
- * @param Mage_Customer_Model_Customer $customer
* @return Mage_Customer_Model_Session
*/
public function setCustomer(Mage_Customer_Model_Customer $customer)
@@ -284,7 +283,6 @@ public function logout()
/**
* Authenticate controller action by login customer
*
- * @param Mage_Core_Controller_Varien_Action $action
* @param bool $loginUrl
* @return bool
*/
diff --git a/app/code/core/Mage/Customer/controllers/AccountController.php b/app/code/core/Mage/Customer/controllers/AccountController.php
index e9433bbbcd0..873660d6000 100644
--- a/app/code/core/Mage/Customer/controllers/AccountController.php
+++ b/app/code/core/Mage/Customer/controllers/AccountController.php
@@ -322,7 +322,6 @@ public function createPostAction()
/**
* Success Registration
*
- * @param Mage_Customer_Model_Customer $customer
* @return $this
* @throws Mage_Core_Exception
*/
@@ -542,7 +541,6 @@ protected function _getFromRegistry($path)
* Add welcome message and send new account email.
* Returns success URL
*
- * @param Mage_Customer_Model_Customer $customer
* @param bool $isJustConfirmed
* @return string
* @throws Mage_Core_Model_Store_Exception
@@ -1100,7 +1098,6 @@ protected function _isVatValidationEnabled($store = null)
/**
* Get restore password params.
*
- * @param Mage_Customer_Model_Session $session
* @return array array ($customerId, $resetPasswordToken)
*/
protected function _getRestorePasswordParameters(Mage_Customer_Model_Session $session)
diff --git a/app/code/core/Mage/Dataflow/Model/Batch/Io.php b/app/code/core/Mage/Dataflow/Model/Batch/Io.php
index 059b612630c..944a59ac597 100644
--- a/app/code/core/Mage/Dataflow/Model/Batch/Io.php
+++ b/app/code/core/Mage/Dataflow/Model/Batch/Io.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Dataflow
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -62,7 +62,6 @@ class Mage_Dataflow_Model_Batch_Io
/**
* Init model (required)
*
- * @param Mage_Dataflow_Model_Batch $object
* @return $this
*/
public function init(Mage_Dataflow_Model_Batch $object)
diff --git a/app/code/core/Mage/Dataflow/Model/Convert/Action/Abstract.php b/app/code/core/Mage/Dataflow/Model/Convert/Action/Abstract.php
index d86962d971e..38548e6a76d 100644
--- a/app/code/core/Mage/Dataflow/Model/Convert/Action/Abstract.php
+++ b/app/code/core/Mage/Dataflow/Model/Convert/Action/Abstract.php
@@ -136,7 +136,6 @@ public function addAction(?Mage_Dataflow_Model_Convert_Action_Interface $action
/**
* Set action's container
*
- * @param Mage_Dataflow_Model_Convert_Container_Interface $container
* @return Mage_Dataflow_Model_Convert_Action_Abstract
*/
public function setContainer(Mage_Dataflow_Model_Convert_Container_Interface $container)
diff --git a/app/code/core/Mage/Dataflow/Model/Convert/Parser/Xml/Excel.php b/app/code/core/Mage/Dataflow/Model/Convert/Parser/Xml/Excel.php
index 3ce062469be..a7fa4583dd3 100644
--- a/app/code/core/Mage/Dataflow/Model/Convert/Parser/Xml/Excel.php
+++ b/app/code/core/Mage/Dataflow/Model/Convert/Parser/Xml/Excel.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Dataflow
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -309,7 +309,6 @@ public function unparse()
/**
* Prepare and return XML string for MS Excel XML from array
*
- * @param array $fields
* @return string
*/
protected function _getXmlString(array $fields = [])
diff --git a/app/code/core/Mage/Dataflow/Model/Resource/Batch/Abstract.php b/app/code/core/Mage/Dataflow/Model/Resource/Batch/Abstract.php
index 737317ca6b5..db2df02eaff 100644
--- a/app/code/core/Mage/Dataflow/Model/Resource/Batch/Abstract.php
+++ b/app/code/core/Mage/Dataflow/Model/Resource/Batch/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Dataflow
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ abstract class Mage_Dataflow_Model_Resource_Batch_Abstract extends Mage_Core_Mod
/**
* Retrieve Id collection
*
- * @param Mage_Dataflow_Model_Batch_Abstract $object
* @return array
*/
public function getIdCollection(Mage_Dataflow_Model_Batch_Abstract $object)
@@ -44,7 +43,6 @@ public function getIdCollection(Mage_Dataflow_Model_Batch_Abstract $object)
/**
* Delete current Batch collection
*
- * @param Mage_Dataflow_Model_Batch_Abstract $object
* @return Mage_Dataflow_Model_Resource_Batch_Abstract
*/
public function deleteCollection(Mage_Dataflow_Model_Batch_Abstract $object)
diff --git a/app/code/core/Mage/Dataflow/Model/Resource/Profile/History.php b/app/code/core/Mage/Dataflow/Model/Resource/Profile/History.php
index 0d99fba182e..3ed303aa479 100644
--- a/app/code/core/Mage/Dataflow/Model/Resource/Profile/History.php
+++ b/app/code/core/Mage/Dataflow/Model/Resource/Profile/History.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Dataflow
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Sets up performed at time if needed
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
protected function _beforeSave(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Directory/Block/Adminhtml/Frontend/Region/Updater.php b/app/code/core/Mage/Directory/Block/Adminhtml/Frontend/Region/Updater.php
index 1dba8958ff7..d33929e1f40 100644
--- a/app/code/core/Mage/Directory/Block/Adminhtml/Frontend/Region/Updater.php
+++ b/app/code/core/Mage/Directory/Block/Adminhtml/Frontend/Region/Updater.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Directory
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Directory_Block_Adminhtml_Frontend_Region_Updater extends Mage_Adminhtml_Block_System_Config_Form_Field
{
/**
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Directory/Helper/Data.php b/app/code/core/Mage/Directory/Helper/Data.php
index be20bd6e0e1..7ba984161dd 100644
--- a/app/code/core/Mage/Directory/Helper/Data.php
+++ b/app/code/core/Mage/Directory/Helper/Data.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Directory
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -87,9 +87,6 @@ class Mage_Directory_Helper_Data extends Mage_Core_Helper_Abstract
*/
protected $_app;
- /**
- * @param array $args
- */
public function __construct(array $args = [])
{
$this->_factory = !empty($args['factory']) ? $args['factory'] : Mage::getSingleton('core/factory');
diff --git a/app/code/core/Mage/Directory/Model/Country.php b/app/code/core/Mage/Directory/Model/Country.php
index 264cab21db7..f2f7c76b78b 100644
--- a/app/code/core/Mage/Directory/Model/Country.php
+++ b/app/code/core/Mage/Directory/Model/Country.php
@@ -79,7 +79,6 @@ public function getRegionCollection()
}
/**
- * @param Varien_Object $address
* @param bool $html
* @return string
*/
diff --git a/app/code/core/Mage/Directory/Model/Currency/Import/Currencyconverterapi.php b/app/code/core/Mage/Directory/Model/Currency/Import/Currencyconverterapi.php
index 674a9b952f6..e4898c30002 100644
--- a/app/code/core/Mage/Directory/Model/Currency/Import/Currencyconverterapi.php
+++ b/app/code/core/Mage/Directory/Model/Currency/Import/Currencyconverterapi.php
@@ -94,9 +94,7 @@ public function fetchRates()
/**
* Batch import of currency rates
*
- * @param array $data
* @param string $currencyFrom
- * @param array $currenciesTo
* @return array
*/
protected function _convertBatch(array $data, $currencyFrom, array $currenciesTo)
@@ -173,7 +171,6 @@ protected function _getServiceResponse($url, $retry = 0)
/**
* Fill simulated response with empty data
*
- * @param array $currenciesTo
* @return array
*/
protected function _makeEmptyResponse(array $currenciesTo)
diff --git a/app/code/core/Mage/Directory/Model/Currency/Import/Fixerio.php b/app/code/core/Mage/Directory/Model/Currency/Import/Fixerio.php
index fe696e81780..3022812bc0b 100644
--- a/app/code/core/Mage/Directory/Model/Currency/Import/Fixerio.php
+++ b/app/code/core/Mage/Directory/Model/Currency/Import/Fixerio.php
@@ -94,9 +94,7 @@ public function fetchRates()
/**
* Batch import of currency rates
*
- * @param array $data
* @param string $currencyFrom
- * @param array $currenciesTo
* @return array
*/
protected function _convertBatch(array $data, $currencyFrom, array $currenciesTo)
@@ -178,7 +176,6 @@ protected function _getServiceResponse($url, $retry = 0)
/**
* Validate response from external service
*
- * @param array $response
* @param string $baseCurrency
* @return bool
*/
@@ -213,7 +210,6 @@ protected function _validateResponse(array $response, $baseCurrency)
/**
* Fill simulated response with empty data
*
- * @param array $currenciesTo
* @return array
*/
protected function _makeEmptyResponse(array $currenciesTo)
diff --git a/app/code/core/Mage/Directory/Model/Resource/Country.php b/app/code/core/Mage/Directory/Model/Resource/Country.php
index 347182c189e..55671d27d72 100644
--- a/app/code/core/Mage/Directory/Model/Resource/Country.php
+++ b/app/code/core/Mage/Directory/Model/Resource/Country.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Directory
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,11 +29,9 @@ protected function _construct()
/**
* Load country by ISO code
*
- * @param Mage_Directory_Model_Country $country
* @param string $code
*
* @throws Mage_Core_Exception
- *
* @return $this
*/
public function loadByCode(Mage_Directory_Model_Country $country, $code)
diff --git a/app/code/core/Mage/Directory/Model/Resource/Region.php b/app/code/core/Mage/Directory/Model/Resource/Region.php
index 5bfd5334a69..f19f0c48839 100644
--- a/app/code/core/Mage/Directory/Model/Resource/Region.php
+++ b/app/code/core/Mage/Directory/Model/Resource/Region.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Directory
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -117,10 +117,8 @@ protected function _loadByCountry($object, $countryId, $value, $field)
/**
* Loads region by region code and country id
*
- * @param Mage_Directory_Model_Region $region
* @param string $regionCode
* @param string $countryId
- *
* @return $this
*/
public function loadByCode(Mage_Directory_Model_Region $region, $regionCode, $countryId)
@@ -131,10 +129,8 @@ public function loadByCode(Mage_Directory_Model_Region $region, $regionCode, $co
/**
* Load data by country id and default region name
*
- * @param Mage_Directory_Model_Region $region
* @param string $regionName
* @param string $countryId
- *
* @return $this
*/
public function loadByName(Mage_Directory_Model_Region $region, $regionName, $countryId)
diff --git a/app/code/core/Mage/Downloadable/Helper/Catalog/Product/Configuration.php b/app/code/core/Mage/Downloadable/Helper/Catalog/Product/Configuration.php
index a1bf2cbbb1f..3ddb16262e4 100644
--- a/app/code/core/Mage/Downloadable/Helper/Catalog/Product/Configuration.php
+++ b/app/code/core/Mage/Downloadable/Helper/Catalog/Product/Configuration.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Downloadable
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -26,7 +26,6 @@ class Mage_Downloadable_Helper_Catalog_Product_Configuration extends Mage_Core_H
/**
* Retrieves item links options
*
- * @param Mage_Catalog_Model_Product_Configuration_Item_Interface $item
* @return array
*/
public function getLinks(Mage_Catalog_Model_Product_Configuration_Item_Interface $item)
@@ -66,7 +65,6 @@ public function getLinksTitle($product)
/**
* Retrieves product options
*
- * @param Mage_Catalog_Model_Product_Configuration_Item_Interface $item
* @return array
*/
public function getOptions(Mage_Catalog_Model_Product_Configuration_Item_Interface $item)
diff --git a/app/code/core/Mage/Downloadable/Model/Observer.php b/app/code/core/Mage/Downloadable/Model/Observer.php
index 216ec1998da..b2e6707242a 100644
--- a/app/code/core/Mage/Downloadable/Model/Observer.php
+++ b/app/code/core/Mage/Downloadable/Model/Observer.php
@@ -45,7 +45,6 @@ public function prepareProductSave($observer)
/**
* Save data from order to purchased links
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function saveDownloadableOrderItem(Varien_Event_Observer $observer)
@@ -252,7 +251,6 @@ public function setLinkStatus($observer)
/**
* Check is allowed guest checkout if quote contain downloadable product(s)
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function isAllowedGuestCheckout(Varien_Event_Observer $observer)
@@ -282,7 +280,6 @@ public function isAllowedGuestCheckout(Varien_Event_Observer $observer)
/**
* Initialize product options renderer with downloadable specific params
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function initOptionRenderer(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Downloadable/Model/Product/Type.php b/app/code/core/Mage/Downloadable/Model/Product/Type.php
index dff0e64ad7e..8bea3314de9 100644
--- a/app/code/core/Mage/Downloadable/Model/Product/Type.php
+++ b/app/code/core/Mage/Downloadable/Model/Product/Type.php
@@ -266,7 +266,6 @@ public function save($product = null)
* Prepare product and its configuration to be added to some products list.
* Perform standard preparation process and then prepare options for downloadable links.
*
- * @param Varien_Object $buyRequest
* @param Mage_Catalog_Model_Product $product
* @param string $processMode
* @return array|string
diff --git a/app/code/core/Mage/Eav/Model/Attribute/Data.php b/app/code/core/Mage/Eav/Model/Attribute/Data.php
index 1ad7379caa8..c19bdbcf586 100644
--- a/app/code/core/Mage/Eav/Model/Attribute/Data.php
+++ b/app/code/core/Mage/Eav/Model/Attribute/Data.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -39,8 +39,6 @@ class Mage_Eav_Model_Attribute_Data
* Return attribute data model by attribute
* Set entity to data model (need for work)
*
- * @param Mage_Eav_Model_Attribute $attribute
- * @param Mage_Core_Model_Abstract $entity
* @return Mage_Eav_Model_Attribute_Data_Abstract
*/
public static function factory(Mage_Eav_Model_Attribute $attribute, Mage_Core_Model_Abstract $entity)
diff --git a/app/code/core/Mage/Eav/Model/Attribute/Data/Abstract.php b/app/code/core/Mage/Eav/Model/Attribute/Data/Abstract.php
index f672943a376..a38c7e46d0f 100644
--- a/app/code/core/Mage/Eav/Model/Attribute/Data/Abstract.php
+++ b/app/code/core/Mage/Eav/Model/Attribute/Data/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -74,7 +74,6 @@ abstract class Mage_Eav_Model_Attribute_Data_Abstract
/**
* Set attribute instance
*
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @return Mage_Eav_Model_Attribute_Data_Abstract
*/
public function setAttribute(Mage_Eav_Model_Entity_Attribute_Abstract $attribute)
@@ -125,7 +124,6 @@ public function setRequestScopeOnly($flag)
/**
* Set entity instance
*
- * @param Mage_Core_Model_Abstract $entity
* @return Mage_Eav_Model_Attribute_Data_Abstract
*/
public function setEntity(Mage_Core_Model_Abstract $entity)
@@ -150,7 +148,6 @@ public function getEntity()
/**
* Set array of full extracted data
*
- * @param array $data
* @return Mage_Eav_Model_Attribute_Data_Abstract
*/
public function setExtractedData(array $data)
@@ -471,7 +468,6 @@ public function getIsAjaxRequest()
/**
* Return Original Attribute value from Request
*
- * @param Zend_Controller_Request_Http $request
* @return mixed
*/
protected function _getRequestValue(Zend_Controller_Request_Http $request)
@@ -502,7 +498,6 @@ protected function _getRequestValue(Zend_Controller_Request_Http $request)
/**
* Extract data from request and return value
*
- * @param Zend_Controller_Request_Http $request
* @return array|string
*/
abstract public function extractValue(Zend_Controller_Request_Http $request);
diff --git a/app/code/core/Mage/Eav/Model/Attribute/Data/Date.php b/app/code/core/Mage/Eav/Model/Attribute/Data/Date.php
index db428de9d85..9105137c946 100644
--- a/app/code/core/Mage/Eav/Model/Attribute/Data/Date.php
+++ b/app/code/core/Mage/Eav/Model/Attribute/Data/Date.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Eav_Model_Attribute_Data_Date extends Mage_Eav_Model_Attribute_Data_A
/**
* Extract data from request and return value
*
- * @param Zend_Controller_Request_Http $request
* @return array|string|false
*/
public function extractValue(Zend_Controller_Request_Http $request)
diff --git a/app/code/core/Mage/Eav/Model/Attribute/Data/File.php b/app/code/core/Mage/Eav/Model/Attribute/Data/File.php
index 273b03de8d1..2c5814708a1 100644
--- a/app/code/core/Mage/Eav/Model/Attribute/Data/File.php
+++ b/app/code/core/Mage/Eav/Model/Attribute/Data/File.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -31,7 +31,6 @@ class Mage_Eav_Model_Attribute_Data_File extends Mage_Eav_Model_Attribute_Data_A
/**
* Extract data from request and return value
*
- * @param Zend_Controller_Request_Http $request
* @return false|array|string
*/
public function extractValue(Zend_Controller_Request_Http $request)
diff --git a/app/code/core/Mage/Eav/Model/Attribute/Data/Multiline.php b/app/code/core/Mage/Eav/Model/Attribute/Data/Multiline.php
index 7352002932e..343695fe932 100644
--- a/app/code/core/Mage/Eav/Model/Attribute/Data/Multiline.php
+++ b/app/code/core/Mage/Eav/Model/Attribute/Data/Multiline.php
@@ -24,7 +24,6 @@ class Mage_Eav_Model_Attribute_Data_Multiline extends Mage_Eav_Model_Attribute_D
/**
* Extract data from request and return value
*
- * @param Zend_Controller_Request_Http $request
* @return array|string
*/
public function extractValue(Zend_Controller_Request_Http $request)
diff --git a/app/code/core/Mage/Eav/Model/Attribute/Data/Multiselect.php b/app/code/core/Mage/Eav/Model/Attribute/Data/Multiselect.php
index 5ebb86cf9ef..4f8c039636d 100644
--- a/app/code/core/Mage/Eav/Model/Attribute/Data/Multiselect.php
+++ b/app/code/core/Mage/Eav/Model/Attribute/Data/Multiselect.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2018-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Eav_Model_Attribute_Data_Multiselect extends Mage_Eav_Model_Attribute
/**
* Extract data from request and return value
*
- * @param Zend_Controller_Request_Http $request
* @return array|string
*/
public function extractValue(Zend_Controller_Request_Http $request)
diff --git a/app/code/core/Mage/Eav/Model/Attribute/Data/Select.php b/app/code/core/Mage/Eav/Model/Attribute/Data/Select.php
index dfdcff02e4d..6a76dbda64f 100644
--- a/app/code/core/Mage/Eav/Model/Attribute/Data/Select.php
+++ b/app/code/core/Mage/Eav/Model/Attribute/Data/Select.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Eav_Model_Attribute_Data_Select extends Mage_Eav_Model_Attribute_Data
/**
* Extract data from request and return value
*
- * @param Zend_Controller_Request_Http $request
* @return array|string
*/
public function extractValue(Zend_Controller_Request_Http $request)
diff --git a/app/code/core/Mage/Eav/Model/Attribute/Data/Text.php b/app/code/core/Mage/Eav/Model/Attribute/Data/Text.php
index ddc28871bec..729c808348b 100644
--- a/app/code/core/Mage/Eav/Model/Attribute/Data/Text.php
+++ b/app/code/core/Mage/Eav/Model/Attribute/Data/Text.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Eav_Model_Attribute_Data_Text extends Mage_Eav_Model_Attribute_Data_A
/**
* Extract data from request and return value
*
- * @param Zend_Controller_Request_Http $request
* @return array|string
*/
public function extractValue(Zend_Controller_Request_Http $request)
diff --git a/app/code/core/Mage/Eav/Model/Config.php b/app/code/core/Mage/Eav/Model/Config.php
index 64308d6aed7..0ce7afa50c5 100644
--- a/app/code/core/Mage/Eav/Model/Config.php
+++ b/app/code/core/Mage/Eav/Model/Config.php
@@ -650,7 +650,6 @@ public function loadCollectionAttributes($entityType, $attributes)
/**
* @param string|Mage_Eav_Model_Entity_Type $entityType
- * @param array $attributes
* @return $this
* @deprecated No longer required. All attribute data is cached on-access.
*/
diff --git a/app/code/core/Mage/Eav/Model/Convert/Parser/Abstract.php b/app/code/core/Mage/Eav/Model/Convert/Parser/Abstract.php
index 295048c1ecd..6bb7ef7dd4b 100644
--- a/app/code/core/Mage/Eav/Model/Convert/Parser/Abstract.php
+++ b/app/code/core/Mage/Eav/Model/Convert/Parser/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -108,7 +108,6 @@ public function getAttributeSetId($entityTypeId, $name)
}
/**
- * @param Mage_Eav_Model_Entity_Attribute_Source_Interface $source
* @param string $value
* @return string|null
*/
diff --git a/app/code/core/Mage/Eav/Model/Entity/Abstract.php b/app/code/core/Mage/Eav/Model/Entity/Abstract.php
index b29d54922c1..304c2823f86 100644
--- a/app/code/core/Mage/Eav/Model/Entity/Abstract.php
+++ b/app/code/core/Mage/Eav/Model/Entity/Abstract.php
@@ -433,7 +433,6 @@ protected function _getDefaultAttribute($attributeCode)
/**
* Adding attribute to entity
*
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @return Mage_Eav_Model_Entity_Abstract
*/
public function addAttribute(Mage_Eav_Model_Entity_Attribute_Abstract $attribute)
@@ -590,7 +589,6 @@ protected function _isApplicableAttribute($object, $attribute)
* for example: $this->walkAttributes('backend/validate');
*
* @param string $partMethod
- * @param array $args
* @return array
* @throws Mage_Eav_Model_Entity_Attribute_Exception
*/
@@ -825,7 +823,6 @@ public function validate($object)
/**
* Set new increment id to object
*
- * @param Varien_Object $object
* @return Mage_Eav_Model_Entity_Abstract
*/
public function setNewIncrementId(Varien_Object $object)
@@ -846,7 +843,6 @@ public function setNewIncrementId(Varien_Object $object)
/**
* Check attribute unique value
*
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @param Varien_Object $object
* @return bool
*/
@@ -994,7 +990,6 @@ protected function _loadModelAttributes($object)
/**
* Prepare select object for loading entity attributes values
*
- * @param array $selects
* @return Varien_Db_Select
*/
protected function _prepareLoadSelect(array $selects)
@@ -1068,7 +1063,6 @@ protected function _setAttributeValue($object, $valueRow)
/**
* Save entity's attributes into the object's resource
*
- * @param Varien_Object $object
* @return Mage_Eav_Model_Entity_Abstract
*/
public function save(Varien_Object $object)
@@ -1219,9 +1213,7 @@ protected function _collectSaveData($newObject)
/**
* Return if attribute exists in original data array.
*
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @param mixed $v New value of the attribute. Can be used in subclasses.
- * @param array $origData
* @return bool
*/
protected function _canUpdateAttribute(Mage_Eav_Model_Entity_Attribute_Abstract $attribute, $v, array &$origData)
@@ -1465,7 +1457,6 @@ protected function _processAttributeValues()
* Prepare value for save
*
* @param mixed $value
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @return mixed
*/
protected function _prepareValueForSave($value, Mage_Eav_Model_Entity_Attribute_Abstract $attribute)
@@ -1513,7 +1504,6 @@ protected function _deleteAttributes($object, $table, $info)
/**
* Save attribute
*
- * @param Varien_Object $object
* @param string $attributeCode
* @return Mage_Eav_Model_Entity_Abstract
*/
@@ -1608,7 +1598,6 @@ public function delete($object)
/**
* After Load Entity process
*
- * @param Varien_Object $object
* @return Mage_Eav_Model_Entity_Abstract
*/
protected function _afterLoad(Varien_Object $object)
@@ -1620,7 +1609,6 @@ protected function _afterLoad(Varien_Object $object)
/**
* Before delete Entity process
*
- * @param Varien_Object $object
* @return Mage_Eav_Model_Entity_Abstract
*/
protected function _beforeSave(Varien_Object $object)
@@ -1632,7 +1620,6 @@ protected function _beforeSave(Varien_Object $object)
/**
* After Save Entity process
*
- * @param Varien_Object $object
* @return Mage_Eav_Model_Entity_Abstract
*/
protected function _afterSave(Varien_Object $object)
@@ -1644,7 +1631,6 @@ protected function _afterSave(Varien_Object $object)
/**
* Before Delete Entity process
*
- * @param Varien_Object $object
* @return Mage_Eav_Model_Entity_Abstract
*/
protected function _beforeDelete(Varien_Object $object)
@@ -1656,7 +1642,6 @@ protected function _beforeDelete(Varien_Object $object)
/**
* After delete entity process
*
- * @param Varien_Object $object
* @return Mage_Eav_Model_Entity_Abstract
*/
protected function _afterDelete(Varien_Object $object)
@@ -1709,7 +1694,6 @@ protected function _afterSetConfig()
/**
* Check is attribute value empty
*
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @param mixed $value
* @return bool
*/
diff --git a/app/code/core/Mage/Eav/Model/Entity/Attribute/Backend/Serialized.php b/app/code/core/Mage/Eav/Model/Entity/Attribute/Backend/Serialized.php
index b23310f9844..e677d533294 100644
--- a/app/code/core/Mage/Eav/Model/Entity/Attribute/Backend/Serialized.php
+++ b/app/code/core/Mage/Eav/Model/Entity/Attribute/Backend/Serialized.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -67,7 +67,6 @@ public function afterLoad($object)
/**
* Try to unserialize the attribute value
*
- * @param Varien_Object $object
* @return $this
*/
protected function _unserialize(Varien_Object $object)
diff --git a/app/code/core/Mage/Eav/Model/Entity/Attribute/Frontend/Abstract.php b/app/code/core/Mage/Eav/Model/Entity/Attribute/Frontend/Abstract.php
index 75eae3c5896..045596c2ce6 100644
--- a/app/code/core/Mage/Eav/Model/Entity/Attribute/Frontend/Abstract.php
+++ b/app/code/core/Mage/Eav/Model/Entity/Attribute/Frontend/Abstract.php
@@ -78,7 +78,6 @@ public function getLabel()
/**
* Retrieve attribute value
*
- * @param Varien_Object $object
* @return mixed
*/
public function getValue(Varien_Object $object)
diff --git a/app/code/core/Mage/Eav/Model/Entity/Attribute/Frontend/Datetime.php b/app/code/core/Mage/Eav/Model/Entity/Attribute/Frontend/Datetime.php
index b2f6591a6e2..95ac54e04e6 100644
--- a/app/code/core/Mage/Eav/Model/Entity/Attribute/Frontend/Datetime.php
+++ b/app/code/core/Mage/Eav/Model/Entity/Attribute/Frontend/Datetime.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -22,7 +22,6 @@ class Mage_Eav_Model_Entity_Attribute_Frontend_Datetime extends Mage_Eav_Model_E
/**
* Retrieve attribute value
*
- * @param Varien_Object $object
* @return mixed
*/
public function getValue(Varien_Object $object)
diff --git a/app/code/core/Mage/Eav/Model/Entity/Attribute/Set.php b/app/code/core/Mage/Eav/Model/Entity/Attribute/Set.php
index b62ade5504b..f4284b0ef1d 100644
--- a/app/code/core/Mage/Eav/Model/Entity/Attribute/Set.php
+++ b/app/code/core/Mage/Eav/Model/Entity/Attribute/Set.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -192,7 +192,6 @@ public function validate()
* Add set info to attributes
*
* @param string|Mage_Eav_Model_Entity_Type $entityType
- * @param array $attributes
* @param int $setId
* @return $this
*/
diff --git a/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php b/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php
index 7d2f6b80a50..af0d60daa0d 100644
--- a/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php
+++ b/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php
@@ -244,7 +244,6 @@ public function setObject($object = null)
/**
* Add an object to the collection
*
- * @param Varien_Object $object
* @inheritDoc
*/
public function addItem(Varien_Object $object)
diff --git a/app/code/core/Mage/Eav/Model/Entity/Setup.php b/app/code/core/Mage/Eav/Model/Entity/Setup.php
index 0b96f338cbc..7262f3d3ab3 100644
--- a/app/code/core/Mage/Eav/Model/Entity/Setup.php
+++ b/app/code/core/Mage/Eav/Model/Entity/Setup.php
@@ -104,14 +104,12 @@ public function installDefaultGroupIds()
}
/******************* ENTITY TYPES *****************/
-
/**
* Add an entity type
*
* If already exists updates the entity type with params data
*
* @param string $code
- * @param array $params
* @return $this
*/
public function addEntityType($code, array $params)
@@ -666,7 +664,6 @@ protected function _validateAttributeData($data)
*
* @param string|int $entityTypeId
* @param string $code
- * @param array $attr
* @return $this
*/
public function addAttribute($entityTypeId, $code, array $attr)
@@ -1474,7 +1471,6 @@ protected function _getAttributeTableFields()
/**
* Insert attribute and filter data
*
- * @param array $data
* @return $this
*/
protected function _insertAttribute(array $data)
@@ -1506,7 +1502,6 @@ protected function _insertAttribute(array $data)
* Insert attribute additional data
*
* @param int $entityTypeId
- * @param array $data
* @return $this
*/
protected function _insertAttributeAdditionalData($entityTypeId, array $data)
diff --git a/app/code/core/Mage/Eav/Model/Form.php b/app/code/core/Mage/Eav/Model/Form.php
index a8bd9d95605..20eb42ef306 100644
--- a/app/code/core/Mage/Eav/Model/Form.php
+++ b/app/code/core/Mage/Eav/Model/Form.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -138,7 +138,6 @@ public function setStore($store)
/**
* Set entity instance
*
- * @param Mage_Core_Model_Abstract $entity
* @return $this
*/
public function setEntity(Mage_Core_Model_Abstract $entity)
@@ -306,7 +305,6 @@ public function getSystemAttributes()
/**
* Return attribute data model by attribute
*
- * @param Mage_Eav_Model_Entity_Attribute $attribute
* @return Mage_Eav_Model_Attribute_Data_Abstract
*/
protected function _getAttributeDataModel(Mage_Eav_Model_Entity_Attribute $attribute)
@@ -320,7 +318,6 @@ protected function _getAttributeDataModel(Mage_Eav_Model_Entity_Attribute $attri
/**
* Prepare request with data and returns it
*
- * @param array $data
* @return Zend_Controller_Request_Http
*/
public function prepareRequest(array $data)
@@ -336,7 +333,6 @@ public function prepareRequest(array $data)
/**
* Extract data from request and return associative data array
*
- * @param Zend_Controller_Request_Http $request
* @param string $scope the request scope
* @param bool $scopeOnly search value only in scope or search value in global too
* @return array
@@ -359,7 +355,6 @@ public function extractData(Zend_Controller_Request_Http $request, $scope = null
/**
* Validate data array and return true or array of errors
*
- * @param array $data
* @return bool|array
*/
public function validateData(array $data)
@@ -390,7 +385,6 @@ public function validateData(array $data)
/**
* Compact data array to current entity
*
- * @param array $data
* @return $this
*/
public function compactData(array $data)
@@ -413,7 +407,6 @@ public function compactData(array $data)
/**
* Restore data array from SESSION to current entity
*
- * @param array $data
* @return $this
*/
public function restoreData(array $data)
diff --git a/app/code/core/Mage/Eav/Model/Form/Fieldset.php b/app/code/core/Mage/Eav/Model/Form/Fieldset.php
index 9846680f703..f4098349dc0 100644
--- a/app/code/core/Mage/Eav/Model/Form/Fieldset.php
+++ b/app/code/core/Mage/Eav/Model/Form/Fieldset.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -81,7 +81,6 @@ public function getLabels()
* Set fieldset store labels
* Input array where key - store_id and value = label
*
- * @param array $labels
* @return $this
*/
public function setLabels(array $labels)
diff --git a/app/code/core/Mage/Eav/Model/Form/Type.php b/app/code/core/Mage/Eav/Model/Form/Type.php
index d7e10a90e15..1bdff6ad171 100644
--- a/app/code/core/Mage/Eav/Model/Form/Type.php
+++ b/app/code/core/Mage/Eav/Model/Form/Type.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -66,7 +66,6 @@ public function getEntityTypes()
/**
* Set assigned Eav Entity types
*
- * @param array $entityTypes
* @return $this
*/
public function setEntityTypes(array $entityTypes)
@@ -94,7 +93,6 @@ public function addEntityType($entityTypeId)
/**
* Copy Form Type properties from skeleton form type
*
- * @param Mage_Eav_Model_Form_Type $skeleton
* @return $this
*/
public function createFromSkeleton(Mage_Eav_Model_Form_Type $skeleton)
diff --git a/app/code/core/Mage/Eav/Model/Resource/Attribute.php b/app/code/core/Mage/Eav/Model/Resource/Attribute.php
index aae7fe5e055..2a796e884ad 100644
--- a/app/code/core/Mage/Eav/Model/Resource/Attribute.php
+++ b/app/code/core/Mage/Eav/Model/Resource/Attribute.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -153,7 +153,6 @@ protected function _afterSave(Mage_Core_Model_Abstract $object)
/**
* Return scope values for attribute and website
*
- * @param Mage_Eav_Model_Attribute $object
* @return array
*/
public function getScopeValues(Mage_Eav_Model_Attribute $object)
@@ -180,7 +179,6 @@ public function getScopeValues(Mage_Eav_Model_Attribute $object)
/**
* Return forms in which the attribute
*
- * @param Mage_Core_Model_Abstract $object
* @return array
*/
public function getUsedInForms(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute.php b/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute.php
index 14668241293..cedf256523a 100644
--- a/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute.php
+++ b/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute.php
@@ -72,7 +72,6 @@ protected function _loadTypeAttributes($entityTypeId)
/**
* Load attribute data by attribute code
*
- * @param Mage_Core_Model_Abstract $object
* @param int $entityTypeId
* @param string $code
* @return bool
@@ -95,7 +94,6 @@ public function loadByCode(Mage_Core_Model_Abstract $object, $entityTypeId, $cod
/**
* Retrieve Max Sort order for attribute in group
*
- * @param Mage_Core_Model_Abstract|Mage_Eav_Model_Entity_Attribute $object
* @return int
*/
private function _getMaxSortOrder(Mage_Core_Model_Abstract $object)
@@ -120,7 +118,6 @@ private function _getMaxSortOrder(Mage_Core_Model_Abstract $object)
/**
* Delete entity
*
- * @param Mage_Core_Model_Abstract|Mage_Eav_Model_Entity_Attribute $object
* @return $this
*/
public function deleteEntity(Mage_Core_Model_Abstract $object)
@@ -182,7 +179,6 @@ protected function _afterSave(Mage_Core_Model_Abstract $object)
/**
* Save store labels
*
- * @param Mage_Core_Model_Abstract|Mage_Eav_Model_Entity_Attribute $object
* @return $this
*/
protected function _saveStoreLabels(Mage_Core_Model_Abstract $object)
@@ -213,7 +209,6 @@ protected function _saveStoreLabels(Mage_Core_Model_Abstract $object)
/**
* Save additional data of attribute
*
- * @param Mage_Core_Model_Abstract|Mage_Eav_Model_Entity_Attribute $object
* @return $this
*/
protected function _saveAdditionalAttributeData(Mage_Core_Model_Abstract $object)
@@ -241,7 +236,6 @@ protected function _saveAdditionalAttributeData(Mage_Core_Model_Abstract $object
/**
* Save in set including
*
- * @param Mage_Core_Model_Abstract|Mage_Eav_Model_Entity_Attribute $object
* @return $this
*/
public function saveInSetIncluding(Mage_Core_Model_Abstract $object)
@@ -278,7 +272,6 @@ public function saveInSetIncluding(Mage_Core_Model_Abstract $object)
/**
* Save attribute options
*
- * @param Mage_Core_Model_Abstract|Mage_Eav_Model_Entity_Attribute $object
* @return $this
*/
protected function _saveOption(Mage_Core_Model_Abstract $object)
@@ -422,7 +415,6 @@ public function getAttributeCodesByFrontendType($frontendType)
/**
* Retrieve Select For Flat Attribute update
*
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @param int $storeId
* @return Varien_Db_Select
*/
@@ -492,7 +484,6 @@ public function getAdditionalAttributeTable($entityTypeId)
* Load additional attribute data.
* Load label of current active store
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
protected function _afterLoad(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Collection.php b/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Collection.php
index a7273719e01..aca37cea0b8 100644
--- a/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Collection.php
+++ b/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Collection.php
@@ -144,7 +144,6 @@ public function setAttributeSetFilter($setId)
* Specify multiple attribute sets filter
* Result will be ordered by sort_order
*
- * @param array $setIds
* @return $this
*/
public function setAttributeSetsFilter(array $setIds)
@@ -164,7 +163,6 @@ public function setAttributeSetsFilter(array $setIds)
/**
* Filter for selecting of attributes that is in all sets
*
- * @param array $setIds
* @return $this
*/
public function setInAllAttributeSetsFilter(array $setIds)
diff --git a/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Group.php b/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Group.php
index a7bfbdca1e1..9f49650a54a 100644
--- a/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Group.php
+++ b/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Group.php
@@ -50,7 +50,6 @@ public function itemExists($object)
/**
* Perform actions before object save
*
- * @param Mage_Core_Model_Abstract|Mage_Eav_Model_Entity_Attribute_Group $object
* @return Mage_Core_Model_Resource_Db_Abstract
*/
protected function _beforeSave(Mage_Core_Model_Abstract $object)
@@ -64,7 +63,6 @@ protected function _beforeSave(Mage_Core_Model_Abstract $object)
/**
* Perform actions after object save
*
- * @param Mage_Core_Model_Abstract|Mage_Eav_Model_Entity_Attribute_Group $object
* @return Mage_Core_Model_Resource_Db_Abstract
*/
protected function _afterSave(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Option.php b/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Option.php
index 6323653a38b..8175eb50577 100644
--- a/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Option.php
+++ b/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Option.php
@@ -70,7 +70,6 @@ public function addOptionValueToCollection($collection, $attribute, $valueExpr)
/**
* Retrieve Select for update Flat data
*
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @param int $store
* @param bool $hasValueField flag which require option value
* @return Varien_Db_Select
diff --git a/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Set.php b/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Set.php
index 1fb8e9d8513..8150c8a66f3 100644
--- a/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Set.php
+++ b/app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Set.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Perform actions after object save
*
- * @param Mage_Core_Model_Abstract|Mage_Eav_Model_Entity_Attribute_Set $object
* @inheritDoc
*/
protected function _afterSave(Mage_Core_Model_Abstract $object)
@@ -88,7 +87,6 @@ public function validate($object, $attributeSetName)
/**
* Retrieve Set info by attributes
*
- * @param array $attributeIds
* @param int|null $setId
* @return array
*/
diff --git a/app/code/core/Mage/Eav/Model/Resource/Entity/Store.php b/app/code/core/Mage/Eav/Model/Resource/Entity/Store.php
index 2acb3b8db61..2f08fe8e565 100644
--- a/app/code/core/Mage/Eav/Model/Resource/Entity/Store.php
+++ b/app/code/core/Mage/Eav/Model/Resource/Entity/Store.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Eav
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Load an object by entity type and store
*
- * @param Mage_Core_Model_Abstract $object
* @param int $entityTypeId
* @param int $storeId
* @return bool
diff --git a/app/code/core/Mage/GiftMessage/Helper/Message.php b/app/code/core/Mage/GiftMessage/Helper/Message.php
index 02a01d0f5f2..a435b9c5163 100644
--- a/app/code/core/Mage/GiftMessage/Helper/Message.php
+++ b/app/code/core/Mage/GiftMessage/Helper/Message.php
@@ -48,7 +48,6 @@ class Mage_GiftMessage_Helper_Message extends Mage_Core_Helper_Data
* Retrieve old stule edit button html for editing of giftmessage in popup
*
* @param string $type
- * @param Varien_Object $entity
* @return string
*/
public function getButton($type, Varien_Object $entity)
@@ -68,7 +67,6 @@ public function getButton($type, Varien_Object $entity)
* Retrieve inline giftmessage edit form for specified entity
*
* @param string $type
- * @param Varien_Object $entity
* @param bool $dontDisplayContainer
* @return string
*/
@@ -91,7 +89,6 @@ public function getInline($type, Varien_Object $entity, $dontDisplayContainer =
* Check availability of giftmessages for specified entity.
*
* @param string $type
- * @param Varien_Object $entity
* @param Mage_Core_Model_Store|integer $store
* @return bool|int
*/
@@ -170,7 +167,6 @@ protected function _getDependenceFromStoreConfig($productGiftMessageAllow, $stor
* Alias for isMessagesAvailable(...)
*
* @param string $type
- * @param Varien_Object $entity
* @param Mage_Core_Model_Store|integer $store
* @return bool|int
*/
@@ -182,7 +178,6 @@ public function getIsMessagesAvailable($type, Varien_Object $entity, $store = nu
/**
* Retrieve escaped and preformatted gift message text for specified entity
*
- * @param Varien_Object $entity
* @return string|null
*/
public function getEscapedGiftMessage(Varien_Object $entity)
@@ -197,7 +192,6 @@ public function getEscapedGiftMessage(Varien_Object $entity)
/**
* Retrieve gift message for entity. If message not exists return null
*
- * @param Varien_Object $entity
* @return Mage_GiftMessage_Model_Message
*/
public function getGiftMessageForEntity(Varien_Object $entity)
diff --git a/app/code/core/Mage/GiftMessage/Helper/Url.php b/app/code/core/Mage/GiftMessage/Helper/Url.php
index d59a6b08e2b..aa4c56b279c 100644
--- a/app/code/core/Mage/GiftMessage/Helper/Url.php
+++ b/app/code/core/Mage/GiftMessage/Helper/Url.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_GiftMessage
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -26,7 +26,6 @@ class Mage_GiftMessage_Helper_Url extends Mage_Core_Helper_Url
/**
* Retrieve gift message save url
*
- * @param Varien_Object $item
* @param string $type
* @param array $params
* @return string
diff --git a/app/code/core/Mage/GiftMessage/Model/Observer.php b/app/code/core/Mage/GiftMessage/Model/Observer.php
index 0ac3d219b92..069a967e45d 100644
--- a/app/code/core/Mage/GiftMessage/Model/Observer.php
+++ b/app/code/core/Mage/GiftMessage/Model/Observer.php
@@ -24,7 +24,6 @@ class Mage_GiftMessage_Model_Observer extends Varien_Object
/**
* Set gift messages to order item on import item
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function salesEventConvertQuoteItemToOrderItem(Varien_Event_Observer $observer)
@@ -48,7 +47,6 @@ public function salesEventConvertQuoteItemToOrderItem(Varien_Event_Observer $obs
/**
* Set gift messages to order from quote address
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function salesEventConvertQuoteAddressToOrder(Varien_Event_Observer $observer)
@@ -63,7 +61,6 @@ public function salesEventConvertQuoteAddressToOrder(Varien_Event_Observer $obse
/**
* Set gift messages to order from quote address
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function salesEventConvertQuoteToOrder(Varien_Event_Observer $observer)
@@ -91,7 +88,6 @@ protected function _getAvailable($product)
/**
* Operate with gift messages on checkout process
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function checkoutEventCreateGiftMessage(Varien_Event_Observer $observer)
@@ -157,7 +153,6 @@ public function checkoutEventCreateGiftMessage(Varien_Event_Observer $observer)
* on catalog products collection load
*
* @deprecated after 1.4.2.0-beta1
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogEventProductCollectionAfterLoad(Varien_Event_Observer $observer)
@@ -168,7 +163,6 @@ public function catalogEventProductCollectionAfterLoad(Varien_Event_Observer $ob
/**
* Duplicates giftmessage from order to quote on import or reorder
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function salesEventOrderToQuote(Varien_Event_Observer $observer)
@@ -197,7 +191,6 @@ public function salesEventOrderToQuote(Varien_Event_Observer $observer)
/**
* Duplicates giftmessage from order item to quote item on import or reorder
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function salesEventOrderItemToQuoteItem(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/GoogleAnalytics/Helper/Data.php b/app/code/core/Mage/GoogleAnalytics/Helper/Data.php
index 2ebd04729ed..7494c799e4c 100644
--- a/app/code/core/Mage/GoogleAnalytics/Helper/Data.php
+++ b/app/code/core/Mage/GoogleAnalytics/Helper/Data.php
@@ -172,7 +172,6 @@ public function isUserIdEnabled($store = null)
* Returns last category name
*
* @param Mage_Catalog_Model_Product $product
- * @return string
*/
public function getLastCategoryName($product): string
{
@@ -190,7 +189,6 @@ public function getLastCategoryName($product): string
/**
* @param int|float|string $price
- * @return string
*/
public function formatPrice($price): string
{
diff --git a/app/code/core/Mage/GoogleAnalytics/Model/Observer.php b/app/code/core/Mage/GoogleAnalytics/Model/Observer.php
index 33c0b84aed7..e8211698352 100644
--- a/app/code/core/Mage/GoogleAnalytics/Model/Observer.php
+++ b/app/code/core/Mage/GoogleAnalytics/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_GoogleAnalytics
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,8 +23,6 @@ class Mage_GoogleAnalytics_Model_Observer
{
/**
* Add order information into GA block to render on checkout success pages
- *
- * @param Varien_Event_Observer $observer
*/
public function setGoogleAnalyticsOnOrderSuccessPageView(Varien_Event_Observer $observer)
{
@@ -40,8 +38,6 @@ public function setGoogleAnalyticsOnOrderSuccessPageView(Varien_Event_Observer $
/**
* Process items added or removed from cart for GA4 block to render event on cart view
- * @param Varien_Event_Observer $observer
- * @return void
*/
public function processItemsAddedOrRemovedFromCart(Varien_Event_Observer $observer): void
{
diff --git a/app/code/core/Mage/GoogleCheckout/Model/Payment.php b/app/code/core/Mage/GoogleCheckout/Model/Payment.php
index 6e949d988dc..cf37a647278 100644
--- a/app/code/core/Mage/GoogleCheckout/Model/Payment.php
+++ b/app/code/core/Mage/GoogleCheckout/Model/Payment.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_GoogleCheckout
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -48,7 +48,6 @@ public function getOrderPlaceRedirectUrl()
/**
* Authorize
*
- * @param Varien_Object $payment
* @param float $amount
* @return void
*/
@@ -60,7 +59,6 @@ public function authorize(Varien_Object $payment, $amount)
/**
* Capture payment
*
- * @param Varien_Object $payment
* @param float $amount
* @throws Exception
* @return void
@@ -73,7 +71,6 @@ public function capture(Varien_Object $payment, $amount)
/**
* Refund money
*
- * @param Varien_Object $payment
* @param float $amount
* @throws Exception
* @return void
@@ -84,7 +81,6 @@ public function refund(Varien_Object $payment, $amount)
}
/**
- * @param Varien_Object $payment
* @throws Exception
* @return void
*/
@@ -96,7 +92,6 @@ public function void(Varien_Object $payment)
/**
* Void payment
*
- * @param Varien_Object $payment
* @throws Exception
* @return void
*/
@@ -121,7 +116,6 @@ public function getConfigData($field, $storeId = null)
/**
* Check void availability
*
- * @param Varien_Object $payment
* @return bool
*/
public function canVoid(Varien_Object $payment)
diff --git a/app/code/core/Mage/ImportExport/Block/Adminhtml/Export/Filter.php b/app/code/core/Mage/ImportExport/Block/Adminhtml/Export/Filter.php
index ae98f689e39..f6262affcb1 100644
--- a/app/code/core/Mage/ImportExport/Block/Adminhtml/Export/Filter.php
+++ b/app/code/core/Mage/ImportExport/Block/Adminhtml/Export/Filter.php
@@ -52,7 +52,6 @@ public function __construct()
* Date 'from-to' filter HTML.
*
* @deprecated
- * @param Mage_Eav_Model_Entity_Attribute $attribute
* @return string
*/
protected function _getDateFromToHtml(Mage_Eav_Model_Entity_Attribute $attribute)
@@ -74,7 +73,6 @@ protected function _getDateFromToHtml(Mage_Eav_Model_Entity_Attribute $attribute
* Input text filter HTML.
*
* @deprecated
- * @param Mage_Eav_Model_Entity_Attribute $attribute
* @return string
*/
protected function _getInputHtml(Mage_Eav_Model_Entity_Attribute $attribute)
@@ -87,7 +85,6 @@ protected function _getInputHtml(Mage_Eav_Model_Entity_Attribute $attribute)
* Multiselect field filter HTML.
*
* @deprecated
- * @param Mage_Eav_Model_Entity_Attribute $attribute
* @return string
*/
protected function _getMultiSelectHtml(Mage_Eav_Model_Entity_Attribute $attribute)
@@ -122,7 +119,6 @@ protected function _getMultiSelectHtml(Mage_Eav_Model_Entity_Attribute $attribut
* Number 'from-to' field filter HTML.
*
* @deprecated
- * @param Mage_Eav_Model_Entity_Attribute $attribute
* @return string
*/
protected function _getNumberFromToHtml(Mage_Eav_Model_Entity_Attribute $attribute)
@@ -139,7 +135,6 @@ protected function _getNumberFromToHtml(Mage_Eav_Model_Entity_Attribute $attribu
* Select field filter HTML.
*
* @deprecated
- * @param Mage_Eav_Model_Entity_Attribute $attribute
* @return string
*/
protected function _getSelectHtml(Mage_Eav_Model_Entity_Attribute $attribute)
@@ -177,7 +172,6 @@ protected function _getSelectHtml(Mage_Eav_Model_Entity_Attribute $attribute)
/**
* Date 'from-to' filter HTML with values
*
- * @param Mage_Eav_Model_Entity_Attribute $attribute
* @param mixed $value
* @return string
*/
@@ -206,7 +200,6 @@ protected function _getDateFromToHtmlWithValue(Mage_Eav_Model_Entity_Attribute $
/**
* Input text filter HTML with value
*
- * @param Mage_Eav_Model_Entity_Attribute $attribute
* @param mixed $value
* @return string
*/
@@ -224,7 +217,6 @@ protected function _getInputHtmlWithValue(Mage_Eav_Model_Entity_Attribute $attri
/**
* Multiselect field filter HTML with selected values
*
- * @param Mage_Eav_Model_Entity_Attribute $attribute
* @param mixed $value
* @return string
*/
@@ -260,7 +252,6 @@ protected function _getMultiSelectHtmlWithValue(Mage_Eav_Model_Entity_Attribute
/**
* Number 'from-to' field filter HTML with selected value.
*
- * @param Mage_Eav_Model_Entity_Attribute $attribute
* @param mixed $value
* @return string
*/
@@ -285,7 +276,6 @@ protected function _getNumberFromToHtmlWithValue(Mage_Eav_Model_Entity_Attribute
/**
* Select field filter HTML with selected value.
*
- * @param Mage_Eav_Model_Entity_Attribute $attribute
* @param mixed $value
* @return string
*/
@@ -377,8 +367,6 @@ protected function _prepareColumns()
* Create filter fields for 'Filter' column.
*
* @param mixed $value
- * @param Mage_Eav_Model_Entity_Attribute $row
- * @param Varien_Object $column
* @param bool $isExport
* @return string
*/
@@ -444,7 +432,6 @@ public function getRowUrl($row)
/**
* Prepare collection by setting page number, sorting etc..
*
- * @param Mage_Eav_Model_Resource_Entity_Attribute_Collection $collection
* @return Mage_Core_Model_Resource_Db_Collection_Abstract|null
*/
public function prepareCollection(Mage_Eav_Model_Resource_Entity_Attribute_Collection $collection)
diff --git a/app/code/core/Mage/ImportExport/Model/Export.php b/app/code/core/Mage/ImportExport/Model/Export.php
index a6cb81e5102..998b00800be 100644
--- a/app/code/core/Mage/ImportExport/Model/Export.php
+++ b/app/code/core/Mage/ImportExport/Model/Export.php
@@ -208,7 +208,6 @@ public function exportFile()
/**
* Clean up already loaded attribute collection.
*
- * @param Mage_Eav_Model_Resource_Entity_Attribute_Collection $collection
* @return Mage_Eav_Model_Resource_Entity_Attribute_Collection
*/
public function filterAttributeCollection(Mage_Eav_Model_Resource_Entity_Attribute_Collection $collection)
@@ -220,7 +219,6 @@ public function filterAttributeCollection(Mage_Eav_Model_Resource_Entity_Attribu
* Determine filter type for specified attribute.
*
* @static
- * @param Mage_Eav_Model_Entity_Attribute $attribute
* @throws Exception
* @return string
*/
diff --git a/app/code/core/Mage/ImportExport/Model/Export/Adapter/Abstract.php b/app/code/core/Mage/ImportExport/Model/Export/Adapter/Abstract.php
index b670fcd58be..4624b7b19a4 100644
--- a/app/code/core/Mage/ImportExport/Model/Export/Adapter/Abstract.php
+++ b/app/code/core/Mage/ImportExport/Model/Export/Adapter/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_ImportExport
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -135,7 +135,6 @@ public function getRowsCount()
/**
* Set column names.
*
- * @param array $headerCols
* @throws Exception
* @return Mage_ImportExport_Model_Export_Adapter_Abstract
*/
@@ -165,7 +164,6 @@ public function getDestination()
/**
* Write row data to source file.
*
- * @param array $rowData
* @return Mage_ImportExport_Model_Export_Adapter_Abstract
*/
abstract public function writeRow(array $rowData);
diff --git a/app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php b/app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php
index 103e77ddd12..cb6d77a2ad4 100644
--- a/app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php
+++ b/app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php
@@ -89,7 +89,6 @@ public function getFileExtension()
/**
* Write row data to source file.
*
- * @param array $rowData
* @throws Exception
* @return Mage_ImportExport_Model_Export_Adapter_Abstract
*/
diff --git a/app/code/core/Mage/ImportExport/Model/Export/Entity/Abstract.php b/app/code/core/Mage/ImportExport/Model/Export/Entity/Abstract.php
index efdaeb5a8c8..38d48cc3b29 100644
--- a/app/code/core/Mage/ImportExport/Model/Export/Entity/Abstract.php
+++ b/app/code/core/Mage/ImportExport/Model/Export/Entity/Abstract.php
@@ -251,7 +251,6 @@ protected function _initAttrValues()
/**
* Apply filter to collection and add not skipped attributes to select.
*
- * @param Mage_Eav_Model_Entity_Collection_Abstract $collection
* @return Mage_Eav_Model_Entity_Collection_Abstract
*/
protected function _prepareEntityCollection(Mage_Eav_Model_Entity_Collection_Abstract $collection)
@@ -373,7 +372,6 @@ abstract public function exportFile();
/**
* Clean up attribute collection.
*
- * @param Mage_Eav_Model_Resource_Entity_Attribute_Collection $collection
* @return Mage_Eav_Model_Resource_Entity_Attribute_Collection
*/
public function filterAttributeCollection(Mage_Eav_Model_Resource_Entity_Attribute_Collection $collection)
@@ -398,7 +396,6 @@ abstract public function getAttributeCollection();
/**
* Returns attributes all values in label-value or value-value pairs form. Labels are lower-cased.
*
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @return array
*/
public function getAttributeOptions(Mage_Eav_Model_Entity_Attribute_Abstract $attribute)
@@ -520,7 +517,6 @@ public function getWriter()
/**
* Set parameters.
*
- * @param array $parameters
* @return Mage_ImportExport_Model_Export_Entity_Abstract
*/
public function setParameters(array $parameters)
@@ -533,7 +529,6 @@ public function setParameters(array $parameters)
/**
* Writer model setter.
*
- * @param Mage_ImportExport_Model_Export_Adapter_Abstract $writer
* @return Mage_ImportExport_Model_Export_Entity_Abstract
*/
public function setWriter(Mage_ImportExport_Model_Export_Adapter_Abstract $writer)
diff --git a/app/code/core/Mage/ImportExport/Model/Export/Entity/Customer.php b/app/code/core/Mage/ImportExport/Model/Export/Entity/Customer.php
index 666183f117b..43a21289a11 100644
--- a/app/code/core/Mage/ImportExport/Model/Export/Entity/Customer.php
+++ b/app/code/core/Mage/ImportExport/Model/Export/Entity/Customer.php
@@ -88,7 +88,6 @@ protected function _initWebsites()
/**
* Apply filter to collection and add not skipped attributes to select.
*
- * @param Mage_Eav_Model_Entity_Collection_Abstract $collection
* @return Mage_Eav_Model_Entity_Collection_Abstract
*/
protected function _prepareEntityCollection(Mage_Eav_Model_Entity_Collection_Abstract $collection)
@@ -307,7 +306,6 @@ protected function _getNextAddressRow(&$customerAddress)
/**
* Clean up already loaded attribute collection.
*
- * @param Mage_Eav_Model_Resource_Entity_Attribute_Collection $collection
* @return Mage_Eav_Model_Resource_Entity_Attribute_Collection
*/
public function filterAttributeCollection(Mage_Eav_Model_Resource_Entity_Attribute_Collection $collection)
diff --git a/app/code/core/Mage/ImportExport/Model/Export/Entity/Product.php b/app/code/core/Mage/ImportExport/Model/Export/Entity/Product.php
index e86562e413e..996469ac27d 100644
--- a/app/code/core/Mage/ImportExport/Model/Export/Entity/Product.php
+++ b/app/code/core/Mage/ImportExport/Model/Export/Entity/Product.php
@@ -208,7 +208,6 @@ protected function _initWebsites()
/**
* Prepare products tier prices
*
- * @param array $productIds
* @return array
*/
protected function _prepareTierPrices(array $productIds)
@@ -241,7 +240,6 @@ protected function _prepareTierPrices(array $productIds)
/**
* Prepare products group prices
*
- * @param array $productIds
* @return array
*/
protected function _prepareGroupPrices(array $productIds)
@@ -274,7 +272,6 @@ protected function _prepareGroupPrices(array $productIds)
/**
* Prepare products media gallery
*
- * @param array $productIds
* @return array
*/
protected function _prepareMediaGallery(array $productIds)
@@ -316,7 +313,6 @@ protected function _prepareMediaGallery(array $productIds)
/**
* Prepare catalog inventory
*
- * @param array $productIds
* @return array
*/
protected function _prepareCatalogInventory(array $productIds)
@@ -347,7 +343,6 @@ protected function _prepareCatalogInventory(array $productIds)
/**
* Prepare product links
*
- * @param array $productIds
* @return array
*/
protected function _prepareLinks(array $productIds)
@@ -422,7 +417,6 @@ protected function _prepareLinks(array $productIds)
*
* @deprecated since 1.6.1.0
* @see Mage_Catalog_Model_Resource_Product_Type_Configurable::getConfigurableOptions()
- * @param array $productIds
* @return array
*/
protected function _prepareConfigurableProductData(array $productIds)
@@ -456,7 +450,6 @@ protected function _prepareConfigurableProductData(array $productIds)
*
* @deprecated since 1.6.1.0
* @see Mage_Catalog_Model_Resource_Product_Type_Configurable::getConfigurableOptions()
- * @param array $productIds
* @return array
*/
protected function _prepareConfigurableProductPrice(array $productIds)
@@ -1057,7 +1050,6 @@ protected function _prepareExport()
/**
* Clean up already loaded attribute collection.
*
- * @param Mage_Eav_Model_Resource_Entity_Attribute_Collection $collection
* @return Mage_Eav_Model_Resource_Entity_Attribute_Collection
*/
public function filterAttributeCollection(Mage_Eav_Model_Resource_Entity_Attribute_Collection $collection)
diff --git a/app/code/core/Mage/ImportExport/Model/Export/Entity/Product/Type/Abstract.php b/app/code/core/Mage/ImportExport/Model/Export/Entity/Product/Type/Abstract.php
index fb909405960..57bf45cec9e 100644
--- a/app/code/core/Mage/ImportExport/Model/Export/Entity/Product/Type/Abstract.php
+++ b/app/code/core/Mage/ImportExport/Model/Export/Entity/Product/Type/Abstract.php
@@ -75,7 +75,6 @@ public function isSuitable()
/**
* Add additional data to attribute.
*
- * @param Mage_Catalog_Model_Resource_Eav_Attribute $attribute
* @return bool
*/
public function overrideAttribute(Mage_Catalog_Model_Resource_Eav_Attribute $attribute)
diff --git a/app/code/core/Mage/ImportExport/Model/Import.php b/app/code/core/Mage/ImportExport/Model/Import.php
index 2d68904cda0..ca034c5e3bb 100644
--- a/app/code/core/Mage/ImportExport/Model/Import.php
+++ b/app/code/core/Mage/ImportExport/Model/Import.php
@@ -169,7 +169,6 @@ public function getOperationResultMessages($validationResult)
/**
* Get attribute type for upcoming validation.
*
- * @param Mage_Eav_Model_Entity_Attribute $attribute
* @return string
*/
public static function getAttributeType(Mage_Eav_Model_Entity_Attribute $attribute)
diff --git a/app/code/core/Mage/ImportExport/Model/Import/Entity/Abstract.php b/app/code/core/Mage/ImportExport/Model/Import/Entity/Abstract.php
index ccc9a763e07..0088896a6a1 100644
--- a/app/code/core/Mage/ImportExport/Model/Import/Entity/Abstract.php
+++ b/app/code/core/Mage/ImportExport/Model/Import/Entity/Abstract.php
@@ -216,7 +216,6 @@ abstract protected function _importData();
/**
* Returns boolean TRUE if row scope is default (fundamental) scope.
*
- * @param array $rowData
* @return bool
*/
protected function _isRowScopeDefault(array $rowData)
@@ -227,7 +226,6 @@ protected function _isRowScopeDefault(array $rowData)
/**
* Change row data before saving in DB table.
*
- * @param array $rowData
* @return array
*/
protected function _prepareRowForDb(array $rowData)
@@ -339,7 +337,6 @@ public function addMessageTemplate($errorCode, $message)
/**
* Returns attributes all values in label-value or value-value pairs form. Labels are lower-cased.
*
- * @param Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @param array $indexValAttrs OPTIONAL Additional attributes' codes with index values.
* @return array
*/
@@ -603,7 +600,6 @@ public function isImportAllowed()
/**
* Returns TRUE if row is valid and not in skipped rows array.
*
- * @param array $rowData
* @param int $rowNum
* @return bool
*/
@@ -615,7 +611,6 @@ public function isRowAllowedToImport(array $rowData, $rowNum)
/**
* Validate data row.
*
- * @param array $rowData
* @param int $rowNum
* @return bool
*/
@@ -624,7 +619,6 @@ abstract public function validateRow(array $rowData, $rowNum);
/**
* Set data from outside to change behavior. I.e. for setting some default parameters etc.
*
- * @param array $params
* @return Mage_ImportExport_Model_Import_Entity_Abstract
*/
public function setParameters(array $params)
@@ -636,7 +630,6 @@ public function setParameters(array $params)
/**
* Source model setter.
*
- * @param Mage_ImportExport_Model_Import_Adapter_Abstract $source
* @return Mage_ImportExport_Model_Import_Entity_Abstract
*/
public function setSource(Mage_ImportExport_Model_Import_Adapter_Abstract $source)
diff --git a/app/code/core/Mage/ImportExport/Model/Import/Entity/Customer.php b/app/code/core/Mage/ImportExport/Model/Import/Entity/Customer.php
index f5b32bc7d80..03268b870e2 100644
--- a/app/code/core/Mage/ImportExport/Model/Import/Entity/Customer.php
+++ b/app/code/core/Mage/ImportExport/Model/Import/Entity/Customer.php
@@ -465,7 +465,6 @@ protected function _saveCustomers()
/**
* Save customer attributes.
*
- * @param array $attributesData
* @return $this
*/
protected function _saveCustomerAttributes(array $attributesData)
@@ -542,7 +541,6 @@ public function getEntityTypeCode()
/**
* Obtain scope of the row from row data.
*
- * @param array $rowData
* @return int
*/
public function getRowScope(array $rowData)
@@ -579,7 +577,6 @@ public function isAttributeParticular($attrCode)
/**
* Validate data row.
*
- * @param array $rowData
* @param int $rowNum
* @return bool
*/
diff --git a/app/code/core/Mage/ImportExport/Model/Import/Entity/Customer/Address.php b/app/code/core/Mage/ImportExport/Model/Import/Entity/Customer/Address.php
index 43098a63235..79e074f6e74 100644
--- a/app/code/core/Mage/ImportExport/Model/Import/Entity/Customer/Address.php
+++ b/app/code/core/Mage/ImportExport/Model/Import/Entity/Customer/Address.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_ImportExport
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -121,9 +121,6 @@ class Mage_ImportExport_Model_Import_Entity_Customer_Address extends Mage_Import
*/
protected $_regions = [];
- /**
- * @param Mage_ImportExport_Model_Import_Entity_Customer $customer
- */
public function __construct(Mage_ImportExport_Model_Import_Entity_Customer $customer)
{
parent::__construct();
@@ -322,7 +319,6 @@ protected function _initCountryRegions()
/**
* Check address data availability in row data.
*
- * @param array $rowData
* @return bool
*/
protected function _isRowWithAddress(array $rowData)
@@ -338,7 +334,6 @@ protected function _isRowWithAddress(array $rowData)
/**
* Save customer address attributes.
*
- * @param array $attributesData
* @return $this
*/
protected function _saveAddressAttributes(array $attributesData)
@@ -389,7 +384,6 @@ protected function _saveAddressEntity(array $entityRows)
/**
* Save customer default addresses.
*
- * @param array $defaults
* @return $this
*/
protected function _saveCustomerDefaults(array $defaults)
@@ -459,7 +453,6 @@ public function isAttributeParticular($attrCode)
/**
* Validate data row.
*
- * @param array $rowData
* @param int $rowNum
* @return bool
*/
diff --git a/app/code/core/Mage/ImportExport/Model/Import/Entity/Product.php b/app/code/core/Mage/ImportExport/Model/Import/Entity/Product.php
index cdcdd7c3f70..96738d29d8d 100644
--- a/app/code/core/Mage/ImportExport/Model/Import/Entity/Product.php
+++ b/app/code/core/Mage/ImportExport/Model/Import/Entity/Product.php
@@ -631,7 +631,6 @@ protected function _initWebsites()
/**
* Check product category validity.
*
- * @param array $rowData
* @param int $rowNum
* @return bool
*/
@@ -654,7 +653,6 @@ protected function _isProductCategoryValid(array $rowData, $rowNum)
/**
* Check product website belonging.
*
- * @param array $rowData
* @param int $rowNum
* @return bool
*/
@@ -671,7 +669,6 @@ protected function _isProductWebsiteValid(array $rowData, $rowNum)
* Set valid attribute set and product type to rows with all scopes
* to ensure that existing products doesn't changed.
*
- * @param array $rowData
* @return array
*/
protected function _prepareRowForDb(array $rowData)
@@ -697,7 +694,6 @@ protected function _prepareRowForDb(array $rowData)
/**
* Check tier price data validity.
*
- * @param array $rowData
* @param int $rowNum
* @return bool
*/
@@ -736,7 +732,6 @@ protected function _isTierPriceValid(array $rowData, $rowNum)
/**
* Check group price data validity.
*
- * @param array $rowData
* @param int $rowNum
* @return bool
*/
@@ -791,7 +786,6 @@ protected function _isSuperProductsSkuValid($rowData, $rowNum)
/**
* Check product sku data.
*
- * @param array $rowData
* @param int $rowNum
* @return bool
*/
@@ -1228,7 +1222,6 @@ protected function _saveLinks()
/**
* Save product attributes.
*
- * @param array $attributesData
* @return $this
*/
protected function _saveProductAttributes(array $attributesData)
@@ -1276,7 +1269,6 @@ protected function _saveProductAttributes(array $attributesData)
/**
* Save product categories.
*
- * @param array $categoriesData
* @return $this
*/
protected function _saveProductCategories(array $categoriesData)
@@ -1605,7 +1597,6 @@ protected function _prepareAttributes($rowData, $rowScope, $attributes, $rowSku,
/**
* Save product tier prices.
*
- * @param array $tierPriceData
* @return $this
*/
protected function _saveProductTierPrices(array $tierPriceData)
@@ -1645,7 +1636,6 @@ protected function _saveProductTierPrices(array $tierPriceData)
/**
* Save product group prices.
*
- * @param array $groupPriceData
* @return $this
*/
protected function _saveProductGroupPrices(array $groupPriceData)
@@ -1727,7 +1717,6 @@ protected function _uploadMediaFiles($fileName)
/**
* Save product media gallery.
*
- * @param array $mediaGalleryData
* @return $this
*/
protected function _saveMediaGallery(array $mediaGalleryData)
@@ -1809,7 +1798,6 @@ protected function _saveMediaGallery(array $mediaGalleryData)
/**
* Save product websites.
*
- * @param array $websiteData
* @return $this
*/
protected function _saveProductWebsites(array $websiteData)
@@ -2047,7 +2035,6 @@ public function getOldSku()
/**
* Obtain scope of the row from row data.
*
- * @param array $rowData
* @return int
*/
public function getRowScope(array $rowData)
@@ -2074,7 +2061,6 @@ public function getWebsiteCodes()
/**
* Validate data row.
*
- * @param array $rowData
* @param int $rowNum
* @return bool
*/
diff --git a/app/code/core/Mage/ImportExport/Model/Import/Entity/Product/Type/Abstract.php b/app/code/core/Mage/ImportExport/Model/Import/Entity/Product/Type/Abstract.php
index 37f553b1843..c1ea4f9c870 100644
--- a/app/code/core/Mage/ImportExport/Model/Import/Entity/Product/Type/Abstract.php
+++ b/app/code/core/Mage/ImportExport/Model/Import/Entity/Product/Type/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_ImportExport
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -83,7 +83,6 @@ abstract class Mage_ImportExport_Model_Import_Entity_Product_Type_Abstract
/**
* Object constructor.
*
- * @param array $params
* @throws Exception
*/
final public function __construct(array $params)
@@ -199,7 +198,6 @@ protected function _isAttributeRequiredCheckNeeded($attrCode)
/**
* Validate particular attributes columns.
*
- * @param array $rowData
* @param int $rowNum
* @return bool
*/
@@ -232,7 +230,6 @@ public function getParticularAttributes()
/**
* Validate row attributes. Pass VALID row data ONLY as argument.
*
- * @param array $rowData
* @param int $rowNum
* @param bool $isNewProduct OPTIONAL.
* @return bool
@@ -283,7 +280,6 @@ public function isSuitable()
/**
* Prepare attributes values for save: remove non-existent, remove empty values, remove static.
*
- * @param array $rowData
* @param bool $withDefaultValue
* @return array
*/
diff --git a/app/code/core/Mage/ImportExport/Model/Import/Entity/Product/Type/Configurable.php b/app/code/core/Mage/ImportExport/Model/Import/Entity/Product/Type/Configurable.php
index e1031469941..4e8a4b17458 100644
--- a/app/code/core/Mage/ImportExport/Model/Import/Entity/Product/Type/Configurable.php
+++ b/app/code/core/Mage/ImportExport/Model/Import/Entity/Product/Type/Configurable.php
@@ -168,7 +168,6 @@ protected function _isAttributeSuper($attrCode)
/**
* Validate particular attributes columns.
*
- * @param array $rowData
* @param int $rowNum
* @return bool
*/
@@ -283,8 +282,6 @@ protected function _loadSkuSuperData()
/**
* Validate and prepare data about super attributes and associated products.
*
- * @param array $superData
- * @param array $superAttributes
* @return $this
*/
protected function _processSuperData(array $superData, array &$superAttributes)
diff --git a/app/code/core/Mage/ImportExport/Model/Resource/Import/Data.php b/app/code/core/Mage/ImportExport/Model/Resource/Import/Data.php
index ed757829ee3..4322049a38e 100644
--- a/app/code/core/Mage/ImportExport/Model/Resource/Import/Data.php
+++ b/app/code/core/Mage/ImportExport/Model/Resource/Import/Data.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_ImportExport
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -132,7 +132,6 @@ public function getNextBunch()
*
* @param string $entity
* @param string $behavior
- * @param array $data
* @return int
*/
public function saveBunch($entity, $behavior, array $data)
diff --git a/app/code/core/Mage/Index/Model/Indexer.php b/app/code/core/Mage/Index/Model/Indexer.php
index a015f368233..8bcf59adac1 100644
--- a/app/code/core/Mage/Index/Model/Indexer.php
+++ b/app/code/core/Mage/Index/Model/Indexer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Index
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -114,7 +114,6 @@ public function getProcessByCode($code)
/**
* Function returns array of indexer's process with order by sort_order field
*
- * @param array $codes
* @return array
*/
public function getProcessesCollectionByCodes(array $codes)
@@ -230,7 +229,6 @@ public function indexEvents($entity = null, $type = null)
/**
* Index one event by all processes
*
- * @param Mage_Index_Model_Event $event
* @return Mage_Index_Model_Indexer
*/
public function indexEvent(Mage_Index_Model_Event $event)
@@ -242,7 +240,6 @@ public function indexEvent(Mage_Index_Model_Event $event)
/**
* Register event in each indexing process process
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function registerEvent(Mage_Index_Model_Event $event)
@@ -254,7 +251,6 @@ public function registerEvent(Mage_Index_Model_Event $event)
/**
* Create new event log and register event in all processes
*
- * @param Varien_Object $entity
* @param string $entityType
* @param string $eventType
* @param bool $doSave
@@ -279,10 +275,8 @@ public function logEvent(Varien_Object $entity, $entityType, $eventType, $doSave
* Create new event log and register event in all processes.
* Initiate events indexing procedure.
*
- * @param Varien_Object $entity
* @param string $entityType
* @param string $eventType
- * @return Mage_Index_Model_Indexer
* @throws Exception|Throwable
*/
public function processEntityAction(Varien_Object $entity, $entityType, $eventType): Mage_Index_Model_Indexer
diff --git a/app/code/core/Mage/Index/Model/Indexer/Abstract.php b/app/code/core/Mage/Index/Model/Indexer/Abstract.php
index 83bd393a651..4dec7164abc 100644
--- a/app/code/core/Mage/Index/Model/Indexer/Abstract.php
+++ b/app/code/core/Mage/Index/Model/Indexer/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Index
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2017-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -60,22 +60,17 @@ public function getDescription()
/**
* Register indexer required data inside event object
- *
- * @param Mage_Index_Model_Event $event
*/
abstract protected function _registerEvent(Mage_Index_Model_Event $event);
/**
* Process event based on event state data
- *
- * @param Mage_Index_Model_Event $event
*/
abstract protected function _processEvent(Mage_Index_Model_Event $event);
/**
* Register data required by process in event object
*
- * @param Mage_Index_Model_Event $event
* @return Mage_Index_Model_Indexer_Abstract
*/
public function register(Mage_Index_Model_Event $event)
@@ -89,7 +84,6 @@ public function register(Mage_Index_Model_Event $event)
/**
* Process event
*
- * @param Mage_Index_Model_Event $event
* @return Mage_Index_Model_Indexer_Abstract
*/
public function processEvent(Mage_Index_Model_Event $event)
@@ -103,7 +97,6 @@ public function processEvent(Mage_Index_Model_Event $event)
/**
* Check if event can be matched by process
*
- * @param Mage_Index_Model_Event $event
* @return bool
*/
public function matchEvent(Mage_Index_Model_Event $event)
@@ -142,7 +135,6 @@ public function reindexAll()
* Try dynamically detect and call event handler from resource model.
* Handler name will be generated from event entity and type code
*
- * @param Mage_Index_Model_Event $event
* @return Mage_Index_Model_Indexer_Abstract
*/
public function callEventHandler(Mage_Index_Model_Event $event)
diff --git a/app/code/core/Mage/Index/Model/Observer.php b/app/code/core/Mage/Index/Model/Observer.php
index 2a016c35137..20507c52e86 100644
--- a/app/code/core/Mage/Index/Model/Observer.php
+++ b/app/code/core/Mage/Index/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Index
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -37,7 +37,6 @@ public function __construct()
/**
* Store after commit observer. Process store related indexes
*
- * @param Varien_Event_Observer $observer
* @throws Throwable
*/
public function processStoreSave(Varien_Event_Observer $observer)
@@ -53,7 +52,6 @@ public function processStoreSave(Varien_Event_Observer $observer)
/**
* Store group after commit observer. Process store group related indexes
*
- * @param Varien_Event_Observer $observer
* @throws Throwable
*/
public function processStoreGroupSave(Varien_Event_Observer $observer)
@@ -69,7 +67,6 @@ public function processStoreGroupSave(Varien_Event_Observer $observer)
/**
* Website save after commit observer. Process website related indexes
*
- * @param Varien_Event_Observer $observer
* @throws Throwable
*/
public function processWebsiteSave(Varien_Event_Observer $observer)
@@ -85,7 +82,6 @@ public function processWebsiteSave(Varien_Event_Observer $observer)
/**
* Store after commit observer. Process store related indexes
*
- * @param Varien_Event_Observer $observer
* @throws Throwable
*/
public function processStoreDelete(Varien_Event_Observer $observer)
@@ -101,7 +97,6 @@ public function processStoreDelete(Varien_Event_Observer $observer)
/**
* Store group after commit observer. Process store group related indexes
*
- * @param Varien_Event_Observer $observer
* @throws Throwable
*/
public function processStoreGroupDelete(Varien_Event_Observer $observer)
@@ -117,7 +112,6 @@ public function processStoreGroupDelete(Varien_Event_Observer $observer)
/**
* Website save after commit observer. Process website related indexes
*
- * @param Varien_Event_Observer $observer
* @throws Throwable
*/
public function processWebsiteDelete(Varien_Event_Observer $observer)
@@ -133,7 +127,6 @@ public function processWebsiteDelete(Varien_Event_Observer $observer)
/**
* Config data after commit observer.
*
- * @param Varien_Event_Observer $observer
* @throws Throwable
*/
public function processConfigDataSave(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Index/Model/Process.php b/app/code/core/Mage/Index/Model/Process.php
index a1b3090523f..88efd996cd3 100644
--- a/app/code/core/Mage/Index/Model/Process.php
+++ b/app/code/core/Mage/Index/Model/Process.php
@@ -93,7 +93,6 @@ protected function _construct()
/**
* Set indexer class name as data namespace for event object
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
protected function _setEventNamespace(Mage_Index_Model_Event $event)
@@ -120,7 +119,6 @@ protected function _resetEventNamespace($event)
/**
* Register data required by process in event object
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function register(Mage_Index_Model_Event $event)
@@ -140,7 +138,6 @@ public function register(Mage_Index_Model_Event $event)
/**
* Check if event can be matched by process
*
- * @param Mage_Index_Model_Event $event
* @return bool
*/
public function matchEvent(Mage_Index_Model_Event $event)
@@ -251,7 +248,6 @@ public function reindexEverything()
/**
* Process event with assigned indexer object
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function processEvent(Mage_Index_Model_Event $event)
@@ -359,7 +355,6 @@ public function indexEvents($entity = null, $type = null)
/**
* Process all events of the collection
*
- * @param Mage_Index_Model_Resource_Event_Collection $eventsCollection
* @param bool $skipUnmatched
* @return $this
*/
@@ -389,7 +384,6 @@ protected function _processEventsCollection(
/**
* Update status process/event association
*
- * @param Mage_Index_Model_Event $event
* @param string $status
* @return $this
*/
@@ -593,7 +587,6 @@ public function enableIndexerKeys()
/**
* Process event with locks checking
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function safeProcessEvent(Mage_Index_Model_Event $event)
diff --git a/app/code/core/Mage/Index/Model/Resource/Abstract.php b/app/code/core/Mage/Index/Model/Resource/Abstract.php
index 1eb6f7aa17f..60572150757 100644
--- a/app/code/core/Mage/Index/Model/Resource/Abstract.php
+++ b/app/code/core/Mage/Index/Model/Resource/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Index
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2017-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -150,7 +150,6 @@ public function insertFromTable($sourceTable, $destTable, $readToIndex = true)
*
* @param Varien_Db_Select $select
* @param string $destTable
- * @param array $columns
* @param bool $readToIndex data migration direction (true - read=>index, false - index=>read)
* @return Mage_Index_Model_Resource_Abstract
*/
diff --git a/app/code/core/Mage/Index/Model/Resource/Helper/Lock/Interface.php b/app/code/core/Mage/Index/Model/Resource/Helper/Lock/Interface.php
index b42d8bcf16c..822ac87a885 100644
--- a/app/code/core/Mage/Index/Model/Resource/Helper/Lock/Interface.php
+++ b/app/code/core/Mage/Index/Model/Resource/Helper/Lock/Interface.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Index
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -51,7 +51,6 @@ public function releaseLock($name);
public function isLocked($name);
/**
- * @param Varien_Db_Adapter_Interface $adapter
* @return $this
*/
public function setWriteAdapter(Varien_Db_Adapter_Interface $adapter);
diff --git a/app/code/core/Mage/Index/Model/Resource/Helper/Mysql4.php b/app/code/core/Mage/Index/Model/Resource/Helper/Mysql4.php
index 9e772d0ab5b..4a91d8273fe 100644
--- a/app/code/core/Mage/Index/Model/Resource/Helper/Mysql4.php
+++ b/app/code/core/Mage/Index/Model/Resource/Helper/Mysql4.php
@@ -71,7 +71,6 @@ public function isLocked($name)
}
/**
- * @param Varien_Db_Adapter_Interface $adapter
* @return $this
*/
public function setWriteAdapter(Varien_Db_Adapter_Interface $adapter)
diff --git a/app/code/core/Mage/Index/Model/Resource/Process.php b/app/code/core/Mage/Index/Model/Resource/Process.php
index 43164e43aae..a2d3fdfbe73 100644
--- a/app/code/core/Mage/Index/Model/Resource/Process.php
+++ b/app/code/core/Mage/Index/Model/Resource/Process.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Index
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -48,7 +48,6 @@ public function updateEventStatus($processId, $eventId, $status)
/**
* Register process end
*
- * @param Mage_Index_Model_Process $process
* @return $this
*/
public function endProcess(Mage_Index_Model_Process $process)
@@ -64,7 +63,6 @@ public function endProcess(Mage_Index_Model_Process $process)
/**
* Register process start
*
- * @param Mage_Index_Model_Process $process
* @return $this
*/
public function startProcess(Mage_Index_Model_Process $process)
@@ -80,7 +78,6 @@ public function startProcess(Mage_Index_Model_Process $process)
/**
* Register process fail
*
- * @param Mage_Index_Model_Process $process
* @return $this
*/
public function failProcess(Mage_Index_Model_Process $process)
@@ -125,7 +122,6 @@ protected function _updateProcessData($processId, $data)
/**
* Update process start date
*
- * @param Mage_Index_Model_Process $process
* @return $this
*/
public function updateProcessStartDate(Mage_Index_Model_Process $process)
@@ -137,7 +133,6 @@ public function updateProcessStartDate(Mage_Index_Model_Process $process)
/**
* Update process end date
*
- * @param Mage_Index_Model_Process $process
* @return $this
*/
public function updateProcessEndDate(Mage_Index_Model_Process $process)
diff --git a/app/code/core/Mage/Install/Model/Installer/Console.php b/app/code/core/Mage/Install/Model/Installer/Console.php
index 5a10fd9cb86..f33ca1e4e5a 100644
--- a/app/code/core/Mage/Install/Model/Installer/Console.php
+++ b/app/code/core/Mage/Install/Model/Installer/Console.php
@@ -235,7 +235,6 @@ public function getEncryptionKey()
/**
* Init installation
*
- * @param Mage_Core_Model_App $app
* @return bool
*/
public function init(Mage_Core_Model_App $app)
diff --git a/app/code/core/Mage/Install/Model/Wizard.php b/app/code/core/Mage/Install/Model/Wizard.php
index 0d5beaa37fe..760f0758559 100644
--- a/app/code/core/Mage/Install/Model/Wizard.php
+++ b/app/code/core/Mage/Install/Model/Wizard.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Install
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -59,7 +59,6 @@ public function __construct()
/**
* Get wizard step by request
*
- * @param Zend_Controller_Request_Abstract $request
* @return Varien_Object | false
*/
public function getStepByRequest(Zend_Controller_Request_Abstract $request)
diff --git a/app/code/core/Mage/Log/Helper/Data.php b/app/code/core/Mage/Log/Helper/Data.php
index 147fd7ea4d1..0d22611388f 100644
--- a/app/code/core/Mage/Log/Helper/Data.php
+++ b/app/code/core/Mage/Log/Helper/Data.php
@@ -37,7 +37,6 @@ class Mage_Log_Helper_Data extends Mage_Core_Helper_Abstract
/**
* Mage_Log_Helper_Data constructor.
- * @param array $data
*/
public function __construct(array $data = [])
{
diff --git a/app/code/core/Mage/Log/Model/Adminhtml/System/Config/Source/Loglevel.php b/app/code/core/Mage/Log/Model/Adminhtml/System/Config/Source/Loglevel.php
index 7ecdf4cdd65..f2abc522d44 100644
--- a/app/code/core/Mage/Log/Model/Adminhtml/System/Config/Source/Loglevel.php
+++ b/app/code/core/Mage/Log/Model/Adminhtml/System/Config/Source/Loglevel.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Log
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -44,7 +44,6 @@ class Mage_Log_Model_Adminhtml_System_Config_Source_Loglevel
/**
* Mage_Log_Model_Adminhtml_System_Config_Source_Loglevel constructor.
- * @param array $data
*/
public function __construct(array $data = [])
{
diff --git a/app/code/core/Mage/Log/Model/Resource/Log.php b/app/code/core/Mage/Log/Model/Resource/Log.php
index 2fbda32293b..4bb32a3a388 100644
--- a/app/code/core/Mage/Log/Model/Resource/Log.php
+++ b/app/code/core/Mage/Log/Model/Resource/Log.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Log
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Clean logs
*
- * @param Mage_Log_Model_Log $object
* @return $this
*/
public function clean(Mage_Log_Model_Log $object)
diff --git a/app/code/core/Mage/Log/Model/Resource/Visitor.php b/app/code/core/Mage/Log/Model/Resource/Visitor.php
index def15373058..6e388a50b43 100644
--- a/app/code/core/Mage/Log/Model/Resource/Visitor.php
+++ b/app/code/core/Mage/Log/Model/Resource/Visitor.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Log
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -30,7 +30,6 @@ class Mage_Log_Model_Resource_Visitor extends Mage_Core_Model_Resource_Db_Abstra
/**
* Mage_Log_Model_Resource_Visitor constructor.
- * @param array $data
*/
public function __construct(array $data = [])
{
@@ -46,7 +45,6 @@ protected function _construct()
/**
* Prepare data for save
*
- * @param Mage_Core_Model_Abstract|Mage_Log_Model_Visitor $visitor
* @return array
*/
protected function _prepareDataForSave(Mage_Core_Model_Abstract $visitor)
@@ -85,7 +83,6 @@ protected function _saveUrlInfo($visitor)
/**
* Save url info before save
*
- * @param Mage_Core_Model_Abstract|Mage_Log_Model_Visitor $visitor
* @return $this
*/
protected function _beforeSave(Mage_Core_Model_Abstract $visitor)
@@ -102,7 +99,6 @@ protected function _beforeSave(Mage_Core_Model_Abstract $visitor)
/**
* Actions after save
*
- * @param Mage_Core_Model_Abstract|Mage_Log_Model_Visitor $visitor
* @return $this
*/
protected function _afterSave(Mage_Core_Model_Abstract $visitor)
@@ -134,7 +130,6 @@ protected function _afterSave(Mage_Core_Model_Abstract $visitor)
/**
* Perform actions after object load
*
- * @param Mage_Core_Model_Abstract|Mage_Log_Model_Visitor $object
* @return $this
*/
protected function _afterLoad(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Log/Model/Resource/Visitor/Online.php b/app/code/core/Mage/Log/Model/Resource/Visitor/Online.php
index 3a2cd348cc3..5524a5e37db 100644
--- a/app/code/core/Mage/Log/Model/Resource/Visitor/Online.php
+++ b/app/code/core/Mage/Log/Model/Resource/Visitor/Online.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Log
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Prepare online visitors for collection
*
- * @param Mage_Log_Model_Visitor_Online $object
* @return $this
*/
public function prepare(Mage_Log_Model_Visitor_Online $object)
diff --git a/app/code/core/Mage/Log/Model/Visitor.php b/app/code/core/Mage/Log/Model/Visitor.php
index 774e3506f96..12b43827ee4 100644
--- a/app/code/core/Mage/Log/Model/Visitor.php
+++ b/app/code/core/Mage/Log/Model/Visitor.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Log
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -83,7 +83,6 @@ class Mage_Log_Model_Visitor extends Mage_Core_Model_Abstract
/**
* Mage_Log_Model_Visitor constructor.
- * @param array $data
*/
public function __construct(array $data = [])
{
diff --git a/app/code/core/Mage/Media/Model/File/Image.php b/app/code/core/Mage/Media/Model/File/Image.php
index 298d3c0ab98..2b11679902e 100644
--- a/app/code/core/Mage/Media/Model/File/Image.php
+++ b/app/code/core/Mage/Media/Model/File/Image.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Media
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -46,7 +46,6 @@ protected function _getWriteAdapter()
}
/**
- * @param Mage_Media_Model_Image $object
* @param mixed $file
* @param mixed|null $field
* @return $this
@@ -58,7 +57,6 @@ public function load(Mage_Media_Model_Image $object, $file, $field = null)
}
/**
- * @param Mage_Media_Model_Image $object
* @return $this
*/
public function save(Mage_Media_Model_Image $object)
@@ -68,7 +66,6 @@ public function save(Mage_Media_Model_Image $object)
}
/**
- * @param Mage_Media_Model_Image $object
* @return $this
*/
public function delete(Mage_Media_Model_Image $object)
@@ -79,7 +76,6 @@ public function delete(Mage_Media_Model_Image $object)
/**
* Create image resource for operation from file
*
- * @param Mage_Media_Model_Image $object
* @return bool|false|resource
* @throws Mage_Core_Exception
*/
@@ -115,7 +111,6 @@ public function getImage(Mage_Media_Model_Image $object)
/**
* Create tmp image resource for operations
*
- * @param Mage_Media_Model_Image $object
* @return resource
*/
public function getTmpImage(Mage_Media_Model_Image $object)
@@ -126,7 +121,6 @@ public function getTmpImage(Mage_Media_Model_Image $object)
/**
* Resize image
*
- * @param Mage_Media_Model_Image $object
* @return $this
*/
public function resize(Mage_Media_Model_Image $object)
@@ -153,7 +147,6 @@ public function resize(Mage_Media_Model_Image $object)
/**
* Add watermark for image
*
- * @param Mage_Media_Model_Image $object
* @return $this
*/
public function watermark(Mage_Media_Model_Image $object)
@@ -164,7 +157,6 @@ public function watermark(Mage_Media_Model_Image $object)
/**
* Creates image
*
- * @param Mage_Media_Model_Image $object
* @param string|null $extension
* @return $this
*/
@@ -201,9 +193,7 @@ public function saveAs(Mage_Media_Model_Image $object, $extension = null)
/**
* Retrieve image dimensions
*
- * @param Mage_Media_Model_Image $object
* @return Varien_Object
- *
* @SuppressWarnings(PHPMD.ErrorControlOperator)
*/
public function getDimensions(Mage_Media_Model_Image $object)
@@ -232,7 +222,6 @@ public function destroyResource(&$resource)
/**
* Destroys resource object
*
- * @param Mage_Media_Model_Image $object
* @return bool
*/
public function hasSpecialImage(Mage_Media_Model_Image $object)
diff --git a/app/code/core/Mage/Media/Model/Image.php b/app/code/core/Mage/Media/Model/Image.php
index fcbf48045e0..d22142ea04d 100644
--- a/app/code/core/Mage/Media/Model/Image.php
+++ b/app/code/core/Mage/Media/Model/Image.php
@@ -55,7 +55,6 @@ protected function _construct()
/**
* Set media image config instance
- * @param Mage_Media_Model_Image_Config_Interface $config
* @return Mage_Media_Model_Image
*/
public function setConfig(Mage_Media_Model_Image_Config_Interface $config)
diff --git a/app/code/core/Mage/Newsletter/Model/Observer.php b/app/code/core/Mage/Newsletter/Model/Observer.php
index 930fda0f97a..4307d75a4a0 100644
--- a/app/code/core/Mage/Newsletter/Model/Observer.php
+++ b/app/code/core/Mage/Newsletter/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Newsletter
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -22,7 +22,6 @@
class Mage_Newsletter_Model_Observer
{
/**
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function subscribeCustomer(Varien_Event_Observer $observer)
@@ -37,7 +36,6 @@ public function subscribeCustomer(Varien_Event_Observer $observer)
/**
* Customer delete handler
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function customerDeleted(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Newsletter/Model/Problem.php b/app/code/core/Mage/Newsletter/Model/Problem.php
index 45f7aaac9aa..bdef3f5a8b7 100644
--- a/app/code/core/Mage/Newsletter/Model/Problem.php
+++ b/app/code/core/Mage/Newsletter/Model/Problem.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Newsletter
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -54,7 +54,6 @@ protected function _construct()
/**
* Add Subscriber Data
*
- * @param Mage_Newsletter_Model_Subscriber $subscriber
* @return $this
*/
public function addSubscriberData(Mage_Newsletter_Model_Subscriber $subscriber)
@@ -66,7 +65,6 @@ public function addSubscriberData(Mage_Newsletter_Model_Subscriber $subscriber)
/**
* Add Queue Data
*
- * @param Mage_Newsletter_Model_Queue $queue
* @return $this
*/
public function addQueueData(Mage_Newsletter_Model_Queue $queue)
@@ -78,7 +76,6 @@ public function addQueueData(Mage_Newsletter_Model_Queue $queue)
/**
* Add Error Data
*
- * @param Exception $e
* @return $this
*/
public function addErrorData(Exception $e)
diff --git a/app/code/core/Mage/Newsletter/Model/Queue.php b/app/code/core/Mage/Newsletter/Model/Queue.php
index 0acd5ecc67d..5ec08cdc9e9 100644
--- a/app/code/core/Mage/Newsletter/Model/Queue.php
+++ b/app/code/core/Mage/Newsletter/Model/Queue.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Newsletter
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -157,7 +157,6 @@ public function setQueueStartAtByString($startAt)
* Send messages to subscribers for this queue
*
* @param int $count
- * @param array $additionalVariables
* @return $this
*/
public function sendPerSubscriber($count = 20, array $additionalVariables = [])
@@ -249,7 +248,6 @@ public function getDataForSave()
/**
* Add subscribers to queue.
*
- * @param array $subscriberIds
* @return $this
*/
public function addSubscribersToQueue(array $subscriberIds)
@@ -307,7 +305,6 @@ public function getSaveStoresFlag()
/**
* Setter for stores of queue.
*
- * @param array $storesIds
* @return $this
*/
public function setStores(array $storesIds)
diff --git a/app/code/core/Mage/Newsletter/Model/Resource/Queue.php b/app/code/core/Mage/Newsletter/Model/Resource/Queue.php
index 3bb8319d065..f5c4e5ccbfc 100644
--- a/app/code/core/Mage/Newsletter/Model/Resource/Queue.php
+++ b/app/code/core/Mage/Newsletter/Model/Resource/Queue.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Newsletter
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -28,9 +28,6 @@ protected function _construct()
/**
* Add subscribers to queue
- *
- * @param Mage_Newsletter_Model_Queue $queue
- * @param array $subscriberIds
*/
public function addSubscribersToQueue(Mage_Newsletter_Model_Queue $queue, array $subscriberIds)
{
@@ -69,8 +66,6 @@ public function addSubscribersToQueue(Mage_Newsletter_Model_Queue $queue, array
/**
* Removes subscriber from queue
- *
- * @param Mage_Newsletter_Model_Queue $queue
*/
public function removeSubscribersFromQueue(Mage_Newsletter_Model_Queue $queue)
{
@@ -93,7 +88,6 @@ public function removeSubscribersFromQueue(Mage_Newsletter_Model_Queue $queue)
/**
* Links queue to store
*
- * @param Mage_Newsletter_Model_Queue $queue
* @return $this
*/
public function setStores(Mage_Newsletter_Model_Queue $queue)
@@ -143,7 +137,6 @@ public function setStores(Mage_Newsletter_Model_Queue $queue)
/**
* Returns queue linked stores
*
- * @param Mage_Newsletter_Model_Queue $queue
* @return array
*/
public function getStores(Mage_Newsletter_Model_Queue $queue)
diff --git a/app/code/core/Mage/Newsletter/Model/Resource/Subscriber.php b/app/code/core/Mage/Newsletter/Model/Resource/Subscriber.php
index f54b2902444..65654eb77dc 100644
--- a/app/code/core/Mage/Newsletter/Model/Resource/Subscriber.php
+++ b/app/code/core/Mage/Newsletter/Model/Resource/Subscriber.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Newsletter
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -95,7 +95,6 @@ public function loadByEmail($subscriberEmail)
/**
* Load subscriber by customer
*
- * @param Mage_Customer_Model_Customer $customer
* @return array
*/
public function loadByCustomer(Mage_Customer_Model_Customer $customer)
@@ -140,8 +139,6 @@ protected function _generateRandomCode()
/**
* Updates data when subscriber received
*
- * @param Mage_Newsletter_Model_Subscriber $subscriber
- * @param Mage_Newsletter_Model_Queue $queue
* @return $this
*/
public function received(Mage_Newsletter_Model_Subscriber $subscriber, Mage_Newsletter_Model_Queue $queue)
diff --git a/app/code/core/Mage/Newsletter/Model/Resource/Subscriber/Collection.php b/app/code/core/Mage/Newsletter/Model/Resource/Subscriber/Collection.php
index 2f915776077..c8d8cd74311 100644
--- a/app/code/core/Mage/Newsletter/Model/Resource/Subscriber/Collection.php
+++ b/app/code/core/Mage/Newsletter/Model/Resource/Subscriber/Collection.php
@@ -77,7 +77,6 @@ protected function _construct()
/**
* Set loading mode subscribers by queue
*
- * @param Mage_Newsletter_Model_Queue $queue
* @return $this
*/
public function useQueue(Mage_Newsletter_Model_Queue $queue)
diff --git a/app/code/core/Mage/Newsletter/Model/Resource/Template.php b/app/code/core/Mage/Newsletter/Model/Resource/Template.php
index 456441aacdb..064b32f8086 100644
--- a/app/code/core/Mage/Newsletter/Model/Resource/Template.php
+++ b/app/code/core/Mage/Newsletter/Model/Resource/Template.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Newsletter
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Load an object by template code
*
- * @param Mage_Newsletter_Model_Template $object
* @param string $templateCode
* @return $this
*/
@@ -54,7 +53,6 @@ public function loadByCode(Mage_Newsletter_Model_Template $object, $templateCode
/**
* Check usage of template in queue
*
- * @param Mage_Newsletter_Model_Template $template
* @return bool
*/
public function checkUsageInQueue(Mage_Newsletter_Model_Template $template)
@@ -77,7 +75,6 @@ public function checkUsageInQueue(Mage_Newsletter_Model_Template $template)
/**
* Check usage of template code in other templates
*
- * @param Mage_Newsletter_Model_Template $template
* @return bool
*/
public function checkCodeUsage(Mage_Newsletter_Model_Template $template)
diff --git a/app/code/core/Mage/Newsletter/Model/Subscriber.php b/app/code/core/Mage/Newsletter/Model/Subscriber.php
index 53edf443619..36a250b9d6f 100644
--- a/app/code/core/Mage/Newsletter/Model/Subscriber.php
+++ b/app/code/core/Mage/Newsletter/Model/Subscriber.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Newsletter
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -261,7 +261,6 @@ public function loadByEmail($subscriberEmail)
/**
* Load subscriber info by customer
*
- * @param Mage_Customer_Model_Customer $customer
* @return $this
*/
public function loadByCustomer(Mage_Customer_Model_Customer $customer)
@@ -482,7 +481,6 @@ public function confirm($code)
/**
* Mark receiving subscriber of queue newsletter
*
- * @param Mage_Newsletter_Model_Queue $queue
* @return $this
*/
public function received(Mage_Newsletter_Model_Queue $queue)
diff --git a/app/code/core/Mage/Newsletter/Model/Template.php b/app/code/core/Mage/Newsletter/Model/Template.php
index c660c8317a8..9128cd0d162 100644
--- a/app/code/core/Mage/Newsletter/Model/Template.php
+++ b/app/code/core/Mage/Newsletter/Model/Template.php
@@ -180,7 +180,6 @@ public function getTemplateTextPreprocessed()
/**
* Retrieve processed template
*
- * @param array $variables
* @param bool $usePreprocess
* @return string
*/
@@ -250,7 +249,6 @@ public function getPreparedTemplateText($usePreprocess = false, $html = null)
* Retrieve included template
*
* @param string $templateCode
- * @param array $variables
* @return string
*/
public function getInclude($templateCode, array $variables)
@@ -388,7 +386,6 @@ public function preprocess()
/**
* Retrieve processed template subject
*
- * @param array $variables
* @return string
*/
public function getProcessedTemplateSubject(array $variables)
diff --git a/app/code/core/Mage/Oauth/Block/Customer/Token/List.php b/app/code/core/Mage/Oauth/Block/Customer/Token/List.php
index bbd8b1bb1ae..37d4daa8629 100644
--- a/app/code/core/Mage/Oauth/Block/Customer/Token/List.php
+++ b/app/code/core/Mage/Oauth/Block/Customer/Token/List.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Oauth
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -92,7 +92,6 @@ public function getCollection()
/**
* Get link for update revoke status
*
- * @param Mage_Oauth_Model_Token $model
* @return string
*/
public function getUpdateRevokeLink(Mage_Oauth_Model_Token $model)
@@ -106,7 +105,6 @@ public function getUpdateRevokeLink(Mage_Oauth_Model_Token $model)
/**
* Get delete link
*
- * @param Mage_Oauth_Model_Token $model
* @return string
*/
public function getDeleteLink(Mage_Oauth_Model_Token $model)
diff --git a/app/code/core/Mage/Oauth/Model/Observer.php b/app/code/core/Mage/Oauth/Model/Observer.php
index a59fc793251..6812333f829 100644
--- a/app/code/core/Mage/Oauth/Model/Observer.php
+++ b/app/code/core/Mage/Oauth/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Oauth
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -33,8 +33,6 @@ protected function _getOauthToken()
/**
* Redirect customer to callback page after login
- *
- * @param Varien_Event_Observer $observer
*/
public function afterCustomerLogin(Varien_Event_Observer $observer)
{
@@ -51,8 +49,6 @@ public function afterCustomerLogin(Varien_Event_Observer $observer)
/**
* Redirect admin to authorize controller after login success
- *
- * @param Varien_Event_Observer $observer
*/
public function afterAdminLogin(Varien_Event_Observer $observer)
{
@@ -69,8 +65,6 @@ public function afterAdminLogin(Varien_Event_Observer $observer)
/**
* Redirect admin to authorize controller after login fail
- *
- * @param Varien_Event_Observer $observer
*/
public function afterAdminLoginFailed(Varien_Event_Observer $observer)
{
diff --git a/app/code/core/Mage/Oauth/Model/Server.php b/app/code/core/Mage/Oauth/Model/Server.php
index ed217ff2ead..74b38270786 100644
--- a/app/code/core/Mage/Oauth/Model/Server.php
+++ b/app/code/core/Mage/Oauth/Model/Server.php
@@ -653,7 +653,6 @@ public function initiateToken()
/**
* Create response string for problem during request and set HTTP error code
*
- * @param Exception $e
* @param Zend_Controller_Response_Http|null $response OPTIONAL If NULL - will use internal getter
* @return string
* @throws Zend_Controller_Response_Exception
@@ -692,7 +691,6 @@ public function reportProblem(Exception $e, ?Zend_Controller_Response_Http $resp
/**
* Set response object
*
- * @param Zend_Controller_Response_Http $response
* @return $this
*/
public function setResponse(Zend_Controller_Response_Http $response)
diff --git a/app/code/core/Mage/Oauth/controllers/Adminhtml/Oauth/ConsumerController.php b/app/code/core/Mage/Oauth/controllers/Adminhtml/Oauth/ConsumerController.php
index 6eaa7253f91..fd49a6f26bc 100644
--- a/app/code/core/Mage/Oauth/controllers/Adminhtml/Oauth/ConsumerController.php
+++ b/app/code/core/Mage/Oauth/controllers/Adminhtml/Oauth/ConsumerController.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Oauth
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -25,7 +25,6 @@ class Mage_Oauth_Adminhtml_Oauth_ConsumerController extends Mage_Adminhtml_Contr
* Unset unused data from request
* Skip getting "key" and "secret" because its generated from server side only
*
- * @param array $data
* @return array
*/
protected function _filter(array $data)
diff --git a/app/code/core/Mage/Page/Block/Html/Pager.php b/app/code/core/Mage/Page/Block/Html/Pager.php
index 68f99e326e1..a986f06c80e 100644
--- a/app/code/core/Mage/Page/Block/Html/Pager.php
+++ b/app/code/core/Mage/Page/Block/Html/Pager.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Page
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -200,9 +200,6 @@ public function getLimitVarName()
return $this->_limitVarName;
}
- /**
- * @param array $limits
- */
public function setAvailableLimit(array $limits)
{
$this->_availableLimit = $limits;
diff --git a/app/code/core/Mage/Page/Block/Html/Topmenu.php b/app/code/core/Mage/Page/Block/Html/Topmenu.php
index 41d2c68e317..a54525d6c6b 100644
--- a/app/code/core/Mage/Page/Block/Html/Topmenu.php
+++ b/app/code/core/Mage/Page/Block/Html/Topmenu.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Page
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -83,7 +83,6 @@ public function getHtml($outermostClass = '', $childrenWrapClass = '')
/**
* Recursively generates top menu html from data that is specified in $menuTree
*
- * @param Varien_Data_Tree_Node $menuTree
* @param string $childrenWrapClass
* @return string
* @deprecated since 1.8.2.0 use child block catalog.topnav.renderer instead
@@ -143,7 +142,6 @@ protected function _getHtml(Varien_Data_Tree_Node $menuTree, $childrenWrapClass)
/**
* Generates string with all attributes that should be present in menu item element
*
- * @param Varien_Data_Tree_Node $item
* @return string
*/
protected function _getRenderedMenuItemAttributes(Varien_Data_Tree_Node $item)
@@ -161,7 +159,6 @@ protected function _getRenderedMenuItemAttributes(Varien_Data_Tree_Node $item)
/**
* Returns array of menu item's attributes
*
- * @param Varien_Data_Tree_Node $item
* @return array
*/
protected function _getMenuItemAttributes(Varien_Data_Tree_Node $item)
@@ -175,7 +172,6 @@ protected function _getMenuItemAttributes(Varien_Data_Tree_Node $item)
/**
* Returns array of menu item's classes
*
- * @param Varien_Data_Tree_Node $item
* @return array
*/
protected function _getMenuItemClasses(Varien_Data_Tree_Node $item)
diff --git a/app/code/core/Mage/Page/Block/Html/Topmenu/Renderer.php b/app/code/core/Mage/Page/Block/Html/Topmenu/Renderer.php
index bf63dde9eba..fc6a44cb441 100644
--- a/app/code/core/Mage/Page/Block/Html/Topmenu/Renderer.php
+++ b/app/code/core/Mage/Page/Block/Html/Topmenu/Renderer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Page
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -62,7 +62,6 @@ protected function _addCacheTags()
/**
* Fetches template. If template has return statement, than its value is used and direct output otherwise.
- * @param Varien_Data_Tree_Node $menuTree
* @param string $childrenWrapClass
* @return string
*/
diff --git a/app/code/core/Mage/Paygate/Model/Authorizenet.php b/app/code/core/Mage/Paygate/Model/Authorizenet.php
index bd7727dd8e5..179e0f438c9 100644
--- a/app/code/core/Mage/Paygate/Model/Authorizenet.php
+++ b/app/code/core/Mage/Paygate/Model/Authorizenet.php
@@ -265,7 +265,6 @@ public function canRefund()
/**
* Check void availability
*
- * @param Varien_Object $payment
* @return bool
*/
public function canVoid(Varien_Object $payment)
@@ -407,7 +406,6 @@ public function cancel(Varien_Object $payment)
/**
* Refund the amount with transaction id
*
- * @param Mage_Payment_Model_Info|Varien_Object $payment
* @param float $requestedAmount
* @return $this
* @throws Mage_Core_Exception
@@ -460,8 +458,6 @@ public function refund(Varien_Object $payment, $requestedAmount)
/**
* Cancel partial authorizations and flush current split_tender_id record
- *
- * @param Mage_Payment_Model_Info $payment
*/
public function cancelPartialAuthorization(Mage_Payment_Model_Info $payment)
{
@@ -1056,7 +1052,6 @@ public function processCreditmemo($creditmemo, $payment)
*
* Update transaction info if there is one placing transaction only
*
- * @param Mage_Payment_Model_Info $payment
* @param string $transactionId
* @return array
*/
@@ -1400,7 +1395,6 @@ protected function _getSession()
* It sets card`s data into additional information of payment model
*
* @param Mage_Paygate_Model_Authorizenet_Result $response
- * @param Mage_Sales_Model_Order_Payment $payment
* @return Varien_Object
*/
protected function _registerCard(Varien_Object $response, Mage_Sales_Model_Order_Payment $payment)
@@ -1451,11 +1445,8 @@ private function _clearAssignedData($payment)
/**
* Add payment transaction
*
- * @param Mage_Sales_Model_Order_Payment $payment
* @param string $transactionId
* @param string $transactionType
- * @param array $transactionDetails
- * @param array $transactionAdditionalInfo
* @return null|Mage_Sales_Model_Order_Payment_Transaction
*/
protected function _addTransaction(
@@ -1543,7 +1534,6 @@ protected function _processFailureMultitransactionAction($payment, $messages, $i
/**
* Generate checksum for object
*
- * @param Varien_Object $object
* @param array $checkSumDataKeys
* @return string
*/
diff --git a/app/code/core/Mage/Paygate/Model/Authorizenet/Cards.php b/app/code/core/Mage/Paygate/Model/Authorizenet/Cards.php
index dab07d511ff..0f605a7b7b2 100644
--- a/app/code/core/Mage/Paygate/Model/Authorizenet/Cards.php
+++ b/app/code/core/Mage/Paygate/Model/Authorizenet/Cards.php
@@ -42,7 +42,6 @@ class Mage_Paygate_Model_Authorizenet_Cards
/**
* Set payment instance for storing credit card information and partial authorizations
*
- * @param Mage_Payment_Model_Info $payment
* @return $this
*/
public function setPayment(Mage_Payment_Model_Info $payment)
diff --git a/app/code/core/Mage/Payment/Helper/Data.php b/app/code/core/Mage/Payment/Helper/Data.php
index ebf5876086f..aacda1ffc00 100644
--- a/app/code/core/Mage/Payment/Helper/Data.php
+++ b/app/code/core/Mage/Payment/Helper/Data.php
@@ -106,7 +106,6 @@ protected function _sortMethods($a, $b)
/**
* Retrieve payment method form html
*
- * @param Mage_Payment_Model_Method_Abstract $method
* @return Mage_Payment_Block_Form|Mage_Core_Block_Abstract
*/
public function getMethodFormBlock(Mage_Payment_Model_Method_Abstract $method)
@@ -123,7 +122,6 @@ public function getMethodFormBlock(Mage_Payment_Model_Method_Abstract $method)
/**
* Retrieve payment information block
*
- * @param Mage_Payment_Model_Info $info
* @return Mage_Core_Block_Template|Mage_Core_Block_Abstract
*/
public function getInfoBlock(Mage_Payment_Model_Info $info)
diff --git a/app/code/core/Mage/Payment/Model/Billing/Agreement/MethodInterface.php b/app/code/core/Mage/Payment/Model/Billing/Agreement/MethodInterface.php
index 6cd0bbc31bc..c728af66b02 100644
--- a/app/code/core/Mage/Payment/Model/Billing/Agreement/MethodInterface.php
+++ b/app/code/core/Mage/Payment/Model/Billing/Agreement/MethodInterface.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Payment
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,29 +23,21 @@ interface Mage_Payment_Model_Billing_Agreement_MethodInterface
{
/**
* Init billing agreement
- *
- * @param Mage_Payment_Model_Billing_AgreementAbstract $agreement
*/
public function initBillingAgreementToken(Mage_Payment_Model_Billing_AgreementAbstract $agreement);
/**
* Retrieve billing agreement details
- *
- * @param Mage_Payment_Model_Billing_AgreementAbstract $agreement
*/
public function getBillingAgreementTokenInfo(Mage_Payment_Model_Billing_AgreementAbstract $agreement);
/**
* Create billing agreement
- *
- * @param Mage_Payment_Model_Billing_AgreementAbstract $agreement
*/
public function placeBillingAgreement(Mage_Payment_Model_Billing_AgreementAbstract $agreement);
/**
* Update billing agreement status
- *
- * @param Mage_Payment_Model_Billing_AgreementAbstract $agreement
*/
public function updateBillingAgreementStatus(Mage_Payment_Model_Billing_AgreementAbstract $agreement);
}
diff --git a/app/code/core/Mage/Payment/Model/Method/Abstract.php b/app/code/core/Mage/Payment/Model/Method/Abstract.php
index 8b87e2add71..ea39a616e77 100644
--- a/app/code/core/Mage/Payment/Model/Method/Abstract.php
+++ b/app/code/core/Mage/Payment/Model/Method/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Payment
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -173,7 +173,6 @@ public function canRefundPartialPerInvoice()
/**
* Check void availability
*
- * @param Varien_Object $payment
* @return bool
*/
public function canVoid(Varien_Object $payment)
@@ -245,7 +244,6 @@ public function canCreateBillingAgreement()
/**
* Fetch transaction info
*
- * @param Mage_Payment_Model_Info $payment
* @param string $transactionId
* @return array
*/
@@ -406,9 +404,7 @@ public function validate()
/**
* Order payment abstract method
*
- * @param Varien_Object $payment
* @param float $amount
- *
* @return $this
*/
public function order(Varien_Object $payment, $amount)
@@ -422,9 +418,7 @@ public function order(Varien_Object $payment, $amount)
/**
* Authorize payment abstract method
*
- * @param Varien_Object $payment
* @param float $amount
- *
* @return $this
*/
public function authorize(Varien_Object $payment, $amount)
@@ -438,9 +432,7 @@ public function authorize(Varien_Object $payment, $amount)
/**
* Capture payment abstract method
*
- * @param Varien_Object $payment
* @param float $amount
- *
* @return $this
*/
public function capture(Varien_Object $payment, $amount)
@@ -482,9 +474,7 @@ public function processBeforeRefund($invoice, $payment)
/**
* Refund specified amount for payment
*
- * @param Varien_Object $payment
* @param float $amount
- *
* @return $this
*/
public function refund(Varien_Object $payment, $amount)
@@ -511,7 +501,6 @@ public function processCreditmemo($creditmemo, $payment)
/**
* Cancel payment abstract method
*
- * @param Varien_Object $payment
*
* @return $this
*/
@@ -537,7 +526,6 @@ public function processBeforeVoid($invoice, $payment)
/**
* Void payment abstract method
*
- * @param Varien_Object $payment
*
* @return $this
*/
@@ -552,7 +540,6 @@ public function void(Varien_Object $payment)
/**
* Whether this method can accept or deny payment
*
- * @param Mage_Payment_Model_Info $payment
*
* @return bool
*/
@@ -564,7 +551,6 @@ public function canReviewPayment(Mage_Payment_Model_Info $payment)
/**
* Attempt to accept a payment that us under review
*
- * @param Mage_Payment_Model_Info $payment
* @return bool
* @throws Mage_Core_Exception
*/
@@ -579,7 +565,6 @@ public function acceptPayment(Mage_Payment_Model_Info $payment)
/**
* Attempt to deny a payment that us under review
*
- * @param Mage_Payment_Model_Info $payment
* @return bool
* @throws Mage_Core_Exception
*/
diff --git a/app/code/core/Mage/Payment/Model/Observer.php b/app/code/core/Mage/Payment/Model/Observer.php
index 85dc64be17d..59e5352edcc 100644
--- a/app/code/core/Mage/Payment/Model/Observer.php
+++ b/app/code/core/Mage/Payment/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Payment
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -101,8 +101,6 @@ public function prepareProductRecurringProfileOptions($observer)
/**
* Sets current instructions for bank transfer account
- *
- * @param Varien_Event_Observer $observer
*/
public function beforeOrderPaymentSave(Varien_Event_Observer $observer)
{
diff --git a/app/code/core/Mage/Payment/Model/Recurring/Profile.php b/app/code/core/Mage/Payment/Model/Recurring/Profile.php
index ab0a0198ee5..1a508921fb9 100644
--- a/app/code/core/Mage/Payment/Model/Recurring/Profile.php
+++ b/app/code/core/Mage/Payment/Model/Recurring/Profile.php
@@ -198,7 +198,6 @@ public function getValidationErrors($isGrouped = true, $asMessage = false)
/**
* Setter for payment method instance
*
- * @param Mage_Payment_Model_Method_Abstract $object
* @return $this
* @throws Exception
*/
@@ -216,7 +215,6 @@ public function setMethodInstance(Mage_Payment_Model_Method_Abstract $object)
* Collect needed information from buy request
* Then filter data
*
- * @param Varien_Object $buyRequest
* @return $this
* @throws Mage_Core_Exception
*/
@@ -241,7 +239,6 @@ public function importBuyRequest(Varien_Object $buyRequest)
* Import product recurring profile information
* Returns false if it cannot be imported
*
- * @param Mage_Catalog_Model_Product $product
* @return $this|false
*/
public function importProduct(Mage_Catalog_Model_Product $product)
@@ -298,7 +295,6 @@ public function exportScheduleInfo()
/**
* Determine nearest possible profile start date
*
- * @param Zend_Date|null $minAllowed
* @return $this
* @throws Zend_Date_Exception
*/
@@ -335,7 +331,6 @@ public function exportStartDatetime($asString = true)
/**
* Locale instance setter
*
- * @param Mage_Core_Model_Locale $locale
* @return $this
*/
public function setLocale(Mage_Core_Model_Locale $locale)
@@ -347,7 +342,6 @@ public function setLocale(Mage_Core_Model_Locale $locale)
/**
* Store instance setter
*
- * @param Mage_Core_Model_Store $store
* @return $this
*/
public function setStore(Mage_Core_Model_Store $store)
diff --git a/app/code/core/Mage/Payment/Model/Recurring/Profile/MethodInterface.php b/app/code/core/Mage/Payment/Model/Recurring/Profile/MethodInterface.php
index 027cb9063a4..363591e84a1 100644
--- a/app/code/core/Mage/Payment/Model/Recurring/Profile/MethodInterface.php
+++ b/app/code/core/Mage/Payment/Model/Recurring/Profile/MethodInterface.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Payment
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,16 +24,12 @@ interface Mage_Payment_Model_Recurring_Profile_MethodInterface
/**
* Validate data
*
- * @param Mage_Payment_Model_Recurring_Profile $profile
* @throws Mage_Core_Exception
*/
public function validateRecurringProfile(Mage_Payment_Model_Recurring_Profile $profile);
/**
* Submit to the gateway
- *
- * @param Mage_Payment_Model_Recurring_Profile $profile
- * @param Mage_Payment_Model_Info $paymentInfo
*/
public function submitRecurringProfile(Mage_Payment_Model_Recurring_Profile $profile, Mage_Payment_Model_Info $paymentInfo);
@@ -41,7 +37,6 @@ public function submitRecurringProfile(Mage_Payment_Model_Recurring_Profile $pro
* Fetch details
*
* @param string $referenceId
- * @param Varien_Object $result
*/
public function getRecurringProfileDetails($referenceId, Varien_Object $result);
@@ -54,15 +49,11 @@ public function canGetRecurringProfileDetails();
/**
* Update data
- *
- * @param Mage_Payment_Model_Recurring_Profile $profile
*/
public function updateRecurringProfile(Mage_Payment_Model_Recurring_Profile $profile);
/**
* Manage status
- *
- * @param Mage_Payment_Model_Recurring_Profile $profile
*/
public function updateRecurringProfileStatus(Mage_Payment_Model_Recurring_Profile $profile);
}
diff --git a/app/code/core/Mage/Payment/Model/Source/Cctype.php b/app/code/core/Mage/Payment/Model/Source/Cctype.php
index 6ab8e819524..0a921690c23 100644
--- a/app/code/core/Mage/Payment/Model/Source/Cctype.php
+++ b/app/code/core/Mage/Payment/Model/Source/Cctype.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Payment
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -41,7 +41,6 @@ public function getAllowedTypes()
/**
* Setter for allowed types
*
- * @param array $values
* @return $this
*/
public function setAllowedTypes(array $values)
diff --git a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/ApiWizard.php b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/ApiWizard.php
index d56fc662065..99617bb61b5 100644
--- a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/ApiWizard.php
+++ b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/ApiWizard.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -41,7 +41,6 @@ protected function _prepareLayout()
/**
* Unset some non-related element parameters
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
@@ -53,7 +52,6 @@ public function render(Varien_Data_Form_Element_Abstract $element)
/**
* Get the button and scripts contents
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Field/Country.php b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Field/Country.php
index df26d090129..ed0cf8db009 100644
--- a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Field/Country.php
+++ b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Field/Country.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -38,7 +38,6 @@ class Mage_Paypal_Block_Adminhtml_System_Config_Field_Country extends Mage_Admin
/**
* Render country field considering request parameter
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
* @throws Exception
*/
@@ -73,7 +72,6 @@ public function render(Varien_Data_Form_Element_Abstract $element)
/**
* Get country selector html
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Field/SolutionType.php b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Field/SolutionType.php
index 229152ea197..d605452d7ee 100644
--- a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Field/SolutionType.php
+++ b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Field/SolutionType.php
@@ -22,7 +22,6 @@
class Mage_Paypal_Block_Adminhtml_System_Config_Field_SolutionType extends Mage_Adminhtml_Block_System_Config_Form_Field
{
/**
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Deprecated.php b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Deprecated.php
index 4d5c2f3b0be..9c66dd5ce2f 100644
--- a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Deprecated.php
+++ b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Deprecated.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Paypal_Block_Adminhtml_System_Config_Fieldset_Deprecated extends Mage
/**
* Get was enabled config path
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
protected function _getWasActiveConfigPath(Varien_Data_Form_Element_Abstract $element)
@@ -36,7 +35,6 @@ protected function _getWasActiveConfigPath(Varien_Data_Form_Element_Abstract $el
/**
* Check whether solution was enabled
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return bool
*/
protected function _wasActive(Varien_Data_Form_Element_Abstract $element)
@@ -50,7 +48,6 @@ protected function _wasActive(Varien_Data_Form_Element_Abstract $element)
/**
* Set solution as was enabled
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return $this
*/
protected function _setWasActive(Varien_Data_Form_Element_Abstract $element)
@@ -111,7 +108,6 @@ public function isPaymentEnabledAnyScope($activityPath)
/**
* Do not render solution if disabled
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Global.php b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Global.php
index 5cab20b6fad..68aa9e1db37 100644
--- a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Global.php
+++ b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Global.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -39,7 +39,6 @@ class Mage_Paypal_Block_Adminhtml_System_Config_Fieldset_Global extends Mage_Adm
/**
* Render fieldset html
*
- * @param Varien_Data_Form_Element_Abstract $fieldset
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $fieldset)
@@ -80,7 +79,6 @@ public function getElement($elementId)
/**
* Return checkbox html with hidden field for correct config values
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function getElementHtml(Varien_Data_Form_Element_Abstract $element)
@@ -107,7 +105,6 @@ public function getElementHtml(Varien_Data_Form_Element_Abstract $element)
/**
* Whether element should be rendered in "simplified" mode
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return bool
*/
public function getIsElementSimplified(Varien_Data_Form_Element_Abstract $element)
@@ -119,7 +116,6 @@ public function getIsElementSimplified(Varien_Data_Form_Element_Abstract $elemen
/**
* Getter for element label
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function getElementLabel(Varien_Data_Form_Element_Abstract $element)
@@ -130,7 +126,6 @@ public function getElementLabel(Varien_Data_Form_Element_Abstract $element)
/**
* Getter for element comment
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function getElementComment(Varien_Data_Form_Element_Abstract $element)
@@ -141,7 +136,6 @@ public function getElementComment(Varien_Data_Form_Element_Abstract $element)
/**
* Getter for element comment
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function getElementOriginalData(Varien_Data_Form_Element_Abstract $element, $key)
@@ -153,7 +147,6 @@ public function getElementOriginalData(Varien_Data_Form_Element_Abstract $elemen
/**
* Check whether checkbox has "Use default" option or not
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return bool
*/
public function hasInheritElement(Varien_Data_Form_Element_Abstract $element)
@@ -164,7 +157,6 @@ public function hasInheritElement(Varien_Data_Form_Element_Abstract $element)
/**
* Return "Use default" checkbox html
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function getInheritElementHtml(Varien_Data_Form_Element_Abstract $element)
@@ -188,7 +180,6 @@ public function getInheritElementHtml(Varien_Data_Form_Element_Abstract $element
/**
* Return label for "Use default" checkbox
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function getInheritElementLabelHtml(Varien_Data_Form_Element_Abstract $element)
@@ -204,7 +195,6 @@ public function getInheritElementLabelHtml(Varien_Data_Form_Element_Abstract $el
/**
* Return element label with tag SPAN
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function getElementLabelTextHtml(Varien_Data_Form_Element_Abstract $element)
@@ -219,7 +209,6 @@ public function getElementLabelTextHtml(Varien_Data_Form_Element_Abstract $eleme
/**
* Return backend config for element like JSON
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function getElementBackendConfig(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Hint.php b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Hint.php
index 157fb1e945f..d1c9edfcbde 100644
--- a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Hint.php
+++ b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Hint.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -26,7 +26,6 @@ class Mage_Paypal_Block_Adminhtml_System_Config_Fieldset_Hint extends Mage_Admin
/**
* Render fieldset html
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/PathDependent.php b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/PathDependent.php
index 3faf570adf8..24a6cdb32fa 100644
--- a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/PathDependent.php
+++ b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/PathDependent.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -36,7 +36,6 @@ public function hasActivePathDependencies($groupConfig)
/**
* Do not render solution if disabled
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Store.php b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Store.php
index 49e9635dfcf..c9b0567b48c 100644
--- a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Store.php
+++ b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Fieldset/Store.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -31,7 +31,6 @@ class Mage_Paypal_Block_Adminhtml_System_Config_Fieldset_Store extends Mage_Admi
/**
* Render service JavaScript code
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Payflowlink/Info.php b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Payflowlink/Info.php
index 7b114e94bb6..57d8e5d6362 100644
--- a/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Payflowlink/Info.php
+++ b/app/code/core/Mage/Paypal/Block/Adminhtml/System/Config/Payflowlink/Info.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -31,7 +31,6 @@ class Mage_Paypal_Block_Adminhtml_System_Config_Payflowlink_Info extends Mage_Ad
/**
* Render fieldset html
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Paypal/Block/Express/Review.php b/app/code/core/Mage/Paypal/Block/Express/Review.php
index 17c4d38a3d5..a184a094c0f 100644
--- a/app/code/core/Mage/Paypal/Block/Express/Review.php
+++ b/app/code/core/Mage/Paypal/Block/Express/Review.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -48,7 +48,6 @@ class Mage_Paypal_Block_Express_Review extends Mage_Core_Block_Template
/**
* Quote object setter
*
- * @param Mage_Sales_Model_Quote $quote
* @return $this
*/
public function setQuote(Mage_Sales_Model_Quote $quote)
@@ -108,7 +107,6 @@ public function getCarrierName($carrierCode)
/**
* Get either shipping rate code or empty value on error
*
- * @param Varien_Object $rate
* @return string
*/
public function renderShippingRateValue(Varien_Object $rate)
diff --git a/app/code/core/Mage/Paypal/Helper/Data.php b/app/code/core/Mage/Paypal/Helper/Data.php
index d31ac6b07ea..06f19040d4f 100644
--- a/app/code/core/Mage/Paypal/Helper/Data.php
+++ b/app/code/core/Mage/Paypal/Helper/Data.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -43,7 +43,6 @@ class Mage_Paypal_Helper_Data extends Mage_Core_Helper_Abstract
/**
* Check whether customer should be asked confirmation whether to sign a billing agreement
*
- * @param Mage_Paypal_Model_Config $config
* @param int $customerId
* @return bool
*/
@@ -63,7 +62,6 @@ public function shouldAskToCreateBillingAgreement(Mage_Paypal_Model_Config $conf
/**
* Return backend config for element like JSON
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return false|string
*/
public function getElementBackendConfig(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Paypal/Model/Api/Abstract.php b/app/code/core/Mage/Paypal/Model/Api/Abstract.php
index 0bb8c3d18cf..42ae4560d20 100644
--- a/app/code/core/Mage/Paypal/Model/Api/Abstract.php
+++ b/app/code/core/Mage/Paypal/Model/Api/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -244,7 +244,6 @@ public function getBusinessAccount()
* Import $this public data to specified object or array
*
* @param array|Varien_Object $to
- * @param array $publicMap
* @return array|Varien_Object
*/
public function &import($to, array $publicMap = [])
@@ -256,7 +255,6 @@ public function &import($to, array $publicMap = [])
* Export $this public data from specified object or array
*
* @param array|Varien_Object $from
- * @param array $publicMap
* @return Mage_Paypal_Model_Api_Abstract
*/
public function export($from, array $publicMap = [])
@@ -268,7 +266,6 @@ public function export($from, array $publicMap = [])
/**
* Set PayPal cart instance
*
- * @param Mage_Paypal_Model_Cart $cart
* @return Mage_Paypal_Model_Api_Abstract
*/
public function setPaypalCart(Mage_Paypal_Model_Cart $cart)
@@ -279,7 +276,6 @@ public function setPaypalCart(Mage_Paypal_Model_Cart $cart)
/**
* Config instance setter
- * @param Mage_Paypal_Model_Config $config
* @return Mage_Paypal_Model_Api_Abstract
*/
public function setConfigObject(Mage_Paypal_Model_Config $config)
@@ -309,7 +305,6 @@ public function getFraudManagementFiltersEnabled()
/**
* Set recurring profiles
*
- * @param array $items
* @return Mage_Paypal_Model_Api_Abstract
*/
public function addRecurringPaymentProfiles(array $items)
@@ -323,8 +318,6 @@ public function addRecurringPaymentProfiles(array $items)
/**
* Export $this public data to private request array
*
- * @param array $privateRequestMap
- * @param array $request
* @return array
*/
protected function &_exportToRequest(array $privateRequestMap, array $request = [])
@@ -349,9 +342,6 @@ protected function &_exportToRequest(array $privateRequestMap, array $request =
/**
* Import $this public data from a private response array
- *
- * @param array $privateResponseMap
- * @param array $response
*/
protected function _importFromResponse(array $privateResponseMap, array $response)
{
@@ -373,7 +363,6 @@ protected function _importFromResponse(array $privateResponseMap, array $respons
*
* Returns true if there were line items added
*
- * @param array &$request
* @param int $i
* @return bool
*/
@@ -421,7 +410,6 @@ protected function _exportLineItems(array &$request, $i = 0)
* Prepare shipping options request
* Returns false if there are no shipping options
*
- * @param array &$request
* @param int $i
* @return bool
*/
@@ -497,7 +485,6 @@ protected function _getDataOrConfig($key, $default = null)
/**
* region_id workaround: PayPal requires state code, try to find one in the address
*
- * @param Varien_Object $address
* @return string
*/
protected function _lookupRegionCodeFromAddress(Varien_Object $address)
@@ -514,9 +501,6 @@ protected function _lookupRegionCodeFromAddress(Varien_Object $address)
/**
* Street address workaround: divides address lines into parts by specified keys
* (keys should go as 3rd, 4th[...] parameters)
- *
- * @param Varien_Object $address
- * @param array $to
*/
protected function _importStreetFromAddress(Varien_Object $address, array &$to)
{
diff --git a/app/code/core/Mage/Paypal/Model/Api/Nvp.php b/app/code/core/Mage/Paypal/Model/Api/Nvp.php
index 7b904291bd5..1f932c31437 100644
--- a/app/code/core/Mage/Paypal/Model/Api/Nvp.php
+++ b/app/code/core/Mage/Paypal/Model/Api/Nvp.php
@@ -873,7 +873,6 @@ public function callGetRecurringPaymentsProfileDetails(Varien_Object $result)
/**
* Import callback request array into $this public data
*
- * @param array $request
* @return Varien_Object
*/
public function prepareShippingOptionsCallbackAddress(array $request)
@@ -917,7 +916,6 @@ protected function _addMethodToRequest($methodName, $request)
* Do the API call
*
* @param string $methodName
- * @param array $request
* @return array
* @throws Mage_Core_Exception
*/
@@ -1196,7 +1194,6 @@ protected function _deformatNVP($nvpstr)
/**
* NVP doesn't support passing discount total as a separate amount - add it as a line item
*
- * @param array $request
* @param int $i
* @return true|null
*/
@@ -1235,8 +1232,6 @@ protected function _exportAddressses($data)
/**
* Adopt specified address object to be compatible with Magento
- *
- * @param Varien_Object $address
*/
protected function _applyStreetAndRegionWorkarounds(Varien_Object $address)
{
@@ -1277,8 +1272,6 @@ protected function _applyCountryWorkarounds(&$request)
*
* @deprecated after 1.4.2.0-beta1, use _importAddresses() instead
*
- * @param Varien_Object $address
- * @param array $to
* @return array
*/
protected function _importAddress(Varien_Object $address, array $to)
@@ -1290,7 +1283,6 @@ protected function _importAddress(Varien_Object $address, array $to)
/**
* Prepare request data basing on provided addresses
*
- * @param array $to
* @return array
*/
protected function _importAddresses(array $to)
@@ -1482,7 +1474,6 @@ protected function _filterRecurringProfileActionToNvp($value)
* Check the obtained RP status in NVP format and specify the profile state
*
* @param string $value
- * @param Varien_Object $result
*/
protected function _analyzeRecurringProfileStatus($value, Varien_Object $result)
{
diff --git a/app/code/core/Mage/Paypal/Model/Api/Standard.php b/app/code/core/Mage/Paypal/Model/Api/Standard.php
index 5d8bfacee71..c8fa4e99f19 100644
--- a/app/code/core/Mage/Paypal/Model/Api/Standard.php
+++ b/app/code/core/Mage/Paypal/Model/Api/Standard.php
@@ -178,7 +178,6 @@ public function debugRequest($request)
* For some reason PayPal ignores shipping total variables exactly when line items is enabled
* Note that $i = 1
*
- * @param array $request
* @param int $i
* @return bool
*/
diff --git a/app/code/core/Mage/Paypal/Model/Cart.php b/app/code/core/Mage/Paypal/Model/Cart.php
index 9547c74f13a..d37535c14e7 100644
--- a/app/code/core/Mage/Paypal/Model/Cart.php
+++ b/app/code/core/Mage/Paypal/Model/Cart.php
@@ -427,7 +427,6 @@ public function areItemsValid()
/**
* Add a usual line item with amount and qty
*
- * @param Varien_Object $salesItem
* @return Varien_Object
*/
protected function _addRegularItem(Varien_Object $salesItem)
diff --git a/app/code/core/Mage/Paypal/Model/Config.php b/app/code/core/Mage/Paypal/Model/Config.php
index 8009ccf83ee..a4c1d977fe6 100644
--- a/app/code/core/Mage/Paypal/Model/Config.php
+++ b/app/code/core/Mage/Paypal/Model/Config.php
@@ -1067,11 +1067,10 @@ public function getStartBillingAgreementUrl($token)
}
/**
- * PayPal web URL generic getter
- *
- * @param array $params
- * @return string
- */
+ * PayPal web URL generic getter
+ *
+ * @return string
+ */
public function getPaypalUrl(array $params = [])
{
return sprintf(
@@ -1175,7 +1174,6 @@ public function getPaymentMarkImageUrl($localeCode, $orderTotal = null, $pal = n
* Get "What Is PayPal" localized URL
* Supposed to be used with "mark" as popup window
*
- * @param Mage_Core_Model_Locale|null $locale
* @return string
*/
public function getPaymentMarkWhatIsPaypalUrl(?Mage_Core_Model_Locale $locale = null)
@@ -1541,8 +1539,6 @@ public function isCurrencyCodeSupported($code)
/**
* Export page style current settings to specified object
- *
- * @param Varien_Object $to
*/
public function exportExpressCheckoutStyleSettings(Varien_Object $to)
{
diff --git a/app/code/core/Mage/Paypal/Model/Direct.php b/app/code/core/Mage/Paypal/Model/Direct.php
index a240f077eaa..51455351c79 100644
--- a/app/code/core/Mage/Paypal/Model/Direct.php
+++ b/app/code/core/Mage/Paypal/Model/Direct.php
@@ -271,7 +271,6 @@ public function getCentinelValidator()
/**
* Fetch transaction details info
*
- * @param Mage_Payment_Model_Info $payment
* @param string $transactionId
* @return array
*/
@@ -283,7 +282,6 @@ public function fetchTransactionInfo(Mage_Payment_Model_Info $payment, $transact
/**
* Place an order with authorization or capture action
*
- * @param Mage_Sales_Model_Order_Payment $payment
* @param float $amount
* @return $this
*/
@@ -371,7 +369,6 @@ protected function _importResultToPayment($api, $payment)
/**
* Check void availability
*
- * @param Varien_Object $payment
* @return bool
*/
public function canVoid(Varien_Object $payment)
diff --git a/app/code/core/Mage/Paypal/Model/Express.php b/app/code/core/Mage/Paypal/Model/Express.php
index 0ff0eeab18c..b5197c1d262 100644
--- a/app/code/core/Mage/Paypal/Model/Express.php
+++ b/app/code/core/Mage/Paypal/Model/Express.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -458,7 +458,6 @@ public function getCheckoutRedirectUrl()
/**
* Fetch transaction details info
*
- * @param Mage_Payment_Model_Info $payment
* @param string $transactionId
* @return array
*/
@@ -469,8 +468,6 @@ public function fetchTransactionInfo(Mage_Payment_Model_Info $payment, $transact
/**
* Validate RP data
- *
- * @param Mage_Payment_Model_Recurring_Profile $profile
*/
public function validateRecurringProfile(Mage_Payment_Model_Recurring_Profile $profile)
{
@@ -479,9 +476,6 @@ public function validateRecurringProfile(Mage_Payment_Model_Recurring_Profile $p
/**
* Submit RP to the gateway
- *
- * @param Mage_Payment_Model_Recurring_Profile $profile
- * @param Mage_Payment_Model_Info $paymentInfo
*/
public function submitRecurringProfile(
Mage_Payment_Model_Recurring_Profile $profile,
@@ -497,7 +491,6 @@ public function submitRecurringProfile(
* Fetch RP details
*
* @param string $referenceId
- * @param Varien_Object $result
*/
public function getRecurringProfileDetails($referenceId, Varien_Object $result)
{
@@ -514,8 +507,6 @@ public function canGetRecurringProfileDetails()
/**
* Update RP data
- *
- * @param Mage_Payment_Model_Recurring_Profile $profile
*/
public function updateRecurringProfile(Mage_Payment_Model_Recurring_Profile $profile)
{
@@ -524,8 +515,6 @@ public function updateRecurringProfile(Mage_Payment_Model_Recurring_Profile $pro
/**
* Manage status
- *
- * @param Mage_Payment_Model_Recurring_Profile $profile
*/
public function updateRecurringProfileStatus(Mage_Payment_Model_Recurring_Profile $profile)
{
@@ -550,7 +539,6 @@ public function assignData($data)
/**
* Place an order with authorization or capture action
*
- * @param Mage_Sales_Model_Order_Payment $payment
* @param float $amount
* @return $this
*/
@@ -606,7 +594,6 @@ protected function _importToPayment($api, $payment)
/**
* Check void availability
*
- * @param Varien_Object $payment
* @return bool
*/
public function canVoid(Varien_Object $payment)
@@ -698,7 +685,6 @@ protected function _callDoAuthorize($amount, $payment, $parentTransactionId)
/**
* Check transaction for expiration in PST
*
- * @param Mage_Sales_Model_Order_Payment_Transaction $transaction
* @param int $period
* @return bool
*/
diff --git a/app/code/core/Mage/Paypal/Model/Express/Checkout.php b/app/code/core/Mage/Paypal/Model/Express/Checkout.php
index 66ed5ad0470..6b6e5677c87 100644
--- a/app/code/core/Mage/Paypal/Model/Express/Checkout.php
+++ b/app/code/core/Mage/Paypal/Model/Express/Checkout.php
@@ -508,7 +508,6 @@ public function prepareOrderReview($token = null)
/**
* Return callback response with shipping options
*
- * @param array $request
* @return string
*/
public function getShippingOptionsCallbackResponse(array $request)
@@ -784,7 +783,6 @@ protected function _getApi()
* Returns empty array if it was impossible to obtain any shipping rate
* If there are shipping rates obtained, the method must return one of them as default.
*
- * @param Mage_Sales_Model_Quote_Address $address
* @param bool $mayReturnEmpty
* @return array
*/
@@ -865,8 +863,6 @@ protected function _prepareShippingOptions(
* This function is used as a callback comparison function in shipping options sorting process
* @see self::_prepareShippingOptions()
*
- * @param Varien_Object $option1
- * @param Varien_Object $option2
* @return int
*/
protected static function cmpShippingOptions(Varien_Object $option1, Varien_Object $option2)
@@ -883,7 +879,6 @@ protected static function cmpShippingOptions(Varien_Object $option1, Varien_Obje
* If in future the issue is fixed, we don't need to attempt to match it. It would be enough to set the method code
* before collecting shipping rates
*
- * @param Mage_Sales_Model_Quote_Address $address
* @param string $selectedCode
* @return string
*/
diff --git a/app/code/core/Mage/Paypal/Model/Hostedpro.php b/app/code/core/Mage/Paypal/Model/Hostedpro.php
index 92297314f82..29a77d03a80 100644
--- a/app/code/core/Mage/Paypal/Model/Hostedpro.php
+++ b/app/code/core/Mage/Paypal/Model/Hostedpro.php
@@ -146,8 +146,6 @@ public function initialize($paymentAction, $stateObject)
/**
* Sends API request to PayPal to get form URL, then sets this URL to $payment object.
- *
- * @param Mage_Payment_Model_Info $payment
*/
protected function _setPaymentFormUrl(Mage_Payment_Model_Info $payment)
{
@@ -163,7 +161,6 @@ protected function _setPaymentFormUrl(Mage_Payment_Model_Info $payment)
/**
* Returns request object with needed data for API request to PayPal to get form URL.
*
- * @param Mage_Payment_Model_Info $payment
* @return Mage_Paypal_Model_Hostedpro_Request
*/
protected function _buildFormUrlRequest(Mage_Payment_Model_Info $payment)
@@ -176,7 +173,6 @@ protected function _buildFormUrlRequest(Mage_Payment_Model_Info $payment)
/**
* Returns form URL from request to PayPal.
*
- * @param Mage_Paypal_Model_Hostedpro_Request $request
* @return string | false
*/
protected function _sendFormUrlRequest(Mage_Paypal_Model_Hostedpro_Request $request)
diff --git a/app/code/core/Mage/Paypal/Model/Hostedpro/Request.php b/app/code/core/Mage/Paypal/Model/Hostedpro/Request.php
index f6d3b34b757..98b1ce9fbf5 100644
--- a/app/code/core/Mage/Paypal/Model/Hostedpro/Request.php
+++ b/app/code/core/Mage/Paypal/Model/Hostedpro/Request.php
@@ -109,7 +109,6 @@ public function setOrder($order)
/**
* Get peymet request data as array
*
- * @param Mage_Paypal_Model_Hostedpro $paymentMethod
* @return array
*/
protected function _getPaymentData(Mage_Paypal_Model_Hostedpro $paymentMethod)
@@ -135,7 +134,6 @@ protected function _getPaymentData(Mage_Paypal_Model_Hostedpro $paymentMethod)
/**
* Get order request data as array
*
- * @param Mage_Sales_Model_Order $order
* @return array
*/
protected function _getOrderData(Mage_Sales_Model_Order $order)
@@ -171,7 +169,6 @@ protected function _getOrderData(Mage_Sales_Model_Order $order)
/**
* Get shipping address request data
*
- * @param Varien_Object $address
* @return array
*/
protected function _getShippingAddress(Varien_Object $address)
@@ -198,7 +195,6 @@ protected function _getShippingAddress(Varien_Object $address)
/**
* Get billing address request data
*
- * @param Varien_Object $address
* @return array
*/
protected function _getBillingAddress(Varien_Object $address)
diff --git a/app/code/core/Mage/Paypal/Model/Info.php b/app/code/core/Mage/Paypal/Model/Info.php
index 54c98b63db9..a08fb02a767 100644
--- a/app/code/core/Mage/Paypal/Model/Info.php
+++ b/app/code/core/Mage/Paypal/Model/Info.php
@@ -154,7 +154,6 @@ class Mage_Paypal_Model_Info
/**
* All available payment info getter
*
- * @param Mage_Payment_Model_Info $payment
* @param bool $labelValuesOnly
* @return array
*/
@@ -178,7 +177,6 @@ public function getPaymentInfo(Mage_Payment_Model_Info $payment, $labelValuesOnl
/**
* Public payment info getter
*
- * @param Mage_Payment_Model_Info $payment
* @param bool $labelValuesOnly
* @return array
*/
@@ -191,7 +189,6 @@ public function getPublicPaymentInfo(Mage_Payment_Model_Info $payment, $labelVal
* Grab data from source and map it into payment
*
* @param array|Varien_Object|callback $from
- * @param Mage_Payment_Model_Info $payment
*/
public function importToPayment($from, Mage_Payment_Model_Info $payment)
{
@@ -205,9 +202,7 @@ public function importToPayment($from, Mage_Payment_Model_Info $payment)
/**
* Grab data from payment and map it into target
*
- * @param Mage_Payment_Model_Info $payment
* @param array|Varien_Object|callback $to
- * @param array|null $map
* @return array|Varien_Object
*/
public function &exportFromPayment(Mage_Payment_Model_Info $payment, $to, ?array $map = null)
@@ -224,7 +219,6 @@ public function &exportFromPayment(Mage_Payment_Model_Info $payment, $to, ?array
/**
* Check whether the payment is in review state
*
- * @param Mage_Payment_Model_Info $payment
* @return bool
*/
public static function isPaymentReviewRequired(Mage_Payment_Model_Info $payment)
@@ -240,7 +234,6 @@ public static function isPaymentReviewRequired(Mage_Payment_Model_Info $payment)
/**
* Check whether fraud order review detected and can be reviewed
*
- * @param Mage_Payment_Model_Info $payment
* @return bool
*/
public static function isFraudReviewAllowed(Mage_Payment_Model_Info $payment)
@@ -252,7 +245,6 @@ public static function isFraudReviewAllowed(Mage_Payment_Model_Info $payment)
/**
* Check whether the payment is completed
*
- * @param Mage_Payment_Model_Info $payment
* @return bool
*/
public static function isPaymentCompleted(Mage_Payment_Model_Info $payment)
@@ -264,7 +256,6 @@ public static function isPaymentCompleted(Mage_Payment_Model_Info $payment)
/**
* Check whether the payment was processed successfully
*
- * @param Mage_Payment_Model_Info $payment
* @return bool
*/
public static function isPaymentSuccessful(Mage_Payment_Model_Info $payment)
@@ -285,7 +276,6 @@ public static function isPaymentSuccessful(Mage_Payment_Model_Info $payment)
/**
* Check whether the payment was processed unsuccessfully or failed
*
- * @param Mage_Payment_Model_Info $payment
* @return bool
*/
public static function isPaymentFailed(Mage_Payment_Model_Info $payment)
@@ -398,8 +388,6 @@ public static function isReversalDisputable($code)
/**
* Render info item
*
- * @param array $keys
- * @param Mage_Payment_Model_Info $payment
* @param bool $labelValuesOnly
* @return array
*/
diff --git a/app/code/core/Mage/Paypal/Model/Ipn.php b/app/code/core/Mage/Paypal/Model/Ipn.php
index dd6a9eb5dc0..29138652be6 100644
--- a/app/code/core/Mage/Paypal/Model/Ipn.php
+++ b/app/code/core/Mage/Paypal/Model/Ipn.php
@@ -85,8 +85,6 @@ public function getRequestData($key = null)
/**
* Get ipn data, send verification to PayPal, run corresponding handler
*
- * @param array $request
- * @param Zend_Http_Client_Adapter_Interface|null $httpAdapter
* @throws Mage_Core_Exception
*/
public function processIpnRequest(array $request, ?Zend_Http_Client_Adapter_Interface $httpAdapter = null)
@@ -120,7 +118,6 @@ public function processIpnRequest(array $request, ?Zend_Http_Client_Adapter_Inte
/**
* Post back to PayPal to check whether this request is a valid one
*
- * @param Zend_Http_Client_Adapter_Interface $httpAdapter
* @throws Exception
*/
protected function _postBack(Zend_Http_Client_Adapter_Interface $httpAdapter)
diff --git a/app/code/core/Mage/Paypal/Model/Method/Agreement.php b/app/code/core/Mage/Paypal/Model/Method/Agreement.php
index dc7b436ed6a..2d10a5d4643 100644
--- a/app/code/core/Mage/Paypal/Model/Method/Agreement.php
+++ b/app/code/core/Mage/Paypal/Model/Method/Agreement.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -86,7 +86,6 @@ public function setStore($store)
/**
* Init billing agreement
*
- * @param Mage_Payment_Model_Billing_AgreementAbstract $agreement
* @return $this
*/
public function initBillingAgreementToken(Mage_Payment_Model_Billing_AgreementAbstract $agreement)
@@ -106,7 +105,6 @@ public function initBillingAgreementToken(Mage_Payment_Model_Billing_AgreementAb
/**
* Retrieve billing agreement customer details by token
*
- * @param Mage_Payment_Model_Billing_AgreementAbstract $agreement
* @return array
*/
public function getBillingAgreementTokenInfo(Mage_Payment_Model_Billing_AgreementAbstract $agreement)
@@ -127,7 +125,6 @@ public function getBillingAgreementTokenInfo(Mage_Payment_Model_Billing_Agreemen
/**
* Create billing agreement by token specified in request
*
- * @param Mage_Payment_Model_Billing_AgreementAbstract $agreement
* @return $this
*/
public function placeBillingAgreement(Mage_Payment_Model_Billing_AgreementAbstract $agreement)
@@ -142,7 +139,6 @@ public function placeBillingAgreement(Mage_Payment_Model_Billing_AgreementAbstra
/**
* Update billing agreement status
*
- * @param Mage_Payment_Model_Billing_AgreementAbstract $agreement
* @return $this
*/
public function updateBillingAgreementStatus(Mage_Payment_Model_Billing_AgreementAbstract $agreement)
@@ -167,7 +163,6 @@ public function updateBillingAgreementStatus(Mage_Payment_Model_Billing_Agreemen
/**
* Authorize payment
*
- * @param Varien_Object $payment
* @param float $amount
* @return $this
*/
@@ -266,7 +261,6 @@ public function denyPayment(Mage_Payment_Model_Info $payment)
/**
* Fetch transaction details info
*
- * @param Mage_Payment_Model_Info $payment
* @param string $transactionId
* @return array
*/
@@ -278,7 +272,6 @@ public function fetchTransactionInfo(Mage_Payment_Model_Info $payment, $transact
/**
* Place an order with authorization or capture action
*
- * @param Mage_Sales_Model_Order_Payment $payment
* @param float $amount
* @return $this
*/
diff --git a/app/code/core/Mage/Paypal/Model/Observer.php b/app/code/core/Mage/Paypal/Model/Observer.php
index 7bfdc0a1eb8..22e37a36aae 100644
--- a/app/code/core/Mage/Paypal/Model/Observer.php
+++ b/app/code/core/Mage/Paypal/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -56,7 +56,6 @@ public function cleanTransactions()
/**
* Save order into registry to use it in the overloaded controller.
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function saveOrderAfterSubmit(Varien_Event_Observer $observer)
@@ -71,7 +70,6 @@ public function saveOrderAfterSubmit(Varien_Event_Observer $observer)
/**
* Set data for response of frontend saveOrder action
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function setResponseAfterSaveOrder(Varien_Event_Observer $observer)
@@ -109,8 +107,6 @@ public function setResponseAfterSaveOrder(Varien_Event_Observer $observer)
/**
* Load country dependent PayPal solutions system configuration
- *
- * @param Varien_Event_Observer $observer
*/
public function loadCountryDependentSolutionsConfig(Varien_Event_Observer $observer)
{
@@ -137,8 +133,6 @@ public function loadCountryDependentSolutionsConfig(Varien_Event_Observer $obser
/**
* Update transaction with HTML representation of txn_id
- *
- * @param Varien_Event_Observer $observer
*/
public function observeHtmlTransactionId(Varien_Event_Observer $observer)
{
diff --git a/app/code/core/Mage/Paypal/Model/Payflowlink.php b/app/code/core/Mage/Paypal/Model/Payflowlink.php
index 3df873ac52b..79168be3f53 100644
--- a/app/code/core/Mage/Paypal/Model/Payflowlink.php
+++ b/app/code/core/Mage/Paypal/Model/Payflowlink.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -199,7 +199,6 @@ public function getResponse()
/**
* Fill response with data.
*
- * @param array $postData
* @return $this
*/
public function setResponseData(array $postData)
@@ -252,8 +251,6 @@ public function process($responseData)
/**
* Operate with order using information from silent post
- *
- * @param Mage_Sales_Model_Order $order
*/
protected function _processOrder(Mage_Sales_Model_Order $order)
{
@@ -368,7 +365,6 @@ protected function _getOrderFromResponse()
/**
* Build request for getting token
*
- * @param Mage_Sales_Model_Order_Payment $payment
* @return Varien_Object
*/
protected function _buildTokenRequest(Mage_Sales_Model_Order_Payment $payment)
@@ -438,11 +434,10 @@ protected function _getStoreId()
}
/**
- * Return request object with basic information for gateway request
- *
- * @param Varien_Object $payment
- * @return Mage_Paypal_Model_Payflow_Request
- */
+ * Return request object with basic information for gateway request
+ *
+ * @return Mage_Paypal_Model_Payflow_Request
+ */
protected function _buildBasicRequest(Varien_Object $payment)
{
$request = Mage::getModel('paypal/payflow_request');
@@ -568,7 +563,6 @@ protected function _addTransaction($payment, $txnId)
* Initialize request
*
* @deprecated since 1.6.2.0
- * @param Varien_Object $payment
* @param mixed $amount
* @return $this
*/
@@ -591,7 +585,6 @@ public function prepareOrderReview($token = null)
* Additional authorization logic for Account Verification
*
* @deprecated since 1.6.2.0
- * @param Varien_Object $payment
* @param mixed $amount
* @param Mage_Paypal_Model_Payment_Transaction $transaction
* @param string $txnId
@@ -606,7 +599,6 @@ protected function _authorize(Varien_Object $payment, $amount, $transaction, $tx
* Operate with order or quote using information from silent post
*
* @deprecated since 1.6.2.0
- * @param Varien_Object $document
*/
protected function _process(Varien_Object $document)
{
diff --git a/app/code/core/Mage/Paypal/Model/Payflowpro.php b/app/code/core/Mage/Paypal/Model/Payflowpro.php
index c40b3ba2e17..479de665bad 100644
--- a/app/code/core/Mage/Paypal/Model/Payflowpro.php
+++ b/app/code/core/Mage/Paypal/Model/Payflowpro.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -244,7 +244,6 @@ public function void(Varien_Object $payment)
/**
* Check void availability
*
- * @param Varien_Object $payment
* @return bool
*/
public function canVoid(Varien_Object $payment)
@@ -264,7 +263,6 @@ public function canVoid(Varien_Object $payment)
/**
* Attempt to void the authorization on cancelling
*
- * @param Varien_Object $payment
* @return $this|false
*/
public function cancel(Varien_Object $payment)
@@ -302,7 +300,6 @@ public function refund(Varien_Object $payment, $amount)
/**
* Fetch transaction details info
*
- * @param Mage_Payment_Model_Info $payment
* @param string $transactionId
* @return array
*/
@@ -361,7 +358,6 @@ protected function _getTransactionUrl($testMode = null)
/**
* Post request to gateway and return response
*
- * @param Varien_Object $request
* @return Varien_Object
*/
protected function _postRequest(Varien_Object $request)
@@ -541,8 +537,6 @@ protected function _processErrors(Varien_Object $response)
/**
* Adopt specified address object to be compatible with Paypal
* Puerto Rico should be as state of USA and not as a country
- *
- * @param Varien_Object $address
*/
protected function _applyCountryWorkarounds(Varien_Object $address)
{
@@ -555,7 +549,6 @@ protected function _applyCountryWorkarounds(Varien_Object $address)
/**
* Set reference transaction data into request
*
- * @param Varien_Object $payment
* @param Varien_Object $request
* @return $this
*/
diff --git a/app/code/core/Mage/Paypal/Model/Pro.php b/app/code/core/Mage/Paypal/Model/Pro.php
index 612c257e007..a2e31a813f0 100644
--- a/app/code/core/Mage/Paypal/Model/Pro.php
+++ b/app/code/core/Mage/Paypal/Model/Pro.php
@@ -92,7 +92,6 @@ public function setMethod($code, $storeId = null)
/**
* Config instance setter
*
- * @param Mage_Paypal_Model_Config $instace
* @param int $storeId
* @return $this
*/
@@ -159,7 +158,6 @@ public function getInfo()
* Transfer transaction/payment information from API instance to order payment
*
* @param Mage_Paypal_Model_Api_Abstract $from
- * @param Mage_Payment_Model_Info $to
* @return $this
*/
public function importPaymentInfo(Varien_Object $from, Mage_Payment_Model_Info $to)
@@ -190,8 +188,6 @@ public function importPaymentInfo(Varien_Object $from, Mage_Payment_Model_Info $
/**
* Void transaction
- *
- * @param Varien_Object $payment
*/
public function void(Varien_Object $payment)
{
@@ -208,7 +204,6 @@ public function void(Varien_Object $payment)
* Attempt to capture payment
* Will return false if the payment is not supposed to be captured
*
- * @param Varien_Object $payment
* @param float $amount
* @return false|null
*/
@@ -234,7 +229,6 @@ public function capture(Varien_Object $payment, $amount)
/**
* Refund a capture transaction
*
- * @param Varien_Object $payment
* @param float $amount
*/
public function refund(Varien_Object $payment, $amount)
@@ -262,8 +256,6 @@ public function refund(Varien_Object $payment, $amount)
/**
* Cancel payment
- *
- * @param Varien_Object $payment
*/
public function cancel(Varien_Object $payment)
{
@@ -285,7 +277,6 @@ public function canReviewPayment(Mage_Payment_Model_Info $payment)
/**
* Perform the payment review
*
- * @param Mage_Payment_Model_Info $payment
* @param string $action
* @return bool
*/
@@ -310,7 +301,6 @@ public function reviewPayment(Mage_Payment_Model_Info $payment, $action)
/**
* Fetch transaction details info
*
- * @param Mage_Payment_Model_Info $payment
* @param string $transactionId
* @return array
*/
@@ -328,7 +318,6 @@ public function fetchTransactionInfo(Mage_Payment_Model_Info $payment, $transact
/**
* Validate RP data
*
- * @param Mage_Payment_Model_Recurring_Profile $profile
* @throws Mage_Core_Exception
*/
public function validateRecurringProfile(Mage_Payment_Model_Recurring_Profile $profile)
@@ -353,8 +342,6 @@ public function validateRecurringProfile(Mage_Payment_Model_Recurring_Profile $p
/**
* Submit RP to the gateway
*
- * @param Mage_Payment_Model_Recurring_Profile $profile
- * @param Mage_Payment_Model_Info $paymentInfo
* @throws Mage_Core_Exception
*/
public function submitRecurringProfile(
@@ -384,7 +371,6 @@ public function submitRecurringProfile(
* Fetch RP details
*
* @param string $referenceId
- * @param Varien_Object $result
*/
public function getRecurringProfileDetails($referenceId, Varien_Object $result)
{
@@ -396,8 +382,6 @@ public function getRecurringProfileDetails($referenceId, Varien_Object $result)
/**
* Update RP data
- *
- * @param Mage_Payment_Model_Recurring_Profile $profile
*/
public function updateRecurringProfile(Mage_Payment_Model_Recurring_Profile $profile)
{
@@ -405,8 +389,6 @@ public function updateRecurringProfile(Mage_Payment_Model_Recurring_Profile $pro
/**
* Manage status
- *
- * @param Mage_Payment_Model_Recurring_Profile $profile
*/
public function updateRecurringProfileStatus(Mage_Payment_Model_Recurring_Profile $profile)
{
@@ -464,7 +446,6 @@ protected function _importRefundResultToPayment($api, $payment, $canRefundMore)
/**
* Parent transaction id getter
*
- * @param Varien_Object $payment
* @return string
*/
protected function _getParentTransactionId(Varien_Object $payment)
diff --git a/app/code/core/Mage/Paypal/Model/Resource/Cert.php b/app/code/core/Mage/Paypal/Model/Resource/Cert.php
index 15bcbaa92f0..b83bf8bae91 100644
--- a/app/code/core/Mage/Paypal/Model/Resource/Cert.php
+++ b/app/code/core/Mage/Paypal/Model/Resource/Cert.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Set date of last update
*
- * @param Mage_Core_Model_Abstract $object
* @return Mage_Core_Model_Resource_Db_Abstract
*/
protected function _beforeSave(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Paypal/Model/Resource/Payment/Transaction.php b/app/code/core/Mage/Paypal/Model/Resource/Payment/Transaction.php
index 5ad154ebc7c..726b4fe6ff1 100644
--- a/app/code/core/Mage/Paypal/Model/Resource/Payment/Transaction.php
+++ b/app/code/core/Mage/Paypal/Model/Resource/Payment/Transaction.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Paypal
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -63,7 +63,6 @@ protected function _unserializeField(Varien_Object $object, $field, $defaultValu
/**
* Load the transaction object by specified txn_id
*
- * @param Mage_Paypal_Model_Payment_Transaction $transaction
* @param string $txnId
*/
public function loadObjectByTxnId(Mage_Paypal_Model_Payment_Transaction $transaction, $txnId)
diff --git a/app/code/core/Mage/Paypal/Model/Resource/Report/Settlement.php b/app/code/core/Mage/Paypal/Model/Resource/Report/Settlement.php
index 58352884559..3d7b3350496 100644
--- a/app/code/core/Mage/Paypal/Model/Resource/Report/Settlement.php
+++ b/app/code/core/Mage/Paypal/Model/Resource/Report/Settlement.php
@@ -90,7 +90,6 @@ protected function _afterSave(Mage_Core_Model_Abstract $object)
/**
* Check if report with same account and report date already fetched
*
- * @param Mage_Paypal_Model_Report_Settlement $report
* @param string $accountId
* @param string $reportDate
* @return $this
diff --git a/app/code/core/Mage/PaypalUk/Model/Api/Nvp.php b/app/code/core/Mage/PaypalUk/Model/Api/Nvp.php
index 58ea967ab14..44c2565f7e1 100644
--- a/app/code/core/Mage/PaypalUk/Model/Api/Nvp.php
+++ b/app/code/core/Mage/PaypalUk/Model/Api/Nvp.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_PaypalUk
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -524,9 +524,6 @@ public function callGetTransactionDetails()
/**
* Get FMF results from response, if any
- *
- * @param array $from
- * @param array $collectedWarnings
*/
protected function _importFraudFiltersResult(array $from, array $collectedWarnings)
{
@@ -577,7 +574,6 @@ protected function _applyCountryWorkarounds(&$request)
/**
* Checking negative line items
*
- * @param array $request
* @param int $i
* @return null|true
*/
diff --git a/app/code/core/Mage/PaypalUk/Model/Pro.php b/app/code/core/Mage/PaypalUk/Model/Pro.php
index dbf42a84bc1..2c226e476e7 100644
--- a/app/code/core/Mage/PaypalUk/Model/Pro.php
+++ b/app/code/core/Mage/PaypalUk/Model/Pro.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_PaypalUk
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -47,7 +47,6 @@ class Mage_PaypalUk_Model_Pro extends Mage_Paypal_Model_Pro
/**
* Refund a capture transaction
*
- * @param Varien_Object $payment
* @param float $amount
*/
public function refund(Varien_Object $payment, $amount)
@@ -72,7 +71,6 @@ protected function _isCaptureNeeded()
/**
* Get payflow transaction id from parent transaction
*
- * @param Varien_Object $payment
* @return string
*/
protected function _getParentTransactionId(Varien_Object $payment)
@@ -107,7 +105,6 @@ protected function _importCaptureResultToPayment($api, $payment)
/**
* Fetch transaction details info method does not exists in PaypalUK
*
- * @param Mage_Payment_Model_Info $payment
* @param string $transactionId
* @throws Mage_Core_Exception
* @return void
diff --git a/app/code/core/Mage/Persistent/Model/Observer.php b/app/code/core/Mage/Persistent/Model/Observer.php
index 60681b62406..3e6b86a1af1 100644
--- a/app/code/core/Mage/Persistent/Model/Observer.php
+++ b/app/code/core/Mage/Persistent/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Persistent
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -465,8 +465,6 @@ public function setQuoteGuest($checkQuote = false)
/**
* Check and clear session data if persistent session expired
- *
- * @param Varien_Event_Observer $observer
*/
public function checkExpirePersistentQuote(Varien_Event_Observer $observer)
{
@@ -511,7 +509,6 @@ protected function _expirePersistentSession()
/**
* Clear expired persistent sessions
*
- * @param Mage_Cron_Model_Schedule $schedule
* @return $this
*/
public function clearExpiredCronJob(Mage_Cron_Model_Schedule $schedule)
@@ -530,8 +527,6 @@ public function clearExpiredCronJob(Mage_Cron_Model_Schedule $schedule)
/**
* Create handle for persistent session if persistent cookie and customer not logged in
- *
- * @param Varien_Event_Observer $observer
*/
public function createPersistentHandleLayout(Varien_Event_Observer $observer)
{
@@ -549,8 +544,6 @@ public function createPersistentHandleLayout(Varien_Event_Observer $observer)
/**
* Update customer id and customer group id if user is in persistent session
- *
- * @param Varien_Event_Observer $observer
*/
public function updateCustomerCookies(Varien_Event_Observer $observer)
{
diff --git a/app/code/core/Mage/Persistent/Model/Observer/Session.php b/app/code/core/Mage/Persistent/Model/Observer/Session.php
index aa5b7db9c0c..5a335971909 100644
--- a/app/code/core/Mage/Persistent/Model/Observer/Session.php
+++ b/app/code/core/Mage/Persistent/Model/Observer/Session.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Persistent
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,8 +23,6 @@ class Mage_Persistent_Model_Observer_Session
{
/**
* Create/Update and Load session when customer log in
- *
- * @param Varien_Event_Observer $observer
*/
public function synchronizePersistentOnLogin(Varien_Event_Observer $observer)
{
@@ -72,8 +70,6 @@ public function synchronizePersistentOnLogin(Varien_Event_Observer $observer)
/**
* Unload persistent session (if set in config)
- *
- * @param Varien_Event_Observer $observer
*/
public function synchronizePersistentOnLogout(Varien_Event_Observer $observer)
{
@@ -96,8 +92,6 @@ public function synchronizePersistentOnLogout(Varien_Event_Observer $observer)
/**
* Synchronize persistent session info
- *
- * @param Varien_Event_Observer $observer
*/
public function synchronizePersistentInfo(Varien_Event_Observer $observer)
{
@@ -120,8 +114,6 @@ public function synchronizePersistentInfo(Varien_Event_Observer $observer)
/**
* Set Checked status of "Remember Me"
- *
- * @param Varien_Event_Observer $observer
*/
public function setRememberMeCheckedStatus(Varien_Event_Observer $observer)
{
@@ -145,8 +137,6 @@ public function setRememberMeCheckedStatus(Varien_Event_Observer $observer)
/**
* Renew persistent cookie
- *
- * @param Varien_Event_Observer $observer
*/
public function renewCookie(Varien_Event_Observer $observer)
{
diff --git a/app/code/core/Mage/ProductAlert/Block/Email/Abstract.php b/app/code/core/Mage/ProductAlert/Block/Email/Abstract.php
index 00f52859224..aca685880dd 100644
--- a/app/code/core/Mage/ProductAlert/Block/Email/Abstract.php
+++ b/app/code/core/Mage/ProductAlert/Block/Email/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_ProductAlert
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -92,8 +92,6 @@ public function reset()
/**
* Add product to collection
- *
- * @param Mage_Catalog_Model_Product $product
*/
public function addProduct(Mage_Catalog_Model_Product $product)
{
@@ -126,7 +124,6 @@ protected function _getUrlParams()
/**
* Get filtered product short description to be inserted into mail
*
- * @param Mage_Catalog_Model_Product $product
* @return string|null
*/
public function _getFilteredProductShortDescription(Mage_Catalog_Model_Product $product)
diff --git a/app/code/core/Mage/ProductAlert/Model/Email.php b/app/code/core/Mage/ProductAlert/Model/Email.php
index 94115385eda..e3e143d2be1 100644
--- a/app/code/core/Mage/ProductAlert/Model/Email.php
+++ b/app/code/core/Mage/ProductAlert/Model/Email.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_ProductAlert
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -97,7 +97,6 @@ public function getType()
/**
* Set website model
*
- * @param Mage_Core_Model_Website $website
* @return $this
*/
public function setWebsite(Mage_Core_Model_Website $website)
@@ -133,7 +132,6 @@ public function setCustomerId($customerId)
/**
* Set customer model
*
- * @param Mage_Customer_Model_Customer $customer
* @return $this
*/
public function setCustomer(Mage_Customer_Model_Customer $customer)
@@ -159,7 +157,6 @@ public function clean()
/**
* Add product (price change) to collection
*
- * @param Mage_Catalog_Model_Product $product
* @return $this
*/
public function addPriceProduct(Mage_Catalog_Model_Product $product)
@@ -171,7 +168,6 @@ public function addPriceProduct(Mage_Catalog_Model_Product $product)
/**
* Add product (back in stock) to collection
*
- * @param Mage_Catalog_Model_Product $product
* @return $this
*/
public function addStockProduct(Mage_Catalog_Model_Product $product)
diff --git a/app/code/core/Mage/ProductAlert/Model/Observer.php b/app/code/core/Mage/ProductAlert/Model/Observer.php
index dc3a1ee0a3f..fdd9acbe30a 100644
--- a/app/code/core/Mage/ProductAlert/Model/Observer.php
+++ b/app/code/core/Mage/ProductAlert/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_ProductAlert
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -82,7 +82,6 @@ protected function _getWebsites()
/**
* Process price emails
*
- * @param Mage_ProductAlert_Model_Email $email
* @return $this
*/
protected function _processPrice(Mage_ProductAlert_Model_Email $email)
@@ -167,7 +166,6 @@ protected function _processPrice(Mage_ProductAlert_Model_Email $email)
/**
* Process stock emails
*
- * @param Mage_ProductAlert_Model_Email $email
* @return $this
*/
protected function _processStock(Mage_ProductAlert_Model_Email $email)
diff --git a/app/code/core/Mage/ProductAlert/Model/Resource/Abstract.php b/app/code/core/Mage/ProductAlert/Model/Resource/Abstract.php
index 2c81ddeac23..1ee3810c46d 100644
--- a/app/code/core/Mage/ProductAlert/Model/Resource/Abstract.php
+++ b/app/code/core/Mage/ProductAlert/Model/Resource/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_ProductAlert
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ abstract class Mage_ProductAlert_Model_Resource_Abstract extends Mage_Core_Model
/**
* Retrieve alert row by object parameters
*
- * @param Mage_Core_Model_Abstract $object
* @return array|false
*/
protected function _getAlertRow(Mage_Core_Model_Abstract $object)
@@ -49,7 +48,6 @@ protected function _getAlertRow(Mage_Core_Model_Abstract $object)
/**
* Load object data by parameters
*
- * @param Mage_Core_Model_Abstract $object
* @return Mage_ProductAlert_Model_Resource_Abstract
*/
public function loadByParam(Mage_Core_Model_Abstract $object)
@@ -64,7 +62,6 @@ public function loadByParam(Mage_Core_Model_Abstract $object)
/**
* Delete all customer alerts on website
*
- * @param Mage_Core_Model_Abstract $object
* @param int $customerId
* @param int $websiteId
* @return Mage_ProductAlert_Model_Resource_Abstract
diff --git a/app/code/core/Mage/Rating/Model/Observer.php b/app/code/core/Mage/Rating/Model/Observer.php
index 20d6f890158..28931f270cd 100644
--- a/app/code/core/Mage/Rating/Model/Observer.php
+++ b/app/code/core/Mage/Rating/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Rating
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Rating_Model_Observer
/**
* Cleanup product ratings after product delete
*
- * @param Varien_Event_Observer $observer
* @return Mage_Rating_Model_Observer
*/
public function processProductAfterDeleteEvent(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Rating/Model/Resource/Rating.php b/app/code/core/Mage/Rating/Model/Resource/Rating.php
index e8dcad4e3bd..8a37aa99893 100644
--- a/app/code/core/Mage/Rating/Model/Resource/Rating.php
+++ b/app/code/core/Mage/Rating/Model/Resource/Rating.php
@@ -71,7 +71,6 @@ protected function _getLoadSelect($field, $value, $object)
/**
* Actions after load
*
- * @param Mage_Core_Model_Abstract|Mage_Rating_Model_Rating $object
* @return $this
*/
protected function _afterLoad(Mage_Core_Model_Abstract $object)
@@ -117,7 +116,6 @@ public function getStores($ratingId)
/**
* Actions after save
*
- * @param Mage_Core_Model_Abstract|Mage_Rating_Model_Rating $object
* @return $this
*/
protected function _afterSave(Mage_Core_Model_Abstract $object)
@@ -213,7 +211,6 @@ protected function _afterSave(Mage_Core_Model_Abstract $object)
* Perform actions after object delete
* Prepare rating data for reaggregate all data for reviews
*
- * @param Mage_Core_Model_Abstract|Mage_Rating_Model_Rating $object
* @return $this
*/
protected function _afterDelete(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Reports/Model/Event/Observer.php b/app/code/core/Mage/Reports/Model/Event/Observer.php
index 14cc97a1379..45a4b67bbf5 100644
--- a/app/code/core/Mage/Reports/Model/Event/Observer.php
+++ b/app/code/core/Mage/Reports/Model/Event/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Reports
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -70,7 +70,6 @@ protected function _event($eventTypeId, $objectId, $subjectId = null, $subtype =
/**
* Customer login action
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function customerLogin(Varien_Event_Observer $observer)
@@ -97,7 +96,6 @@ public function customerLogin(Varien_Event_Observer $observer)
/**
* Customer logout processing
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function customerLogout(Varien_Event_Observer $observer)
@@ -117,7 +115,6 @@ public function customerLogout(Varien_Event_Observer $observer)
/**
* View Catalog Product action
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductView(Varien_Event_Observer $observer)
@@ -139,7 +136,6 @@ public function catalogProductView(Varien_Event_Observer $observer)
/**
* Send Product link to friends action
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function sendfriendProduct(Varien_Event_Observer $observer)
@@ -159,7 +155,6 @@ public function sendfriendProduct(Varien_Event_Observer $observer)
*
* Reset count of compared products cache
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductCompareRemoveProduct(Varien_Event_Observer $observer)
@@ -176,7 +171,6 @@ public function catalogProductCompareRemoveProduct(Varien_Event_Observer $observ
*
* Reset count of compared products cache
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductCompareClear(Varien_Event_Observer $observer)
@@ -193,7 +187,6 @@ public function catalogProductCompareClear(Varien_Event_Observer $observer)
*
* Reset count of compared products cache
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductCompareAddProduct(Varien_Event_Observer $observer)
@@ -215,7 +208,6 @@ public function catalogProductCompareAddProduct(Varien_Event_Observer $observer)
/**
* Add product to shopping cart action
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function checkoutCartAddProduct(Varien_Event_Observer $observer)
@@ -235,7 +227,6 @@ public function checkoutCartAddProduct(Varien_Event_Observer $observer)
/**
* Add product to wishlist action
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function wishlistAddProduct(Varien_Event_Observer $observer)
@@ -253,7 +244,6 @@ public function wishlistAddProduct(Varien_Event_Observer $observer)
/**
* Share customer wishlist action
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function wishlistShare(Varien_Event_Observer $observer)
@@ -273,7 +263,6 @@ public function wishlistShare(Varien_Event_Observer $observer)
*
* @see Global Log Clean Settings
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function eventClean(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Reports/Model/Resource/Event.php b/app/code/core/Mage/Reports/Model/Resource/Event.php
index 385dec89516..9872c2e1c19 100644
--- a/app/code/core/Mage/Reports/Model/Resource/Event.php
+++ b/app/code/core/Mage/Reports/Model/Resource/Event.php
@@ -33,7 +33,6 @@ protected function _construct()
/**
* Update customer type after customer login
*
- * @param Mage_Reports_Model_Event $model
* @param int $visitorId
* @param int $customerId
* @param array $types
@@ -60,7 +59,6 @@ public function updateCustomerType(Mage_Reports_Model_Event $model, $visitorId,
* The collection id field is used without correlation, so it must be unique.
* DESC ordering by event will be added to the collection
*
- * @param Varien_Data_Collection_Db $collection
* @param int $eventTypeId
* @param int $eventSubjectId
* @param int $subtype
@@ -108,7 +106,6 @@ public function applyLogToCollection(
/**
* Obtain all current store ids, depending on configuration
*
- * @param array|null $predefinedStoreIds
* @return array
* @throws Mage_Core_Model_Store_Exception
*/
@@ -151,7 +148,6 @@ public function getCurrentStoreIds(?array $predefinedStoreIds = null)
/**
* Clean report event table
*
- * @param Mage_Reports_Model_Event $object
* @return $this
*/
public function clean(Mage_Reports_Model_Event $object)
diff --git a/app/code/core/Mage/Reports/Model/Resource/Event/Collection.php b/app/code/core/Mage/Reports/Model/Resource/Event/Collection.php
index 64bcb5eaf42..56f27666828 100644
--- a/app/code/core/Mage/Reports/Model/Resource/Event/Collection.php
+++ b/app/code/core/Mage/Reports/Model/Resource/Event/Collection.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Reports
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -47,7 +47,6 @@ protected function _construct()
/**
* Add store ids filter
*
- * @param array $storeIds
* @return $this
*/
public function addStoreFilter(array $storeIds)
diff --git a/app/code/core/Mage/Reports/Model/Resource/Product/Index/Abstract.php b/app/code/core/Mage/Reports/Model/Resource/Product/Index/Abstract.php
index a2049512e65..0d6f065caa6 100644
--- a/app/code/core/Mage/Reports/Model/Resource/Product/Index/Abstract.php
+++ b/app/code/core/Mage/Reports/Model/Resource/Product/Index/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Reports
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -31,7 +31,6 @@ abstract class Mage_Reports_Model_Resource_Product_Index_Abstract extends Mage_C
/**
* Update Customer from visitor (Customer logged in)
*
- * @param Mage_Reports_Model_Product_Index_Abstract $object
* @return Mage_Reports_Model_Resource_Product_Index_Abstract
*/
public function updateCustomerFromVisitor(Mage_Reports_Model_Product_Index_Abstract $object)
@@ -88,7 +87,6 @@ public function updateCustomerFromVisitor(Mage_Reports_Model_Product_Index_Abstr
/**
* Purge visitor data by customer (logout)
*
- * @param Mage_Reports_Model_Product_Index_Abstract $object
* @return Mage_Reports_Model_Resource_Product_Index_Abstract
*/
public function purgeVisitorByCustomer(Mage_Reports_Model_Product_Index_Abstract $object)
@@ -110,7 +108,6 @@ public function purgeVisitorByCustomer(Mage_Reports_Model_Product_Index_Abstract
/**
* Save Product Index data (forced save)
*
- * @param Mage_Core_Model_Abstract|Mage_Reports_Model_Product_Index_Abstract $object
* @return Mage_Reports_Model_Resource_Product_Index_Abstract
* @throws Mage_Core_Exception
*/
@@ -179,7 +176,6 @@ public function clean()
* Add information about product ids to visitor/customer
*
*
- * @param Mage_Reports_Model_Product_Index_Abstract|Varien_Object $object
* @param array $productIds
* @return Mage_Reports_Model_Resource_Product_Index_Abstract
*/
diff --git a/app/code/core/Mage/Reports/Model/Resource/Product/Index/Collection/Abstract.php b/app/code/core/Mage/Reports/Model/Resource/Product/Index/Collection/Abstract.php
index 3219bd8df50..e6d614b6a10 100644
--- a/app/code/core/Mage/Reports/Model/Resource/Product/Index/Collection/Abstract.php
+++ b/app/code/core/Mage/Reports/Model/Resource/Product/Index/Collection/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Reports
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -144,7 +144,6 @@ public function setAddedAtOrder($dir = self::SORT_ORDER_DESC)
/**
* Set list of ids with expected order
*
- * @param array $ids
* @return Mage_Reports_Model_Resource_Product_Index_Collection_Abstract
*/
public function setSortIds(array $ids)
diff --git a/app/code/core/Mage/Reports/Model/Resource/Report/Collection/Abstract.php b/app/code/core/Mage/Reports/Model/Resource/Report/Collection/Abstract.php
index 5b9295f4658..68bf5a82a9d 100644
--- a/app/code/core/Mage/Reports/Model/Resource/Report/Collection/Abstract.php
+++ b/app/code/core/Mage/Reports/Model/Resource/Report/Collection/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Reports
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -80,7 +80,6 @@ class Mage_Reports_Model_Resource_Report_Collection_Abstract extends Mage_Core_M
/**
* Set array of columns that should be aggregated
*
- * @param array $columns
* @return $this
*/
public function setAggregatedColumns(array $columns)
@@ -158,7 +157,6 @@ public function addStoreFilter($storeIds)
/**
* Apply stores filter to select object
*
- * @param Zend_Db_Select $select
* @return $this
*/
protected function _applyStoresFilterToSelect(Zend_Db_Select $select)
diff --git a/app/code/core/Mage/Review/Block/Product/View.php b/app/code/core/Mage/Review/Block/Product/View.php
index 47b18b6757e..7f35e2afb17 100644
--- a/app/code/core/Mage/Review/Block/Product/View.php
+++ b/app/code/core/Mage/Review/Block/Product/View.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Review
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -40,7 +40,6 @@ protected function _toHtml()
* Replace review summary html with more detailed review summary
* Reviews collection count will be jerked here
*
- * @param Mage_Catalog_Model_Product $product
* @param bool $templateType
* @param bool $displayIfNoReviews
* @return string
diff --git a/app/code/core/Mage/Review/Model/Observer.php b/app/code/core/Mage/Review/Model/Observer.php
index 008a971dec5..6ca3375cdcf 100644
--- a/app/code/core/Mage/Review/Model/Observer.php
+++ b/app/code/core/Mage/Review/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Review
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Review_Model_Observer
/**
* Add review summary info for tagged product collection
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function tagProductCollectionLoadAfter(Varien_Event_Observer $observer)
@@ -40,7 +39,6 @@ public function tagProductCollectionLoadAfter(Varien_Event_Observer $observer)
/**
* Cleanup product reviews after product delete
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function processProductAfterDeleteEvent(Varien_Event_Observer $observer)
@@ -57,7 +55,6 @@ public function processProductAfterDeleteEvent(Varien_Event_Observer $observer)
/**
* Append review summary before rendering html
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogBlockProductCollectionBeforeToHtml(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Review/Model/Resource/Review.php b/app/code/core/Mage/Review/Model/Resource/Review.php
index 28e613e7b7b..777ddeea9ac 100644
--- a/app/code/core/Mage/Review/Model/Resource/Review.php
+++ b/app/code/core/Mage/Review/Model/Resource/Review.php
@@ -105,7 +105,6 @@ protected function _getLoadSelect($field, $value, $object)
/**
* Perform actions before object save
*
- * @param Mage_Core_Model_Abstract|Mage_Review_Model_Review $object
* @return $this
*/
protected function _beforeSave(Mage_Core_Model_Abstract $object)
@@ -126,7 +125,6 @@ protected function _beforeSave(Mage_Core_Model_Abstract $object)
/**
* Perform actions after object save
*
- * @param Mage_Core_Model_Abstract|Mage_Review_Model_Review $object
* @return $this
* @throws Zend_Db_Adapter_Exception
*/
@@ -191,7 +189,6 @@ protected function _afterSave(Mage_Core_Model_Abstract $object)
/**
* Perform actions after object load
*
- * @param Mage_Core_Model_Abstract|Mage_Review_Model_Review $object
* @return $this
* @throws Mage_Core_Model_Store_Exception
*/
@@ -213,7 +210,6 @@ protected function _afterLoad(Mage_Core_Model_Abstract $object)
/**
* Action before delete
*
- * @param Mage_Core_Model_Abstract|Mage_Review_Model_Review $object
* @return $this
*/
protected function _beforeDelete(Mage_Core_Model_Abstract $object)
@@ -229,7 +225,6 @@ protected function _beforeDelete(Mage_Core_Model_Abstract $object)
/**
* Perform actions after object delete
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
public function afterDeleteCommit(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Review/Model/Resource/Review/Product/Collection.php b/app/code/core/Mage/Review/Model/Resource/Review/Product/Collection.php
index c91ed8e1694..4a055123e37 100644
--- a/app/code/core/Mage/Review/Model/Resource/Review/Product/Collection.php
+++ b/app/code/core/Mage/Review/Model/Resource/Review/Product/Collection.php
@@ -128,7 +128,6 @@ public function setStoreFilter($storeId)
/**
* Applies all store filters in one place to prevent multiple joins in select
*
- * @param null|Zend_Db_Select $select
* @return $this
*/
protected function _applyStoresFilterToSelect(?Zend_Db_Select $select = null)
diff --git a/app/code/core/Mage/Review/controllers/ProductController.php b/app/code/core/Mage/Review/controllers/ProductController.php
index f8fb67d9c89..3075ffe85b1 100644
--- a/app/code/core/Mage/Review/controllers/ProductController.php
+++ b/app/code/core/Mage/Review/controllers/ProductController.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Review
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -308,7 +308,6 @@ protected function _initProductLayout($product)
/**
* Crops POST values
- * @param array $reviewData
* @return array
*/
protected function _cropReviewData(array $reviewData)
diff --git a/app/code/core/Mage/Rss/Model/Observer.php b/app/code/core/Mage/Rss/Model/Observer.php
index 20cef8933a4..07a124d6835 100644
--- a/app/code/core/Mage/Rss/Model/Observer.php
+++ b/app/code/core/Mage/Rss/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Rss
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -35,9 +35,6 @@ class Mage_Rss_Model_Observer
*/
protected $_app;
- /**
- * @param array $args
- */
public function __construct(array $args = [])
{
$this->_factory = !empty($args['factory']) ? $args['factory'] : Mage::getSingleton('core/factory');
@@ -46,8 +43,6 @@ public function __construct(array $args = [])
/**
* Clean cache for catalog review rss
- *
- * @param Varien_Event_Observer $observer
*/
public function reviewSaveAfter(Varien_Event_Observer $observer)
{
@@ -56,8 +51,6 @@ public function reviewSaveAfter(Varien_Event_Observer $observer)
/**
* Clean cache for notify stock rss
- *
- * @param Varien_Event_Observer $observer
*/
public function salesOrderItemSaveAfterNotifyStock(Varien_Event_Observer $observer)
{
@@ -66,8 +59,6 @@ public function salesOrderItemSaveAfterNotifyStock(Varien_Event_Observer $observ
/**
* Clean cache for catalog new orders rss
- *
- * @param Varien_Event_Observer $observer
*/
public function salesOrderItemSaveAfterOrderNew(Varien_Event_Observer $observer)
{
diff --git a/app/code/core/Mage/Rule/Block/Actions.php b/app/code/core/Mage/Rule/Block/Actions.php
index 1feea05ab1f..7ab0ace7479 100644
--- a/app/code/core/Mage/Rule/Block/Actions.php
+++ b/app/code/core/Mage/Rule/Block/Actions.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Rule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Rule_Block_Actions implements Varien_Data_Form_Element_Renderer_Interface
{
/**
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Rule/Block/Conditions.php b/app/code/core/Mage/Rule/Block/Conditions.php
index 2b2f09e88ea..a14a13c7d6b 100644
--- a/app/code/core/Mage/Rule/Block/Conditions.php
+++ b/app/code/core/Mage/Rule/Block/Conditions.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Rule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Rule_Block_Conditions implements Varien_Data_Form_Element_Renderer_Interface
{
/**
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Rule/Block/Editable.php b/app/code/core/Mage/Rule/Block/Editable.php
index b2f62ff2d76..592fc1cc164 100644
--- a/app/code/core/Mage/Rule/Block/Editable.php
+++ b/app/code/core/Mage/Rule/Block/Editable.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Rule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Rule_Block_Editable extends Mage_Core_Block_Abstract implements Varien_Data_Form_Element_Renderer_Interface
{
/**
- * @param Varien_Data_Form_Element_Abstract $element
* @see Varien_Data_Form_Element_Renderer_Interface::render()
* @return string
*/
diff --git a/app/code/core/Mage/Rule/Block/Newchild.php b/app/code/core/Mage/Rule/Block/Newchild.php
index 81635e80901..602f7e85280 100644
--- a/app/code/core/Mage/Rule/Block/Newchild.php
+++ b/app/code/core/Mage/Rule/Block/Newchild.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Rule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Rule_Block_Newchild extends Mage_Core_Block_Abstract implements Varien_Data_Form_Element_Renderer_Interface
{
/**
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Rule/Model/Abstract.php b/app/code/core/Mage/Rule/Model/Abstract.php
index 711075dcc4e..b20323241b9 100644
--- a/app/code/core/Mage/Rule/Model/Abstract.php
+++ b/app/code/core/Mage/Rule/Model/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Rule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -284,7 +284,6 @@ public function getForm()
/**
* Initialize rule model data from array
*
- * @param array $data
*
* @return Mage_Rule_Model_Abstract
*/
@@ -306,7 +305,6 @@ public function loadPost(array $data)
* Set conditions and actions recursively.
* Convert dates into Zend_Date.
*
- * @param array $data
*
* @return array
*/
@@ -347,7 +345,6 @@ protected function _convertFlatToRecursive(array $data)
/**
* Validate rule conditions to determine if rule can run
*
- * @param Varien_Object $object
*
* @return bool
*/
@@ -359,7 +356,6 @@ public function validate(Varien_Object $object)
/**
* Validate rule data
*
- * @param Varien_Object $object
*
* @return bool|array - return true if validation passed successfully. Array with errors description otherwise
*/
@@ -485,7 +481,6 @@ public function asHtml()
*
* @deprecated since 1.7.0.0
*
- * @param array $arrAttributes
*
* @return array
*/
diff --git a/app/code/core/Mage/Rule/Model/Action/Abstract.php b/app/code/core/Mage/Rule/Model/Action/Abstract.php
index e8b0a850fd4..0cd8d40b1dc 100644
--- a/app/code/core/Mage/Rule/Model/Action/Abstract.php
+++ b/app/code/core/Mage/Rule/Model/Action/Abstract.php
@@ -71,7 +71,6 @@ public function getForm()
}
/**
- * @param array $arrAttributes
* @return array
*/
public function asArray(array $arrAttributes = [])
@@ -96,7 +95,6 @@ public function asXml()
}
/**
- * @param array $arr
* @return $this
*/
public function loadArray(array $arr)
diff --git a/app/code/core/Mage/Rule/Model/Action/Collection.php b/app/code/core/Mage/Rule/Model/Action/Collection.php
index f42d9666020..04ac972f7e3 100644
--- a/app/code/core/Mage/Rule/Model/Action/Collection.php
+++ b/app/code/core/Mage/Rule/Model/Action/Collection.php
@@ -42,7 +42,6 @@ public function __construct()
* {action::asArray}
* )
*
- * @param array $arrAttributes
* @return array
*/
public function asArray(array $arrAttributes = [])
@@ -56,7 +55,6 @@ public function asArray(array $arrAttributes = [])
}
/**
- * @param array $arr
* @return $this|Mage_Rule_Model_Action_Abstract
*/
public function loadArray(array $arr)
@@ -75,7 +73,6 @@ public function loadArray(array $arr)
}
/**
- * @param Mage_Rule_Model_Action_Interface $action
* @return $this
*/
public function addAction(Mage_Rule_Model_Action_Interface $action)
diff --git a/app/code/core/Mage/Rule/Model/Condition/Abstract.php b/app/code/core/Mage/Rule/Model/Condition/Abstract.php
index 3c02c132a4b..b9c51171e61 100644
--- a/app/code/core/Mage/Rule/Model/Condition/Abstract.php
+++ b/app/code/core/Mage/Rule/Model/Condition/Abstract.php
@@ -174,7 +174,6 @@ public function getForm()
}
/**
- * @param array $arrAttributes
* @return array
*/
public function asArray(array $arrAttributes = [])
@@ -824,7 +823,6 @@ protected function _compareValues($validatedValue, $value, $strict = true)
}
/**
- * @param Varien_Object $object
* @return bool
*/
public function validate(Varien_Object $object)
diff --git a/app/code/core/Mage/Rule/Model/Condition/Combine.php b/app/code/core/Mage/Rule/Model/Condition/Combine.php
index 141aad99580..c89a17fe239 100644
--- a/app/code/core/Mage/Rule/Model/Condition/Combine.php
+++ b/app/code/core/Mage/Rule/Model/Condition/Combine.php
@@ -210,7 +210,6 @@ public function getValueElementType()
* )
* )
*
- * @param array $arrAttributes
* @return array
*/
public function asArray(array $arrAttributes = [])
@@ -346,7 +345,6 @@ public function asStringRecursive($level = 0)
}
/**
- * @param Varien_Object $object
* @return bool
*/
public function validate(Varien_Object $object)
diff --git a/app/code/core/Mage/Rule/Model/Condition/Product/Abstract.php b/app/code/core/Mage/Rule/Model/Condition/Product/Abstract.php
index 5b778862b03..1b2a3c3e503 100644
--- a/app/code/core/Mage/Rule/Model/Condition/Product/Abstract.php
+++ b/app/code/core/Mage/Rule/Model/Condition/Product/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Rule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -116,8 +116,6 @@ public function prepareConditionSql()
/**
* Rule condition SQL builder setter
- *
- * @param Mage_Rule_Model_Resource_Rule_Condition_SqlBuilder $ruleHelper
*/
public function setRuleResourceHelper(Mage_Rule_Model_Resource_Rule_Condition_SqlBuilder $ruleHelper)
{
@@ -157,8 +155,6 @@ public function getAttributeObject()
/**
* Add special attributes
- *
- * @param array $attributes
*/
protected function _addSpecialAttributes(array &$attributes)
{
@@ -501,7 +497,6 @@ public function loadArray($arr)
/**
* Validate product attribute value for condition
*
- * @param Varien_Object $object
* @return bool
*/
public function validate(Varien_Object $object)
diff --git a/app/code/core/Mage/Rule/Model/Renderer/Actions.php b/app/code/core/Mage/Rule/Model/Renderer/Actions.php
index 209477cfd34..4016a0ce34e 100644
--- a/app/code/core/Mage/Rule/Model/Renderer/Actions.php
+++ b/app/code/core/Mage/Rule/Model/Renderer/Actions.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Rule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Rule_Model_Renderer_Actions implements Varien_Data_Form_Element_Renderer_Interface
{
/**
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Rule/Model/Renderer/Conditions.php b/app/code/core/Mage/Rule/Model/Renderer/Conditions.php
index 6aa7b260503..a334c5ad6ec 100644
--- a/app/code/core/Mage/Rule/Model/Renderer/Conditions.php
+++ b/app/code/core/Mage/Rule/Model/Renderer/Conditions.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Rule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Rule_Model_Renderer_Conditions implements Varien_Data_Form_Element_Renderer_Interface
{
/**
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Rule/Model/Resource/Abstract.php b/app/code/core/Mage/Rule/Model/Resource/Abstract.php
index bf3c622effd..d310e24c4e5 100644
--- a/app/code/core/Mage/Rule/Model/Resource/Abstract.php
+++ b/app/code/core/Mage/Rule/Model/Resource/Abstract.php
@@ -46,7 +46,6 @@ abstract class Mage_Rule_Model_Resource_Abstract extends Mage_Core_Model_Resourc
/**
* Prepare rule's active "from" and "to" dates
*
- * @param Mage_Core_Model_Abstract $object
*
* @return Mage_Rule_Model_Resource_Abstract
*/
diff --git a/app/code/core/Mage/Rule/Model/Resource/Rule/Collection/Abstract.php b/app/code/core/Mage/Rule/Model/Resource/Rule/Collection/Abstract.php
index e7087d17a3a..540bf67b8de 100644
--- a/app/code/core/Mage/Rule/Model/Resource/Rule/Collection/Abstract.php
+++ b/app/code/core/Mage/Rule/Model/Resource/Rule/Collection/Abstract.php
@@ -168,7 +168,6 @@ protected function _getAssociatedEntityInfo($entityType)
/**
* Set environment for all rules in collection
*
- * @param Mage_Rule_Model_Environment|null $env
* @return $this
* @deprecated after 1.6.2.0
*
diff --git a/app/code/core/Mage/Rule/Model/Resource/Rule/Condition/SqlBuilder.php b/app/code/core/Mage/Rule/Model/Resource/Rule/Condition/SqlBuilder.php
index 296d232f9bf..b48038d6cf7 100644
--- a/app/code/core/Mage/Rule/Model/Resource/Rule/Condition/SqlBuilder.php
+++ b/app/code/core/Mage/Rule/Model/Resource/Rule/Condition/SqlBuilder.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Rule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -25,9 +25,6 @@ class Mage_Rule_Model_Resource_Rule_Condition_SqlBuilder
*/
protected $_adapter;
- /**
- * @param array $config
- */
public function __construct(array $config = [])
{
$this->_adapter = $config['adapter'] ?? Mage::getSingleton('core/resource')->getConnection(Mage_Core_Model_Resource::DEFAULT_READ_RESOURCE);
diff --git a/app/code/core/Mage/Sales/Block/Adminhtml/Recurring/Profile/Edit/Form.php b/app/code/core/Mage/Sales/Block/Adminhtml/Recurring/Profile/Edit/Form.php
index 5319fd71eb4..083ee6849d5 100644
--- a/app/code/core/Mage/Sales/Block/Adminhtml/Recurring/Profile/Edit/Form.php
+++ b/app/code/core/Mage/Sales/Block/Adminhtml/Recurring/Profile/Edit/Form.php
@@ -52,7 +52,6 @@ class Mage_Sales_Block_Adminhtml_Recurring_Profile_Edit_Form extends Mage_Adminh
/**
* Setter for parent element
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return Mage_Sales_Block_Adminhtml_Recurring_Profile_Edit_Form
*/
public function setParentElement(Varien_Data_Form_Element_Abstract $element)
@@ -64,7 +63,6 @@ public function setParentElement(Varien_Data_Form_Element_Abstract $element)
/**
* Setter for current product
*
- * @param Mage_Catalog_Model_Product $product
* @return Mage_Sales_Block_Adminhtml_Recurring_Profile_Edit_Form
*/
public function setProductEntity(Mage_Catalog_Model_Product $product)
diff --git a/app/code/core/Mage/Sales/Block/Billing/Agreement/View.php b/app/code/core/Mage/Sales/Block/Billing/Agreement/View.php
index 5e4ccd16c32..aae8714d543 100644
--- a/app/code/core/Mage/Sales/Block/Billing/Agreement/View.php
+++ b/app/code/core/Mage/Sales/Block/Billing/Agreement/View.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -75,7 +75,6 @@ public function getRelatedOrders()
/**
* Retrieve order item value by key
*
- * @param Mage_Sales_Model_Order $order
* @param string $key
* @return string
*/
diff --git a/app/code/core/Mage/Sales/Block/Billing/Agreements.php b/app/code/core/Mage/Sales/Block/Billing/Agreements.php
index 5f7549318ac..3c77fd9b754 100644
--- a/app/code/core/Mage/Sales/Block/Billing/Agreements.php
+++ b/app/code/core/Mage/Sales/Block/Billing/Agreements.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -70,7 +70,6 @@ public function getBillingAgreements()
/**
* Retrieve item value by key
*
- * @param Mage_Sales_Model_Billing_Agreement $item
* @param string $key
* @return string
*/
diff --git a/app/code/core/Mage/Sales/Block/Items/Abstract.php b/app/code/core/Mage/Sales/Block/Items/Abstract.php
index 9a0490126f9..bfdb89567f7 100644
--- a/app/code/core/Mage/Sales/Block/Items/Abstract.php
+++ b/app/code/core/Mage/Sales/Block/Items/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -83,7 +83,6 @@ public function getItemRenderer($type)
/**
* Prepare item before output
*
- * @param Mage_Core_Block_Abstract $renderer
* @return $this
*/
protected function _prepareItem(Mage_Core_Block_Abstract $renderer)
@@ -94,7 +93,6 @@ protected function _prepareItem(Mage_Core_Block_Abstract $renderer)
/**
* Return product type for quote/order item
*
- * @param Varien_Object $item
* @return string
*/
protected function _getItemType(Varien_Object $item)
@@ -112,7 +110,6 @@ protected function _getItemType(Varien_Object $item)
/**
* Get item row html
*
- * @param Varien_Object $item
* @return string
*/
public function getItemHtml(Varien_Object $item)
diff --git a/app/code/core/Mage/Sales/Block/Order/Item/Renderer/Default.php b/app/code/core/Mage/Sales/Block/Order/Item/Renderer/Default.php
index 3ed317cde58..e47aa23e13a 100644
--- a/app/code/core/Mage/Sales/Block/Order/Item/Renderer/Default.php
+++ b/app/code/core/Mage/Sales/Block/Order/Item/Renderer/Default.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -22,7 +22,6 @@
class Mage_Sales_Block_Order_Item_Renderer_Default extends Mage_Core_Block_Template
{
/**
- * @param Varien_Object $item
* @return $this
*/
public function setItem(Varien_Object $item)
diff --git a/app/code/core/Mage/Sales/Block/Order/Print.php b/app/code/core/Mage/Sales/Block/Order/Print.php
index 914b989c847..8b7d6250292 100644
--- a/app/code/core/Mage/Sales/Block/Order/Print.php
+++ b/app/code/core/Mage/Sales/Block/Order/Print.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -59,7 +59,6 @@ public function getOrder()
}
/**
- * @param Mage_Core_Block_Abstract $renderer
* @return Mage_Sales_Block_Items_Abstract
*/
protected function _prepareItem(Mage_Core_Block_Abstract $renderer)
diff --git a/app/code/core/Mage/Sales/Block/Order/Print/Creditmemo.php b/app/code/core/Mage/Sales/Block/Order/Print/Creditmemo.php
index c1b0b554be3..03437949e54 100644
--- a/app/code/core/Mage/Sales/Block/Order/Print/Creditmemo.php
+++ b/app/code/core/Mage/Sales/Block/Order/Print/Creditmemo.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -83,7 +83,6 @@ public function getCreditmemo()
}
/**
- * @param Mage_Core_Block_Abstract $renderer
* @return Mage_Sales_Block_Items_Abstract
*/
protected function _prepareItem(Mage_Core_Block_Abstract $renderer)
diff --git a/app/code/core/Mage/Sales/Block/Order/Print/Invoice.php b/app/code/core/Mage/Sales/Block/Order/Print/Invoice.php
index 7c5b45940e5..609a19e92ca 100644
--- a/app/code/core/Mage/Sales/Block/Order/Print/Invoice.php
+++ b/app/code/core/Mage/Sales/Block/Order/Print/Invoice.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -83,7 +83,6 @@ public function getInvoice()
}
/**
- * @param Mage_Core_Block_Abstract $renderer
* @return Mage_Sales_Block_Items_Abstract
*/
protected function _prepareItem(Mage_Core_Block_Abstract $renderer)
diff --git a/app/code/core/Mage/Sales/Block/Order/Print/Shipment.php b/app/code/core/Mage/Sales/Block/Order/Print/Shipment.php
index 307ae1448cc..d7942d82983 100644
--- a/app/code/core/Mage/Sales/Block/Order/Print/Shipment.php
+++ b/app/code/core/Mage/Sales/Block/Order/Print/Shipment.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -121,7 +121,6 @@ public function getShipment()
}
/**
- * @param Mage_Core_Block_Abstract $renderer
* @inheritDoc
*/
protected function _prepareItem(Mage_Core_Block_Abstract $renderer)
diff --git a/app/code/core/Mage/Sales/Block/Order/Totals.php b/app/code/core/Mage/Sales/Block/Order/Totals.php
index 2c5ebf5f074..aa686cae572 100644
--- a/app/code/core/Mage/Sales/Block/Order/Totals.php
+++ b/app/code/core/Mage/Sales/Block/Order/Totals.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -155,7 +155,6 @@ protected function _initTotals()
/**
* Add new total to totals array after specific total or before last total by default
*
- * @param Varien_Object $total
* @param null|string $after accepted values: 'first', 'last'
* @return Mage_Sales_Block_Order_Totals
*/
@@ -193,7 +192,6 @@ public function addTotal(Varien_Object $total, $after = null)
/**
* Add new total to totals array before specific total or after first total by default
*
- * @param Varien_Object $total
* @param null|array|string $before
* @return Mage_Sales_Block_Order_Totals
*/
diff --git a/app/code/core/Mage/Sales/Block/Recurring/Profile/View.php b/app/code/core/Mage/Sales/Block/Recurring/Profile/View.php
index 441dbb0b6b5..903bc284c0d 100644
--- a/app/code/core/Mage/Sales/Block/Recurring/Profile/View.php
+++ b/app/code/core/Mage/Sales/Block/Recurring/Profile/View.php
@@ -310,7 +310,6 @@ public function prepareRelatedOrdersFrontendGrid()
/**
* Get rendered row value
*
- * @param Varien_Object $row
* @return string
*/
public function renderRowValue(Varien_Object $row)
@@ -347,7 +346,6 @@ protected function _prepareRelatedOrders($fieldsToSelect = '*')
/**
* Add specified data to the $_info
*
- * @param array $data
* @param string $key = null
*/
protected function _addInfo(array $data, $key = null)
diff --git a/app/code/core/Mage/Sales/Block/Reorder/Sidebar.php b/app/code/core/Mage/Sales/Block/Reorder/Sidebar.php
index 569c2009ae7..436cc526b9b 100644
--- a/app/code/core/Mage/Sales/Block/Reorder/Sidebar.php
+++ b/app/code/core/Mage/Sales/Block/Reorder/Sidebar.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -85,7 +85,6 @@ public function getItems()
/**
* Check item product availability for reorder
*
- * @param Mage_Sales_Model_Order_Item $orderItem
* @return bool
*/
public function isItemAvailableForReorder(Mage_Sales_Model_Order_Item $orderItem)
diff --git a/app/code/core/Mage/Sales/Helper/Data.php b/app/code/core/Mage/Sales/Helper/Data.php
index 375692a5ea5..b5e60d8e198 100644
--- a/app/code/core/Mage/Sales/Helper/Data.php
+++ b/app/code/core/Mage/Sales/Helper/Data.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -36,7 +36,6 @@ class Mage_Sales_Helper_Data extends Mage_Core_Helper_Data
/**
* Check quote amount
*
- * @param Mage_Sales_Model_Quote $quote
* @param float $amount
* @return $this
*/
diff --git a/app/code/core/Mage/Sales/Helper/Reorder.php b/app/code/core/Mage/Sales/Helper/Reorder.php
index 59b831de524..17ed7afbaed 100644
--- a/app/code/core/Mage/Sales/Helper/Reorder.php
+++ b/app/code/core/Mage/Sales/Helper/Reorder.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -48,7 +48,6 @@ public function isAllowed($store = null)
}
/**
- * @param Mage_Sales_Model_Order $order
* @return bool
*/
public function canReorder(Mage_Sales_Model_Order $order)
diff --git a/app/code/core/Mage/Sales/Model/Api/Resource.php b/app/code/core/Mage/Sales/Model/Api/Resource.php
index 3ae18f6ca87..ac9ccc55f33 100644
--- a/app/code/core/Mage/Sales/Model/Api/Resource.php
+++ b/app/code/core/Mage/Sales/Model/Api/Resource.php
@@ -45,7 +45,6 @@ class Mage_Sales_Model_Api_Resource extends Mage_Api_Model_Resource_Abstract
* @param array $data
* @param Mage_Core_Model_Abstract $object
* @param string $type
- * @param array|null $attributes
* @return $this
*/
protected function _updateAttributes($data, $object, $type, ?array $attributes = null)
@@ -64,7 +63,6 @@ protected function _updateAttributes($data, $object, $type, ?array $attributes =
*
* @param Mage_Core_Model_Abstract $object
* @param string $type
- * @param array|null $attributes
* @return array
*/
protected function _getAttributes($object, $type, ?array $attributes = null)
@@ -101,7 +99,6 @@ protected function _getAttributes($object, $type, ?array $attributes = null)
*
* @param string $attributeCode
* @param string $type
- * @param array|null $attributes
* @return bool
*/
protected function _isAllowedAttribute($attributeCode, $type, ?array $attributes = null)
diff --git a/app/code/core/Mage/Sales/Model/Api2/Order.php b/app/code/core/Mage/Sales/Model/Api2/Order.php
index 51b0df1f9a7..dab2973bebd 100644
--- a/app/code/core/Mage/Sales/Model/Api2/Order.php
+++ b/app/code/core/Mage/Sales/Model/Api2/Order.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -33,7 +33,6 @@ class Mage_Sales_Model_Api2_Order extends Mage_Api2_Model_Resource
/**
* Add gift message info to select
*
- * @param Mage_Sales_Model_Resource_Order_Collection $collection
* @return $this
*/
protected function _addGiftMessageInfo(Mage_Sales_Model_Resource_Order_Collection $collection)
@@ -54,7 +53,6 @@ protected function _addGiftMessageInfo(Mage_Sales_Model_Resource_Order_Collectio
/**
* Add order payment method field to select
*
- * @param Mage_Sales_Model_Resource_Order_Collection $collection
* @return $this
*/
protected function _addPaymentMethodInfo(Mage_Sales_Model_Resource_Order_Collection $collection)
@@ -71,7 +69,6 @@ protected function _addPaymentMethodInfo(Mage_Sales_Model_Resource_Order_Collect
/**
* Add order tax information to select
*
- * @param Mage_Sales_Model_Resource_Order_Collection $collection
* @return $this
*/
protected function _addTaxInfo(Mage_Sales_Model_Resource_Order_Collection $collection)
diff --git a/app/code/core/Mage/Sales/Model/Api2/Order/Comment/Rest/Admin/V1.php b/app/code/core/Mage/Sales/Model/Api2/Order/Comment/Rest/Admin/V1.php
index 8d07978b014..36ed8ea44fb 100644
--- a/app/code/core/Mage/Sales/Model/Api2/Order/Comment/Rest/Admin/V1.php
+++ b/app/code/core/Mage/Sales/Model/Api2/Order/Comment/Rest/Admin/V1.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Sales_Model_Api2_Order_Comment_Rest_Admin_V1 extends Mage_Sales_Model
/**
* Add comment to order
*
- * @param array $data
* @return string
*/
protected function _create(array $data)
diff --git a/app/code/core/Mage/Sales/Model/Billing/Agreement.php b/app/code/core/Mage/Sales/Model/Billing/Agreement.php
index 9efd5e36944..6115a2d972b 100644
--- a/app/code/core/Mage/Sales/Model/Billing/Agreement.php
+++ b/app/code/core/Mage/Sales/Model/Billing/Agreement.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -231,7 +231,6 @@ public function isValid()
* [billing_agreement_id] => string
* [method_code] => string
*
- * @param Mage_Sales_Model_Order_Payment $payment
* @return $this
*/
public function importOrderPayment(Mage_Sales_Model_Order_Payment $payment)
diff --git a/app/code/core/Mage/Sales/Model/Convert/Order.php b/app/code/core/Mage/Sales/Model/Convert/Order.php
index d03de8c6e70..6d86d17e190 100644
--- a/app/code/core/Mage/Sales/Model/Convert/Order.php
+++ b/app/code/core/Mage/Sales/Model/Convert/Order.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Sales_Model_Convert_Order extends Varien_Object
/**
* Converting order object to quote object
*
- * @param Mage_Sales_Model_Order $order
* @param null|Mage_Sales_Model_Quote $quote
* @return Mage_Sales_Model_Quote
*/
@@ -46,7 +45,6 @@ public function toQuote(Mage_Sales_Model_Order $order, $quote = null)
/**
* Convert order to shipping address
*
- * @param Mage_Sales_Model_Order $order
* @return Mage_Sales_Model_Quote_Address
*/
public function toQuoteShippingAddress(Mage_Sales_Model_Order $order)
@@ -60,7 +58,6 @@ public function toQuoteShippingAddress(Mage_Sales_Model_Order $order)
/**
* Convert order address to quote address
*
- * @param Mage_Sales_Model_Order_Address $address
* @return Mage_Sales_Model_Quote_Address
*/
public function addressToQuoteAddress(Mage_Sales_Model_Order_Address $address)
@@ -78,7 +75,6 @@ public function addressToQuoteAddress(Mage_Sales_Model_Order_Address $address)
/**
* Convert order payment to quote payment
*
- * @param Mage_Sales_Model_Order_Payment $payment
* @param null|Mage_Sales_Model_Quote_Payment $quotePayment
* @return Mage_Sales_Model_Quote_Payment
*/
@@ -98,7 +94,6 @@ public function paymentToQuotePayment(Mage_Sales_Model_Order_Payment $payment, $
/**
* Retrieve
*
- * @param Mage_Sales_Model_Order_Item $item
* @return Mage_Sales_Model_Quote_Item
*/
public function itemToQuoteItem(Mage_Sales_Model_Order_Item $item)
@@ -116,7 +111,6 @@ public function itemToQuoteItem(Mage_Sales_Model_Order_Item $item)
/**
* Convert order object to invoice
*
- * @param Mage_Sales_Model_Order $order
* @return Mage_Sales_Model_Order_Invoice
*/
public function toInvoice(Mage_Sales_Model_Order $order)
@@ -135,7 +129,6 @@ public function toInvoice(Mage_Sales_Model_Order $order)
/**
* Convert order item object to invoice item
*
- * @param Mage_Sales_Model_Order_Item $item
* @return Mage_Sales_Model_Order_Invoice_Item
*/
public function itemToInvoiceItem(Mage_Sales_Model_Order_Item $item)
@@ -151,7 +144,6 @@ public function itemToInvoiceItem(Mage_Sales_Model_Order_Item $item)
/**
* Convert order object to Shipment
*
- * @param Mage_Sales_Model_Order $order
* @return Mage_Sales_Model_Order_Shipment
*/
public function toShipment(Mage_Sales_Model_Order $order)
@@ -170,7 +162,6 @@ public function toShipment(Mage_Sales_Model_Order $order)
/**
* Convert order item object to Shipment item
*
- * @param Mage_Sales_Model_Order_Item $item
* @return Mage_Sales_Model_Order_Shipment_Item
*/
public function itemToShipmentItem(Mage_Sales_Model_Order_Item $item)
@@ -186,7 +177,6 @@ public function itemToShipmentItem(Mage_Sales_Model_Order_Item $item)
/**
* Convert order object to creditmemo
*
- * @param Mage_Sales_Model_Order $order
* @return Mage_Sales_Model_Order_Creditmemo
*/
public function toCreditmemo(Mage_Sales_Model_Order $order)
@@ -205,7 +195,6 @@ public function toCreditmemo(Mage_Sales_Model_Order $order)
/**
* Convert order item object to Creditmemo item
*
- * @param Mage_Sales_Model_Order_Item $item
* @return Mage_Sales_Model_Order_Creditmemo_Item
*/
public function itemToCreditmemoItem(Mage_Sales_Model_Order_Item $item)
diff --git a/app/code/core/Mage/Sales/Model/Convert/Quote.php b/app/code/core/Mage/Sales/Model/Convert/Quote.php
index 58045eaafa7..c5620307c27 100644
--- a/app/code/core/Mage/Sales/Model/Convert/Quote.php
+++ b/app/code/core/Mage/Sales/Model/Convert/Quote.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Sales_Model_Convert_Quote extends Varien_Object
/**
* Convert quote model to order model
*
- * @param Mage_Sales_Model_Quote $quote
* @param null|Mage_Sales_Model_Order $order
* @return Mage_Sales_Model_Order
*/
@@ -48,7 +47,6 @@ public function toOrder(Mage_Sales_Model_Quote $quote, $order = null)
/**
* Convert quote address model to order
*
- * @param Mage_Sales_Model_Quote_Address $address
* @param null|Mage_Sales_Model_Order $order
* @return Mage_Sales_Model_Order
*/
@@ -67,7 +65,6 @@ public function addressToOrder(Mage_Sales_Model_Quote_Address $address, $order =
/**
* Convert quote address to order address
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_Sales_Model_Order_Address
*/
public function addressToOrderAddress(Mage_Sales_Model_Quote_Address $address)
@@ -91,7 +88,6 @@ public function addressToOrderAddress(Mage_Sales_Model_Quote_Address $address)
/**
* Convert quote payment to order payment
*
- * @param Mage_Sales_Model_Quote_Payment $payment
* @return Mage_Sales_Model_Order_Payment
*/
public function paymentToOrderPayment(Mage_Sales_Model_Quote_Payment $payment)
@@ -112,7 +108,6 @@ public function paymentToOrderPayment(Mage_Sales_Model_Quote_Payment $payment)
/**
* Convert quote item to order item
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
* @return Mage_Sales_Model_Order_Item
*/
public function itemToOrderItem(Mage_Sales_Model_Quote_Item_Abstract $item)
diff --git a/app/code/core/Mage/Sales/Model/Email/Template.php b/app/code/core/Mage/Sales/Model/Email/Template.php
index 74cddc4d680..e7beb53fe01 100644
--- a/app/code/core/Mage/Sales/Model/Email/Template.php
+++ b/app/code/core/Mage/Sales/Model/Email/Template.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -21,7 +21,6 @@ class Mage_Sales_Model_Email_Template extends Mage_Core_Model_Email_Template
{
/**
* @param string $template
- * @param array $variables
* @return false|string
*/
public function getInclude($template, array $variables)
diff --git a/app/code/core/Mage/Sales/Model/Entity/Quote/Address.php b/app/code/core/Mage/Sales/Model/Entity/Quote/Address.php
index d2ed099421a..19b4117dced 100644
--- a/app/code/core/Mage/Sales/Model/Entity/Quote/Address.php
+++ b/app/code/core/Mage/Sales/Model/Entity/Quote/Address.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -31,7 +31,6 @@ public function __construct()
}
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function collectTotals(Mage_Sales_Model_Quote_Address $address)
@@ -47,7 +46,6 @@ public function collectTotals(Mage_Sales_Model_Quote_Address $address)
}
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetchTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Backend.php b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Backend.php
index 74a9b05846d..3d9251db0fb 100644
--- a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Backend.php
+++ b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Backend.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Sales_Model_Entity_Quote_Address_Attribute_Backend extends Mage_Eav_Model_Entity_Attribute_Backend_Abstract
{
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function collectTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend.php b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend.php
index 4d95cb2c1b9..3a08d384dcb 100644
--- a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend.php
+++ b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Sales_Model_Entity_Quote_Address_Attribute_Frontend extends Mage_Eav_Model_Entity_Attribute_Frontend_Abstract
{
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
public function fetchTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Custbalance.php b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Custbalance.php
index 0e26a162f96..63f4c0f0aab 100644
--- a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Custbalance.php
+++ b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Custbalance.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Sales_Model_Entity_Quote_Address_Attribute_Frontend_Custbalance extends Mage_Sales_Model_Entity_Quote_Address_Attribute_Frontend
{
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetchTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Discount.php b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Discount.php
index ab561ea44f5..9b5f66f3bb9 100644
--- a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Discount.php
+++ b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Discount.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Sales_Model_Entity_Quote_Address_Attribute_Frontend_Discount extends Mage_Sales_Model_Entity_Quote_Address_Attribute_Frontend
{
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetchTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Grand.php b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Grand.php
index a52f4851274..66ebbd4e4f9 100644
--- a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Grand.php
+++ b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Grand.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Sales_Model_Entity_Quote_Address_Attribute_Frontend_Grand extends Mage_Sales_Model_Entity_Quote_Address_Attribute_Frontend
{
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetchTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Shipping.php b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Shipping.php
index a01adfee018..b975b5e9aaf 100644
--- a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Shipping.php
+++ b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Shipping.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Sales_Model_Entity_Quote_Address_Attribute_Frontend_Shipping extends Mage_Sales_Model_Entity_Quote_Address_Attribute_Frontend
{
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetchTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Subtotal.php b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Subtotal.php
index c20a76a537e..1f7c83965a4 100644
--- a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Subtotal.php
+++ b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Subtotal.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Sales_Model_Entity_Quote_Address_Attribute_Frontend_Subtotal extends Mage_Sales_Model_Entity_Quote_Address_Attribute_Frontend
{
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetchTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Tax.php b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Tax.php
index f066b1891f7..891b7a144d4 100644
--- a/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Tax.php
+++ b/app/code/core/Mage/Sales/Model/Entity/Quote/Address/Attribute/Frontend/Tax.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Sales_Model_Entity_Quote_Address_Attribute_Frontend_Tax extends Mage_Sales_Model_Entity_Quote_Address_Attribute_Frontend
{
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetchTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Entity/Sale/Collection.php b/app/code/core/Mage/Sales/Model/Entity/Sale/Collection.php
index 0cbf9838518..812d79fe36a 100644
--- a/app/code/core/Mage/Sales/Model/Entity/Sale/Collection.php
+++ b/app/code/core/Mage/Sales/Model/Entity/Sale/Collection.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -56,7 +56,6 @@ public function __construct()
}
/**
- * @param Mage_Customer_Model_Customer $customer
* @return $this
*/
public function setCustomerFilter(Mage_Customer_Model_Customer $customer)
diff --git a/app/code/core/Mage/Sales/Model/Observer.php b/app/code/core/Mage/Sales/Model/Observer.php
index 225f7fbef57..addc69fd134 100644
--- a/app/code/core/Mage/Sales/Model/Observer.php
+++ b/app/code/core/Mage/Sales/Model/Observer.php
@@ -75,7 +75,6 @@ public function getExpireQuotesAdditionalFilterFields()
/**
* Set expire quotes additional fields to filter
*
- * @param array $fields
* @return $this
*/
public function setExpireQuotesAdditionalFilterFields(array $fields)
@@ -88,7 +87,6 @@ public function setExpireQuotesAdditionalFilterFields(array $fields)
* When deleting product, subtract it from all quotes quantities
*
* @throws Exception
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function substractQtyFromQuotes(Varien_Event_Observer $observer)
@@ -102,7 +100,6 @@ public function substractQtyFromQuotes(Varien_Event_Observer $observer)
/**
* When applying a catalog price rule, make related quotes recollect on demand
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function markQuotesRecollectOnCatalogRules(Varien_Event_Observer $observer)
@@ -132,7 +129,6 @@ public function markQuotesRecollectOnCatalogRules(Varien_Event_Observer $observe
/**
* Catalog Product After Save (change status process)
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductSaveAfter(Varien_Event_Observer $observer)
@@ -151,7 +147,6 @@ public function catalogProductSaveAfter(Varien_Event_Observer $observer)
/**
* Catalog Mass Status update process
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogProductStatusUpdate(Varien_Event_Observer $observer)
@@ -298,7 +293,6 @@ public function restrictAdminBillingAgreementUsage($observer)
/**
* Set new customer group to all his quotes
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function customerSaveAfter(Varien_Event_Observer $observer)
@@ -335,8 +329,6 @@ public function customerSaveAfter(Varien_Event_Observer $observer)
/**
* Set Quote information about MSRP price enabled
- *
- * @param Varien_Event_Observer $observer
*/
public function setQuoteCanApplyMsrp(Varien_Event_Observer $observer)
{
@@ -358,8 +350,6 @@ public function setQuoteCanApplyMsrp(Varien_Event_Observer $observer)
/**
* Add VAT validation request date and identifier to order comments
- *
- * @param Varien_Event_Observer $observer
*/
public function addVatRequestParamsOrderComment(Varien_Event_Observer $observer)
{
@@ -407,7 +397,6 @@ protected function _getVatRequiredSalesAddress($salesModel, $store = null)
/**
* Retrieve customer address (default billing or default shipping) ID on which tax calculation must be based
*
- * @param Mage_Customer_Model_Customer $customer
* @param Mage_Core_Model_Store|string|int|null $store
* @return int|string
*/
@@ -427,8 +416,6 @@ protected function _getVatRequiredCustomerAddress(Mage_Customer_Model_Customer $
/**
* Handle customer VAT number if needed on collect_totals_before event of quote address
- *
- * @param Varien_Event_Observer $observer
*/
public function changeQuoteCustomerGroupId(Varien_Event_Observer $observer)
{
diff --git a/app/code/core/Mage/Sales/Model/Order.php b/app/code/core/Mage/Sales/Model/Order.php
index 00ce8b4c3c4..7e9ceac1745 100644
--- a/app/code/core/Mage/Sales/Model/Order.php
+++ b/app/code/core/Mage/Sales/Model/Order.php
@@ -999,7 +999,6 @@ public function getPayment()
/**
* Declare order billing address
*
- * @param Mage_Sales_Model_Order_Address $address
* @return $this
*/
public function setBillingAddress(Mage_Sales_Model_Order_Address $address)
@@ -1015,7 +1014,6 @@ public function setBillingAddress(Mage_Sales_Model_Order_Address $address)
/**
* Declare order shipping address
*
- * @param Mage_Sales_Model_Order_Address $address
* @return $this
*/
public function setShippingAddress(Mage_Sales_Model_Order_Address $address)
@@ -1636,7 +1634,6 @@ public function getAddressById($addressId)
}
/**
- * @param Mage_Sales_Model_Order_Address $address
* @return $this
* @throws Exception
*/
@@ -1791,7 +1788,6 @@ public function getItemByQuoteItemId($quoteItemId)
}
/**
- * @param Mage_Sales_Model_Order_Item $item
* @return $this
* @throws Exception
*/
@@ -1868,7 +1864,6 @@ public function getPaymentById($paymentId)
}
/**
- * @param Mage_Sales_Model_Order_Payment $payment
* @return $this
* @throws Exception
*/
@@ -1883,7 +1878,6 @@ public function addPayment(Mage_Sales_Model_Order_Payment $payment)
}
/**
- * @param Mage_Sales_Model_Order_Payment $payment
* @return Mage_Sales_Model_Order_Payment
*/
public function setPayment(Mage_Sales_Model_Order_Payment $payment)
@@ -1970,7 +1964,6 @@ public function getStatusHistoryById($statusId)
* See the entity_id attribute backend model.
* Or the history record can be saved standalone after this.
*
- * @param Mage_Sales_Model_Order_Status_History $history
* @return $this
*/
public function addStatusHistory(Mage_Sales_Model_Order_Status_History $history)
@@ -2290,7 +2283,6 @@ public function getCustomerName()
/**
* Add New object to related array
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
public function addRelatedObject(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Sales/Model/Order/Address.php b/app/code/core/Mage/Sales/Model/Order/Address.php
index 158424c1c53..a6e68c240ba 100644
--- a/app/code/core/Mage/Sales/Model/Order/Address.php
+++ b/app/code/core/Mage/Sales/Model/Order/Address.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -106,7 +106,6 @@ protected function _initOldFieldsMap()
/**
* Set order
*
- * @param Mage_Sales_Model_Order $order
* @return $this
*/
public function setOrder(Mage_Sales_Model_Order $order)
diff --git a/app/code/core/Mage/Sales/Model/Order/Creditmemo.php b/app/code/core/Mage/Sales/Model/Order/Creditmemo.php
index 8a86cc72ed0..8a3acb46e26 100644
--- a/app/code/core/Mage/Sales/Model/Order/Creditmemo.php
+++ b/app/code/core/Mage/Sales/Model/Order/Creditmemo.php
@@ -239,7 +239,6 @@ public function getStore()
/**
* Declare order for creditmemo
*
- * @param Mage_Sales_Model_Order $order
* @return $this
*/
public function setOrder(Mage_Sales_Model_Order $order)
@@ -346,7 +345,6 @@ public function getItemByOrderId($orderId)
}
/**
- * @param Mage_Sales_Model_Order_Creditmemo_Item $item
* @return $this
* @throws Exception
*/
diff --git a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Comment.php b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Comment.php
index 7703ff88deb..868ef35afba 100644
--- a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Comment.php
+++ b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Comment.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -48,7 +48,6 @@ protected function _construct()
/**
* Declare Creditmemo instance
*
- * @param Mage_Sales_Model_Order_Creditmemo $creditmemo
* @return Mage_Sales_Model_Order_Creditmemo_Comment
*/
public function setCreditmemo(Mage_Sales_Model_Order_Creditmemo $creditmemo)
diff --git a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Item.php b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Item.php
index 88177437351..a1637f91bd0 100644
--- a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Item.php
+++ b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Item.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -119,7 +119,6 @@ public function _construct()
/**
* Declare creditmemo instance
*
- * @param Mage_Sales_Model_Order_Creditmemo $creditmemo
* @return $this
*/
public function setCreditmemo(Mage_Sales_Model_Order_Creditmemo $creditmemo)
@@ -156,7 +155,6 @@ public function getCreditmemo()
/**
* Declare order item instance
*
- * @param Mage_Sales_Model_Order_Item $item
* @return $this
*/
public function setOrderItem(Mage_Sales_Model_Order_Item $item)
diff --git a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Abstract.php b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Abstract.php
index aa48ed60641..95bd343779a 100644
--- a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Abstract.php
+++ b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ abstract class Mage_Sales_Model_Order_Creditmemo_Total_Abstract extends Mage_Sal
/**
* Collect credit memo subtotal
*
- * @param Mage_Sales_Model_Order_Creditmemo $creditmemo
* @return Mage_Sales_Model_Order_Creditmemo_Total_Abstract
*/
public function collect(Mage_Sales_Model_Order_Creditmemo $creditmemo)
diff --git a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Cost.php b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Cost.php
index 9b54018103d..c456b43f5ae 100644
--- a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Cost.php
+++ b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Cost.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -22,7 +22,6 @@ class Mage_Sales_Model_Order_Creditmemo_Total_Cost extends Mage_Sales_Model_Orde
/**
* Collect total cost of refunded items
*
- * @param Mage_Sales_Model_Order_Creditmemo $creditmemo
* @return $this
*/
public function collect(Mage_Sales_Model_Order_Creditmemo $creditmemo)
diff --git a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Discount.php b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Discount.php
index 07a280115d3..77d94a6b95f 100644
--- a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Discount.php
+++ b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Discount.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Sales_Model_Order_Creditmemo_Total_Discount extends Mage_Sales_Model_Order_Creditmemo_Total_Abstract
{
/**
- * @param Mage_Sales_Model_Order_Creditmemo $creditmemo
* @return $this
*/
public function collect(Mage_Sales_Model_Order_Creditmemo $creditmemo)
diff --git a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Grand.php b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Grand.php
index 278bf66b38f..6d71f737686 100644
--- a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Grand.php
+++ b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Grand.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Sales_Model_Order_Creditmemo_Total_Grand extends Mage_Sales_Model_Order_Creditmemo_Total_Abstract
{
/**
- * @param Mage_Sales_Model_Order_Creditmemo $creditmemo
* @return $this
*/
public function collect(Mage_Sales_Model_Order_Creditmemo $creditmemo)
diff --git a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Shipping.php b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Shipping.php
index 91e37aa0d97..c9fe8021c49 100644
--- a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Shipping.php
+++ b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Shipping.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -22,7 +22,6 @@
class Mage_Sales_Model_Order_Creditmemo_Total_Shipping extends Mage_Sales_Model_Order_Creditmemo_Total_Abstract
{
/**
- * @param Mage_Sales_Model_Order_Creditmemo $creditmemo
* @return $this
* @throws Mage_Core_Exception
* @throws Mage_Core_Model_Store_Exception
diff --git a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Subtotal.php b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Subtotal.php
index b135354df2a..cc795a12a7c 100644
--- a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Subtotal.php
+++ b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Subtotal.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -22,7 +22,6 @@ class Mage_Sales_Model_Order_Creditmemo_Total_Subtotal extends Mage_Sales_Model_
/**
* Collect Creditmemo subtotal
*
- * @param Mage_Sales_Model_Order_Creditmemo $creditmemo
* @return Mage_Sales_Model_Order_Creditmemo_Total_Subtotal
*/
public function collect(Mage_Sales_Model_Order_Creditmemo $creditmemo)
diff --git a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Tax.php b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Tax.php
index 47d048693ed..4e9a83e7be0 100644
--- a/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Tax.php
+++ b/app/code/core/Mage/Sales/Model/Order/Creditmemo/Total/Tax.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2018-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Sales_Model_Order_Creditmemo_Total_Tax extends Mage_Sales_Model_Order
/**
* Collects the total tax for the credit memo
*
- * @param Mage_Sales_Model_Order_Creditmemo $creditmemo
* @return $this
*/
public function collect(Mage_Sales_Model_Order_Creditmemo $creditmemo)
diff --git a/app/code/core/Mage/Sales/Model/Order/Invoice.php b/app/code/core/Mage/Sales/Model/Order/Invoice.php
index e5cbb677a3f..925d9e7f749 100644
--- a/app/code/core/Mage/Sales/Model/Order/Invoice.php
+++ b/app/code/core/Mage/Sales/Model/Order/Invoice.php
@@ -253,7 +253,6 @@ public function getStore()
/**
* Declare order for invoice
*
- * @param Mage_Sales_Model_Order $order
* @return $this
*/
public function setOrder(Mage_Sales_Model_Order $order)
@@ -576,7 +575,6 @@ public function getItemById($itemId)
}
/**
- * @param Mage_Sales_Model_Order_Invoice_Item $item
* @return $this
* @throws Exception
*/
diff --git a/app/code/core/Mage/Sales/Model/Order/Invoice/Comment.php b/app/code/core/Mage/Sales/Model/Order/Invoice/Comment.php
index 89cabd945f4..7cb47afd0d9 100644
--- a/app/code/core/Mage/Sales/Model/Order/Invoice/Comment.php
+++ b/app/code/core/Mage/Sales/Model/Order/Invoice/Comment.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -48,7 +48,6 @@ protected function _construct()
/**
* Declare invoice instance
*
- * @param Mage_Sales_Model_Order_Invoice $invoice
* @return Mage_Sales_Model_Order_Invoice_Comment
*/
public function setInvoice(Mage_Sales_Model_Order_Invoice $invoice)
diff --git a/app/code/core/Mage/Sales/Model/Order/Invoice/Item.php b/app/code/core/Mage/Sales/Model/Order/Invoice/Item.php
index 40edec8c483..f0de5264d06 100644
--- a/app/code/core/Mage/Sales/Model/Order/Invoice/Item.php
+++ b/app/code/core/Mage/Sales/Model/Order/Invoice/Item.php
@@ -121,7 +121,6 @@ protected function _initOldFieldsMap()
/**
* Declare invoice instance
*
- * @param Mage_Sales_Model_Order_Invoice $invoice
* @return $this
*/
public function setInvoice(Mage_Sales_Model_Order_Invoice $invoice)
@@ -143,7 +142,6 @@ public function getInvoice()
/**
* Declare order item instance
*
- * @param Mage_Sales_Model_Order_Item $item
* @return $this
*/
public function setOrderItem(Mage_Sales_Model_Order_Item $item)
diff --git a/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Abstract.php b/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Abstract.php
index 085ce4aa5f9..d3ce24a02f7 100644
--- a/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Abstract.php
+++ b/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ abstract class Mage_Sales_Model_Order_Invoice_Total_Abstract extends Mage_Sales_
/**
* Collect invoice subtotal
*
- * @param Mage_Sales_Model_Order_Invoice $invoice
* @return Mage_Sales_Model_Order_Invoice_Total_Abstract
*/
public function collect(Mage_Sales_Model_Order_Invoice $invoice)
diff --git a/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Cost.php b/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Cost.php
index ca509380b33..c85b3a77a0f 100644
--- a/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Cost.php
+++ b/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Cost.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -22,7 +22,6 @@ class Mage_Sales_Model_Order_Invoice_Total_Cost extends Mage_Sales_Model_Order_I
/**
* Collect total cost of invoiced items
*
- * @param Mage_Sales_Model_Order_Invoice $invoice
* @return $this
*/
public function collect(Mage_Sales_Model_Order_Invoice $invoice)
diff --git a/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Discount.php b/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Discount.php
index a6fab35b36e..217a3faa7c4 100644
--- a/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Discount.php
+++ b/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Discount.php
@@ -20,7 +20,6 @@
class Mage_Sales_Model_Order_Invoice_Total_Discount extends Mage_Sales_Model_Order_Invoice_Total_Abstract
{
/**
- * @param Mage_Sales_Model_Order_Invoice $invoice
* @return $this
*/
public function collect(Mage_Sales_Model_Order_Invoice $invoice)
diff --git a/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Grand.php b/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Grand.php
index 56f62f37736..c752338a501 100644
--- a/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Grand.php
+++ b/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Grand.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Sales_Model_Order_Invoice_Total_Grand extends Mage_Sales_Model_Order_Invoice_Total_Abstract
{
/**
- * @param Mage_Sales_Model_Order_Invoice $invoice
* @return $this
*/
public function collect(Mage_Sales_Model_Order_Invoice $invoice)
diff --git a/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Shipping.php b/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Shipping.php
index 75ecfc63d7a..084d4c3d8cb 100644
--- a/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Shipping.php
+++ b/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Shipping.php
@@ -22,7 +22,6 @@
class Mage_Sales_Model_Order_Invoice_Total_Shipping extends Mage_Sales_Model_Order_Invoice_Total_Abstract
{
/**
- * @param Mage_Sales_Model_Order_Invoice $invoice
* @return $this
*/
public function collect(Mage_Sales_Model_Order_Invoice $invoice)
diff --git a/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Subtotal.php b/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Subtotal.php
index 415a7702915..705092866c0 100644
--- a/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Subtotal.php
+++ b/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Subtotal.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -22,7 +22,6 @@ class Mage_Sales_Model_Order_Invoice_Total_Subtotal extends Mage_Sales_Model_Ord
/**
* Collect invoice subtotal
*
- * @param Mage_Sales_Model_Order_Invoice $invoice
* @return Mage_Sales_Model_Order_Invoice_Total_Subtotal
*/
public function collect(Mage_Sales_Model_Order_Invoice $invoice)
diff --git a/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Tax.php b/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Tax.php
index fc940b65341..9b1ec9d345f 100644
--- a/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Tax.php
+++ b/app/code/core/Mage/Sales/Model/Order/Invoice/Total/Tax.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2017-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Sales_Model_Order_Invoice_Total_Tax extends Mage_Sales_Model_Order_In
/**
* Collect invoice tax amount
*
- * @param Mage_Sales_Model_Order_Invoice $invoice
* @return $this
*/
public function collect(Mage_Sales_Model_Order_Invoice $invoice)
diff --git a/app/code/core/Mage/Sales/Model/Order/Item.php b/app/code/core/Mage/Sales/Model/Order/Item.php
index c55c7a80917..64c474a2262 100644
--- a/app/code/core/Mage/Sales/Model/Order/Item.php
+++ b/app/code/core/Mage/Sales/Model/Order/Item.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -425,7 +425,6 @@ public function getQtyToCancelBundleItem()
/**
* Declare order
*
- * @param Mage_Sales_Model_Order $order
* @return $this
*/
public function setOrder(Mage_Sales_Model_Order $order)
@@ -602,7 +601,6 @@ public function getOriginalPrice()
/**
* Set product options
*
- * @param array $options
* @return $this
*/
public function setProductOptions(array $options)
diff --git a/app/code/core/Mage/Sales/Model/Order/Payment.php b/app/code/core/Mage/Sales/Model/Order/Payment.php
index 72634619073..dadc3bd1a8d 100644
--- a/app/code/core/Mage/Sales/Model/Order/Payment.php
+++ b/app/code/core/Mage/Sales/Model/Order/Payment.php
@@ -263,7 +263,6 @@ protected function _construct()
/**
* Declare order model object
*
- * @param Mage_Sales_Model_Order $order
* @return $this
*/
public function setOrder(Mage_Sales_Model_Order $order)
@@ -650,7 +649,6 @@ protected function _invoice()
/**
* Check order payment void availability
*
- * @param Varien_Object $document
* @return bool
* @throws Mage_Core_Exception
*/
@@ -670,7 +668,6 @@ public function canVoid(Varien_Object $document)
* Void payment online
*
* @see self::_void()
- * @param Varien_Object $document
* @return $this
*/
public function void(Varien_Object $document)
@@ -1343,7 +1340,6 @@ public function addTransaction($type, $salesDocument = null, $failsafe = false,
/**
* Import details data of specified transaction
*
- * @param Mage_Sales_Model_Order_Payment_Transaction $transactionTo
* @return $this
*/
public function importTransactionInfo(Mage_Sales_Model_Order_Payment_Transaction $transactionTo)
diff --git a/app/code/core/Mage/Sales/Model/Order/Payment/Transaction.php b/app/code/core/Mage/Sales/Model/Order/Payment/Transaction.php
index 648fbf16cf0..b519f525eaa 100644
--- a/app/code/core/Mage/Sales/Model/Order/Payment/Transaction.php
+++ b/app/code/core/Mage/Sales/Model/Order/Payment/Transaction.php
@@ -135,7 +135,6 @@ protected function _construct()
/**
* Payment instance setter
- * @param Mage_Sales_Model_Order_Payment $payment
* @return $this
*/
public function setOrderPaymentObject(Mage_Sales_Model_Order_Payment $payment)
diff --git a/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php b/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php
index aa9604b6769..b1a8efd37ec 100644
--- a/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php
+++ b/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php
@@ -103,7 +103,6 @@ public function widthForStringUsingFontSize($string, $font, $fontSize)
* @param string $string
* @param int $x
* @param int $columnWidth
- * @param Zend_Pdf_Resource_Font $font
* @param int $fontSize
* @param int $padding
* @return int
@@ -120,7 +119,6 @@ public function getAlignRight($string, $x, $columnWidth, Zend_Pdf_Resource_Font
* @param string $string
* @param int $x
* @param int $columnWidth
- * @param Zend_Pdf_Resource_Font $font
* @param int $fontSize
* @return int
*/
@@ -499,7 +497,6 @@ protected function insertOrder(&$page, $obj, $putOrderId = true)
/**
* Insert title and number for concrete document type
*
- * @param Zend_Pdf_Page $page
* @param string $text
*/
public function insertDocumentNumber(Zend_Pdf_Page $page, $text)
@@ -727,9 +724,6 @@ public function getRenderer($type)
/**
* Render item
*
- * @param Varien_Object $item
- * @param Zend_Pdf_Page $page
- * @param Mage_Sales_Model_Order $order
* @param Mage_Sales_Model_Order_Pdf_Items_Abstract $renderer
*
* @return Mage_Sales_Model_Order_Pdf_Abstract
@@ -749,9 +743,6 @@ public function renderItem(Varien_Object $item, Zend_Pdf_Page $page, Mage_Sales_
/**
* Draw Item process
*
- * @param Varien_Object $item
- * @param Zend_Pdf_Page $page
- * @param Mage_Sales_Model_Order $order
* @return Zend_Pdf_Page
*/
protected function _drawItem(Varien_Object $item, Zend_Pdf_Page $page, Mage_Sales_Model_Order $order)
@@ -823,7 +814,6 @@ protected function _setFontItalic($object, $size = 7)
/**
* Set PDF object
*
- * @param Zend_Pdf $pdf
* @return Mage_Sales_Model_Order_Pdf_Abstract
*/
protected function _setPdf(Zend_Pdf $pdf)
@@ -850,7 +840,6 @@ protected function _getPdf()
/**
* Create new page and assign to PDF object
*
- * @param array $settings
* @return Zend_Pdf_Page
*/
public function newPage(array $settings = [])
@@ -882,9 +871,6 @@ public function newPage(array $settings = [])
* align string; text align (also see feed parameter), optional left, right
* height int;line spacing (default 10)
*
- * @param Zend_Pdf_Page $page
- * @param array $draw
- * @param array $pageSettings
* @throws Mage_Core_Exception
* @return Zend_Pdf_Page
*/
diff --git a/app/code/core/Mage/Sales/Model/Order/Pdf/Creditmemo.php b/app/code/core/Mage/Sales/Model/Order/Pdf/Creditmemo.php
index fb455873c23..f89eb31ea47 100644
--- a/app/code/core/Mage/Sales/Model/Order/Pdf/Creditmemo.php
+++ b/app/code/core/Mage/Sales/Model/Order/Pdf/Creditmemo.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,8 +23,6 @@ class Mage_Sales_Model_Order_Pdf_Creditmemo extends Mage_Sales_Model_Order_Pdf_A
{
/**
* Draw table header for product items
- *
- * @param Zend_Pdf_Page $page
*/
protected function _drawHeader(Zend_Pdf_Page $page)
{
@@ -154,7 +152,6 @@ public function getPdf($creditmemos = [])
/**
* Create new page and assign to PDF object
*
- * @param array $settings
* @return Zend_Pdf_Page
*/
public function newPage(array $settings = [])
diff --git a/app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php b/app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php
index b0064fe7be8..09be554bfa7 100644
--- a/app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php
+++ b/app/code/core/Mage/Sales/Model/Order/Pdf/Invoice.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,8 +23,6 @@ class Mage_Sales_Model_Order_Pdf_Invoice extends Mage_Sales_Model_Order_Pdf_Abst
{
/**
* Draw header for item table
- *
- * @param Zend_Pdf_Page $page
*/
protected function _drawHeader(Zend_Pdf_Page $page)
{
@@ -145,7 +143,6 @@ public function getPdf($invoices = [])
/**
* Create new page and assign to PDF object
*
- * @param array $settings
* @return Zend_Pdf_Page
*/
public function newPage(array $settings = [])
diff --git a/app/code/core/Mage/Sales/Model/Order/Pdf/Items/Abstract.php b/app/code/core/Mage/Sales/Model/Order/Pdf/Items/Abstract.php
index 6092fcc3e2d..1008d55c15e 100644
--- a/app/code/core/Mage/Sales/Model/Order/Pdf/Items/Abstract.php
+++ b/app/code/core/Mage/Sales/Model/Order/Pdf/Items/Abstract.php
@@ -59,7 +59,6 @@ abstract class Mage_Sales_Model_Order_Pdf_Items_Abstract extends Mage_Core_Model
/**
* Set order model
*
- * @param Mage_Sales_Model_Order $order
* @return Mage_Sales_Model_Order_Pdf_Items_Abstract
*/
public function setOrder(Mage_Sales_Model_Order $order)
@@ -71,7 +70,6 @@ public function setOrder(Mage_Sales_Model_Order $order)
/**
* Set Source model
*
- * @param Mage_Core_Model_Abstract $source
* @return Mage_Sales_Model_Order_Pdf_Items_Abstract
*/
public function setSource(Mage_Core_Model_Abstract $source)
@@ -83,7 +81,6 @@ public function setSource(Mage_Core_Model_Abstract $source)
/**
* Set item object
*
- * @param Varien_Object $item
* @return Mage_Sales_Model_Order_Pdf_Items_Abstract
*/
public function setItem(Varien_Object $item)
@@ -95,7 +92,6 @@ public function setItem(Varien_Object $item)
/**
* Set Pdf model
*
- * @param Mage_Sales_Model_Order_Pdf_Abstract $pdf
* @return Mage_Sales_Model_Order_Pdf_Items_Abstract
*/
public function setPdf(Mage_Sales_Model_Order_Pdf_Abstract $pdf)
@@ -107,7 +103,6 @@ public function setPdf(Mage_Sales_Model_Order_Pdf_Abstract $pdf)
/**
* Set current page
*
- * @param Zend_Pdf_Page $page
* @return Mage_Sales_Model_Order_Pdf_Items_Abstract
*/
public function setPage(Zend_Pdf_Page $page)
diff --git a/app/code/core/Mage/Sales/Model/Order/Pdf/Shipment.php b/app/code/core/Mage/Sales/Model/Order/Pdf/Shipment.php
index f304773b7c8..aaa19eecd1e 100644
--- a/app/code/core/Mage/Sales/Model/Order/Pdf/Shipment.php
+++ b/app/code/core/Mage/Sales/Model/Order/Pdf/Shipment.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,8 +23,6 @@ class Mage_Sales_Model_Order_Pdf_Shipment extends Mage_Sales_Model_Order_Pdf_Abs
{
/**
* Draw table header for product items
- *
- * @param Zend_Pdf_Page $page
*/
protected function _drawHeader(Zend_Pdf_Page $page)
{
@@ -123,7 +121,6 @@ public function getPdf($shipments = [])
/**
* Create new page and assign to PDF object
*
- * @param array $settings
* @return Zend_Pdf_Page
*/
public function newPage(array $settings = [])
diff --git a/app/code/core/Mage/Sales/Model/Order/Pdf/Shipment/Packaging.php b/app/code/core/Mage/Sales/Model/Order/Pdf/Shipment/Packaging.php
index c25eed78172..18ae9c789da 100644
--- a/app/code/core/Mage/Sales/Model/Order/Pdf/Shipment/Packaging.php
+++ b/app/code/core/Mage/Sales/Model/Order/Pdf/Shipment/Packaging.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -58,7 +58,6 @@ public function getPdf($shipment = null)
/**
* Draw header block
*
- * @param Zend_Pdf_Page $page
* @return $this
*/
protected function _drawHeaderBlock(Zend_Pdf_Page $page)
@@ -77,7 +76,6 @@ protected function _drawHeaderBlock(Zend_Pdf_Page $page)
/**
* Draw packages block
*
- * @param Zend_Pdf_Page $page
* @return $this
*/
protected function _drawPackageBlock(Zend_Pdf_Page $page)
diff --git a/app/code/core/Mage/Sales/Model/Order/Shipment.php b/app/code/core/Mage/Sales/Model/Order/Shipment.php
index 7b44c18a9ad..4eaa3353c9d 100644
--- a/app/code/core/Mage/Sales/Model/Order/Shipment.php
+++ b/app/code/core/Mage/Sales/Model/Order/Shipment.php
@@ -140,7 +140,6 @@ public function loadByIncrementId($incrementId)
/**
* Declare order for shipment
*
- * @param Mage_Sales_Model_Order $order
* @return $this
*/
public function setOrder(Mage_Sales_Model_Order $order)
@@ -273,7 +272,6 @@ public function getItemById($itemId)
}
/**
- * @param Mage_Sales_Model_Order_Shipment_Item $item
* @return $this
* @throws Exception
*/
@@ -335,7 +333,6 @@ public function getTrackById($trackId)
}
/**
- * @param Mage_Sales_Model_Order_Shipment_Track $track
* @return $this
* @throws Exception
*/
diff --git a/app/code/core/Mage/Sales/Model/Order/Shipment/Comment.php b/app/code/core/Mage/Sales/Model/Order/Shipment/Comment.php
index 3e813a0ac27..4bf24ecec67 100644
--- a/app/code/core/Mage/Sales/Model/Order/Shipment/Comment.php
+++ b/app/code/core/Mage/Sales/Model/Order/Shipment/Comment.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -51,7 +51,6 @@ protected function _construct()
/**
* Declare Shipment instance
*
- * @param Mage_Sales_Model_Order_Shipment $shipment
* @return $this
*/
public function setShipment(Mage_Sales_Model_Order_Shipment $shipment)
diff --git a/app/code/core/Mage/Sales/Model/Order/Shipment/Item.php b/app/code/core/Mage/Sales/Model/Order/Shipment/Item.php
index b1855c009a4..496e27a12aa 100644
--- a/app/code/core/Mage/Sales/Model/Order/Shipment/Item.php
+++ b/app/code/core/Mage/Sales/Model/Order/Shipment/Item.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -61,7 +61,6 @@ public function _construct()
/**
* Declare Shipment instance
*
- * @param Mage_Sales_Model_Order_Shipment $shipment
* @return $this
*/
public function setShipment(Mage_Sales_Model_Order_Shipment $shipment)
@@ -83,7 +82,6 @@ public function getShipment()
/**
* Declare order item instance
*
- * @param Mage_Sales_Model_Order_Item $item
* @return $this
*/
public function setOrderItem(Mage_Sales_Model_Order_Item $item)
diff --git a/app/code/core/Mage/Sales/Model/Order/Shipment/Track.php b/app/code/core/Mage/Sales/Model/Order/Shipment/Track.php
index 036a59d7bc2..5836a067589 100644
--- a/app/code/core/Mage/Sales/Model/Order/Shipment/Track.php
+++ b/app/code/core/Mage/Sales/Model/Order/Shipment/Track.php
@@ -86,7 +86,6 @@ public function getNumber()
/**
* Declare Shipment instance
*
- * @param Mage_Sales_Model_Order_Shipment $shipment
* @return $this
*/
public function setShipment(Mage_Sales_Model_Order_Shipment $shipment)
diff --git a/app/code/core/Mage/Sales/Model/Order/Status/History.php b/app/code/core/Mage/Sales/Model/Order/Status/History.php
index 64421952693..09888e6de70 100644
--- a/app/code/core/Mage/Sales/Model/Order/Status/History.php
+++ b/app/code/core/Mage/Sales/Model/Order/Status/History.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -63,7 +63,6 @@ protected function _construct()
/**
* Set order object
*
- * @param Mage_Sales_Model_Order $order
* @return $this
*/
public function setOrder(Mage_Sales_Model_Order $order)
diff --git a/app/code/core/Mage/Sales/Model/Quote.php b/app/code/core/Mage/Sales/Model/Quote.php
index 1ae3f4ea6e4..aae237101c1 100644
--- a/app/code/core/Mage/Sales/Model/Quote.php
+++ b/app/code/core/Mage/Sales/Model/Quote.php
@@ -277,7 +277,6 @@ public function getStore()
/**
* Declare quote store model
*
- * @param Mage_Core_Model_Store $store
* @return $this
*/
public function setStore(Mage_Core_Model_Store $store)
@@ -439,7 +438,6 @@ public function loadByIdWithoutStore($quoteId)
/**
* Assign customer model object data to quote
*
- * @param Mage_Customer_Model_Customer $customer
* @return $this
*/
public function assignCustomer(Mage_Customer_Model_Customer $customer)
@@ -450,9 +448,6 @@ public function assignCustomer(Mage_Customer_Model_Customer $customer)
/**
* Assign customer model to quote with billing and shipping address change
*
- * @param Mage_Customer_Model_Customer $customer
- * @param Mage_Sales_Model_Quote_Address|null $billingAddress
- * @param Mage_Sales_Model_Quote_Address|null $shippingAddress
* @return $this
* @throws Mage_Core_Exception
*/
@@ -493,7 +488,6 @@ public function assignCustomerWithAddressChange(
/**
* Define customer object
*
- * @param Mage_Customer_Model_Customer $customer
* @return $this
*/
public function setCustomer(Mage_Customer_Model_Customer $customer)
@@ -743,7 +737,6 @@ public function removeAllAddresses()
}
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
* @throws Mage_Core_Exception
*/
@@ -757,7 +750,6 @@ public function addAddress(Mage_Sales_Model_Quote_Address $address)
}
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function setBillingAddress(Mage_Sales_Model_Quote_Address $address)
@@ -773,7 +765,6 @@ public function setBillingAddress(Mage_Sales_Model_Quote_Address $address)
}
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function setShippingAddress(Mage_Sales_Model_Quote_Address $address)
@@ -793,7 +784,6 @@ public function setShippingAddress(Mage_Sales_Model_Quote_Address $address)
}
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function addShippingAddress(Mage_Sales_Model_Quote_Address $address)
@@ -921,7 +911,6 @@ public function getItemById($itemId)
/**
* Delete quote item. If it does not have identifier then it will be only removed from collection
*
- * @param Mage_Sales_Model_Quote_Item $item
* @return $this
*/
public function deleteItem(Mage_Sales_Model_Quote_Item $item)
@@ -1002,7 +991,6 @@ public function removeAllItems()
/**
* Adding new item to quote
*
- * @param Mage_Sales_Model_Quote_Item $item
* @return $this
*/
public function addItem(Mage_Sales_Model_Quote_Item $item)
@@ -1033,7 +1021,6 @@ public function addItem(Mage_Sales_Model_Quote_Item $item)
* Advanced func to add product to quote - processing mode can be specified there.
* Returns error message if product type instance can't prepare product.
*
- * @param Mage_Catalog_Model_Product $product
* @param null|float|Varien_Object $request
* @param null|string $processMode
* @return Mage_Sales_Model_Quote_Item|string
@@ -1117,7 +1104,6 @@ public function addProductAdvanced(Mage_Catalog_Model_Product $product, $request
*
* return error message if product type instance can't prepare product
*
- * @param Mage_Catalog_Model_Product $product
* @param null|float|Varien_Object $request
* @return Mage_Sales_Model_Quote_Item|string
*/
@@ -1133,7 +1119,6 @@ public function addProduct(Mage_Catalog_Model_Product $product, $request = null)
/**
* Adding catalog product object data to quote
*
- * @param Mage_Catalog_Model_Product $product
* @param int $qty
* @return Mage_Sales_Model_Quote_Item
* @throws Mage_Core_Model_Store_Exception
@@ -1372,7 +1357,6 @@ public function getPaymentById($paymentId)
}
/**
- * @param Mage_Sales_Model_Quote_Payment $payment
* @return $this
* @throws Mage_Core_Exception
*/
@@ -1386,7 +1370,6 @@ public function addPayment(Mage_Sales_Model_Quote_Payment $payment)
}
/**
- * @param Mage_Sales_Model_Quote_Payment $payment
* @return Mage_Sales_Model_Quote_Payment
*/
public function setPayment(Mage_Sales_Model_Quote_Payment $payment)
@@ -1857,7 +1840,6 @@ public function hasVirtualItems()
/**
* Merge quotes
*
- * @param Mage_Sales_Model_Quote $quote
* @return $this
*/
public function merge(Mage_Sales_Model_Quote $quote)
@@ -2087,16 +2069,12 @@ public function save()
return parent::save();
}
- /**
- * @return string
- */
public function getCouponCode(): string
{
return (string)$this->_getData('coupon_code');
}
/**
- * @param string|null $couponCode
* @return $this
*/
public function setCouponCode(?string $couponCode)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address.php b/app/code/core/Mage/Sales/Model/Quote/Address.php
index 608e0436e3b..bd1522aa303 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address.php
@@ -408,7 +408,6 @@ protected function _afterSave()
/**
* Declare address quote model object
*
- * @param Mage_Sales_Model_Quote $quote
* @return $this
*/
public function setQuote(Mage_Sales_Model_Quote $quote)
@@ -436,7 +435,6 @@ public function getQuote()
/**
* Import quote address data from customer address object
*
- * @param Mage_Customer_Model_Address $address
* @return $this
*/
public function importCustomerAddress(Mage_Customer_Model_Address $address)
@@ -469,7 +467,6 @@ public function exportCustomerAddress()
/**
* Import address data from order address
*
- * @param Mage_Sales_Model_Order_Address $address
* @return $this
*/
public function importOrderAddress(Mage_Sales_Model_Order_Address $address)
@@ -487,7 +484,6 @@ public function importOrderAddress(Mage_Sales_Model_Order_Address $address)
/**
* Convert object to array
*
- * @param array $arrAttributes
* @return array
*/
public function toArray(array $arrAttributes = [])
@@ -761,7 +757,6 @@ public function removeItem($itemId)
/**
* Add item to address
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
* @param int $qty
* @return $this
*/
@@ -925,7 +920,6 @@ public function removeAllShippingRates()
/**
* Add shipping rate
*
- * @param Mage_Sales_Model_Quote_Address_Rate $rate
* @return $this
*/
public function addShippingRate(Mage_Sales_Model_Quote_Address_Rate $rate)
@@ -969,7 +963,6 @@ public function collectShippingRates()
* Request shipping rates for entire address or specified address item
* Returns true if current selected shipping method code corresponds to one of the found rates
*
- * @param Mage_Sales_Model_Quote_Item_Abstract|null $item
* @return bool
*/
public function requestShippingRates(?Mage_Sales_Model_Quote_Item_Abstract $item = null)
@@ -1341,9 +1334,6 @@ public function getSubtotalWithDiscount()
return $this->getSubtotal() + $this->getDiscountAmount();
}
- /**
- * @return string
- */
public function getCouponCode(): string
{
return (string)$this->_getData('coupon_code');
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address/Item.php b/app/code/core/Mage/Sales/Model/Quote/Address/Item.php
index 9cfe95a17eb..e156742d153 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address/Item.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address/Item.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -137,7 +137,6 @@ protected function _beforeSave()
/**
* Declare address model
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function setAddress(Mage_Sales_Model_Quote_Address $address)
@@ -170,7 +169,6 @@ public function getQuote()
/**
* Import item to quote
*
- * @param Mage_Sales_Model_Quote_Item $quoteItem
* @return $this
*/
public function importQuoteItem(Mage_Sales_Model_Quote_Item $quoteItem)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address/Rate.php b/app/code/core/Mage/Sales/Model/Quote/Address/Rate.php
index a076a09f7f0..832fe0661b1 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address/Rate.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address/Rate.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -67,7 +67,6 @@ protected function _beforeSave()
}
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function setAddress(Mage_Sales_Model_Quote_Address $address)
@@ -85,7 +84,6 @@ public function getAddress()
}
/**
- * @param Mage_Shipping_Model_Rate_Result_Abstract $rate
* @return $this
*/
public function importShippingRate(Mage_Shipping_Model_Rate_Result_Abstract $rate)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address/Total.php b/app/code/core/Mage/Sales/Model/Quote/Address/Total.php
index 53579cfeb45..cb8034bac33 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address/Total.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address/Total.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ class Mage_Sales_Model_Quote_Address_Total extends Varien_Object
/**
* Merge numeric total values
*
- * @param Mage_Sales_Model_Quote_Address_Total $total
* @return $this
*/
public function merge(Mage_Sales_Model_Quote_Address_Total $total)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Abstract.php b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Abstract.php
index a61546dad4f..fa8626505c7 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Abstract.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -82,7 +82,6 @@ public function getLabel()
/**
* Collect totals process.
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
@@ -99,7 +98,6 @@ public function collect(Mage_Sales_Model_Quote_Address $address)
/**
* Fetch (Retrieve data as array)
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
@@ -111,7 +109,6 @@ public function fetch(Mage_Sales_Model_Quote_Address $address)
/**
* Set address which can be used inside totals calculation
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_Sales_Model_Quote_Address_Total_Abstract
*/
protected function _setAddress(Mage_Sales_Model_Quote_Address $address)
@@ -195,7 +192,6 @@ protected function _addBaseAmount($baseAmount)
/**
* Get all items except nominals
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_Sales_Model_Quote_Address_Item[]
*/
protected function _getAddressItems(Mage_Sales_Model_Quote_Address $address)
@@ -206,7 +202,6 @@ protected function _getAddressItems(Mage_Sales_Model_Quote_Address $address)
/**
* Getter for row default total
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
* @return float
*/
public function getItemRowTotal(Mage_Sales_Model_Quote_Item_Abstract $item)
@@ -220,7 +215,6 @@ public function getItemRowTotal(Mage_Sales_Model_Quote_Item_Abstract $item)
/**
* Getter for row default base total
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
* @return float
*/
public function getItemBaseRowTotal(Mage_Sales_Model_Quote_Item_Abstract $item)
@@ -234,7 +228,6 @@ public function getItemBaseRowTotal(Mage_Sales_Model_Quote_Item_Abstract $item)
/**
* Whether the item row total may be compounded with others
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
* @return bool
*/
public function getIsItemRowTotalCompoundable(Mage_Sales_Model_Quote_Item_Abstract $item)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Custbalance.php b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Custbalance.php
index b0a84ea544b..70e76f041d4 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Custbalance.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Custbalance.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Sales_Model_Quote_Address_Total_Custbalance extends Mage_Sales_Model_Quote_Address_Total_Abstract
{
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Discount.php b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Discount.php
index 4ded052d203..e2805e2c224 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Discount.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Discount.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -22,7 +22,6 @@
class Mage_Sales_Model_Quote_Address_Total_Discount extends Mage_Sales_Model_Quote_Address_Total_Abstract
{
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
* @throws Mage_Core_Model_Store_Exception
*/
@@ -131,7 +130,6 @@ public function collect(Mage_Sales_Model_Quote_Address $address)
}
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Grand.php b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Grand.php
index 2c11b30fbb0..fb36df311a0 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Grand.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Grand.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Sales_Model_Quote_Address_Total_Grand extends Mage_Sales_Model_Quote_
/**
* Collect grand total address amount
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_Sales_Model_Quote_Address_Total_Grand
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
@@ -46,7 +45,6 @@ public function collect(Mage_Sales_Model_Quote_Address $address)
/**
* Add grand total information to address
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_Sales_Model_Quote_Address_Total_Grand
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Msrp.php b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Msrp.php
index 8b682fbb585..c0d2daadc39 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Msrp.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Msrp.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -25,7 +25,6 @@ class Mage_Sales_Model_Quote_Address_Total_Msrp extends Mage_Sales_Model_Quote_A
/**
* Collect information about MSRP price enabled
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_Sales_Model_Quote_Address_Total_Msrp
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal.php b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal.php
index 8c58595232e..71068222085 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -26,7 +26,6 @@ class Mage_Sales_Model_Quote_Address_Total_Nominal extends Mage_Sales_Model_Quot
/**
* Invoke collector for nominal items
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_Sales_Model_Quote_Address_Total_Nominal
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
@@ -74,7 +73,6 @@ public function collect(Mage_Sales_Model_Quote_Address $address)
/**
* Fetch collected nominal items
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal/RecurringAbstract.php b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal/RecurringAbstract.php
index 038af7d7492..9ebcdecdb30 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal/RecurringAbstract.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal/RecurringAbstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -45,7 +45,6 @@ abstract class Mage_Sales_Model_Quote_Address_Total_Nominal_RecurringAbstract ex
/**
* Collect recurring item parameters and copy to the address items
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_Sales_Model_Quote_Address_Total_Nominal_RecurringAbstract
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
@@ -70,7 +69,6 @@ public function collect(Mage_Sales_Model_Quote_Address $address)
/**
* Don't fetch anything
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
@@ -81,7 +79,6 @@ public function fetch(Mage_Sales_Model_Quote_Address $address)
/**
* Get nominal items only
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
protected function _getAddressItems(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal/Shipping.php b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal/Shipping.php
index 114c5e0471d..13d5b87db3b 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal/Shipping.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal/Shipping.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -45,7 +45,6 @@ class Mage_Sales_Model_Quote_Address_Total_Nominal_Shipping extends Mage_Sales_M
/**
* Collect shipping amount individually for each item
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
@@ -79,7 +78,6 @@ public function collect(Mage_Sales_Model_Quote_Address $address)
/**
* Don't fetch anything
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
@@ -90,7 +88,6 @@ public function fetch(Mage_Sales_Model_Quote_Address $address)
/**
* Get nominal items only or indeed get all items, depending on current logic requirements
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
protected function _getAddressItems(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal/Subtotal.php b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal/Subtotal.php
index 0463b8a569b..45cf52591a5 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal/Subtotal.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Nominal/Subtotal.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -38,7 +38,6 @@ class Mage_Sales_Model_Quote_Address_Total_Nominal_Subtotal extends Mage_Sales_M
/**
* Don't fetch anything
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
@@ -59,7 +58,6 @@ public function getLabel()
/**
* Get nominal items only
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
protected function _getAddressItems(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Shipping.php b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Shipping.php
index 8868b9aa696..c0f2e649207 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Shipping.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Shipping.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -27,7 +27,6 @@ public function __construct()
/**
* Collect totals information about shipping
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_Sales_Model_Quote_Address_Total_Shipping
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
@@ -166,7 +165,6 @@ public function collect(Mage_Sales_Model_Quote_Address $address)
/**
* Add shipping totals information to address object
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_Sales_Model_Quote_Address_Total_Shipping
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Subtotal.php b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Subtotal.php
index f0b7c251e46..ca5468b7afa 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Subtotal.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Subtotal.php
@@ -24,7 +24,6 @@ class Mage_Sales_Model_Quote_Address_Total_Subtotal extends Mage_Sales_Model_Quo
/**
* Collect address subtotal
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_Sales_Model_Quote_Address_Total_Subtotal
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
@@ -143,7 +142,6 @@ protected function _removeItem($address, $item)
/**
* Assign subtotal amount and label to address object
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_Sales_Model_Quote_Address_Total_Subtotal
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Tax.php b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Tax.php
index 19d8f95af0c..ee2129c3037 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Address/Total/Tax.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Address/Total/Tax.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -27,7 +27,6 @@ public function __construct()
}
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
@@ -191,7 +190,6 @@ public function collect(Mage_Sales_Model_Quote_Address $address)
}
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @param array $applied
* @param float $amount
* @param float $baseAmount
@@ -236,7 +234,6 @@ protected function _saveAppliedTaxes(Mage_Sales_Model_Quote_Address $address, $a
}
/**
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Quote/Item.php b/app/code/core/Mage/Sales/Model/Quote/Item.php
index 8a08168a689..05033f7b546 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Item.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Item.php
@@ -253,7 +253,6 @@ protected function _beforeSave()
/**
* Declare quote model object
*
- * @param Mage_Sales_Model_Quote $quote
* @return $this
*/
public function setQuote(Mage_Sales_Model_Quote $quote)
@@ -575,7 +574,6 @@ public function getRealProductType()
/**
* Convert Quote Item to array
*
- * @param array $arrAttributes
* @return array
*/
public function toArray(array $arrAttributes = [])
@@ -658,7 +656,6 @@ public function addOption($option)
* Example: cataloginventory decimal qty validation may change qty to int,
* so need to change quote item qty option value.
*
- * @param Varien_Object|Mage_Sales_Model_Quote_Item_Option $option
* @param int|float|null $value
* @return $this
*/
diff --git a/app/code/core/Mage/Sales/Model/Quote/Payment.php b/app/code/core/Mage/Sales/Model/Quote/Payment.php
index 8c644c72b7b..c291c5e90e6 100644
--- a/app/code/core/Mage/Sales/Model/Quote/Payment.php
+++ b/app/code/core/Mage/Sales/Model/Quote/Payment.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -98,7 +98,6 @@ protected function _construct()
/**
* Declare quote model instance
*
- * @param Mage_Sales_Model_Quote $quote
* @return $this
*/
public function setQuote(Mage_Sales_Model_Quote $quote)
@@ -125,7 +124,6 @@ public function getQuote()
* Method calls quote totals collect because payment method availability
* can be related to quote totals
*
- * @param array $data
* @throws Mage_Core_Exception
* @return $this
*/
diff --git a/app/code/core/Mage/Sales/Model/Recurring/Profile.php b/app/code/core/Mage/Sales/Model/Recurring/Profile.php
index ef98615905e..93a7de17203 100644
--- a/app/code/core/Mage/Sales/Model/Recurring/Profile.php
+++ b/app/code/core/Mage/Sales/Model/Recurring/Profile.php
@@ -352,7 +352,6 @@ public function isValid()
/**
* Import quote information to the profile
*
- * @param Mage_Sales_Model_Quote $quote
* @return $this
* @throws Exception
*/
@@ -387,7 +386,6 @@ public function importQuote(Mage_Sales_Model_Quote $quote)
/**
* Import quote item information to the profile
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
* @return $this
*/
public function importQuoteItem(Mage_Sales_Model_Quote_Item_Abstract $item)
diff --git a/app/code/core/Mage/Sales/Model/Resource/Abstract.php b/app/code/core/Mage/Sales/Model/Resource/Abstract.php
index 3aaf6285a93..130d6f927c7 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Abstract.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ abstract class Mage_Sales_Model_Resource_Abstract extends Mage_Core_Model_Resour
/**
* Prepare data for save
*
- * @param Mage_Core_Model_Abstract $object
* @return array
*/
protected function _prepareDataForSave(Mage_Core_Model_Abstract $object)
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 3d2e44d5c55..c618e4f1b73 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Order/Abstract.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Order/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -197,7 +197,6 @@ public function getUpdateGridRecordsSelect($ids, &$flatColumnsToSelect, $gridCol
* Join virtual grid columns to select
*
* @param string $mainTableAlias
- * @param Zend_Db_Select $select
* @param array $columnsToSelect
* @return $this
*/
@@ -267,7 +266,6 @@ public function getGridTable()
/**
* Before save object attribute
*
- * @param Mage_Core_Model_Abstract $object
* @param string $attribute
* @return $this
*/
@@ -286,7 +284,6 @@ protected function _beforeSaveAttribute(Mage_Core_Model_Abstract $object, $attri
/**
* After save object attribute
*
- * @param Mage_Core_Model_Abstract $object
* @param string $attribute
* @return $this
*/
@@ -305,7 +302,6 @@ protected function _afterSaveAttribute(Mage_Core_Model_Abstract $object, $attrib
/**
* Perform actions after object save
*
- * @param Mage_Core_Model_Abstract $object
* @param string|string[]|Mage_Eav_Model_Entity_Attribute_Abstract $attribute
* @return $this
*/
@@ -349,7 +345,6 @@ public function saveAttribute(Mage_Core_Model_Abstract $object, $attribute)
/**
* Perform actions before object save
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
protected function _beforeSave(Mage_Core_Model_Abstract $object)
@@ -400,7 +395,6 @@ public function setMainTable($table)
/**
* Save object data
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
public function save(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Sales/Model/Resource/Order/Address.php b/app/code/core/Mage/Sales/Model/Resource/Order/Address.php
index 96f06d055e6..bed81d9ca3c 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Order/Address.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Order/Address.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -58,7 +58,6 @@ public function getAllAttributes()
/**
* Update related grid table after object save
*
- * @param Mage_Core_Model_Abstract|Mage_Sales_Model_Order_Address $object
* @return Mage_Core_Model_Resource_Db_Abstract
*/
protected function _afterSave(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Sales/Model/Resource/Order/Payment.php b/app/code/core/Mage/Sales/Model/Resource/Order/Payment.php
index 0283be9d621..a0c39d73cbb 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Order/Payment.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Order/Payment.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -43,7 +43,6 @@ protected function _construct()
/**
* Unserialize Varien_Object field in an object
*
- * @param Varien_Object $object
* @param string $field
* @param mixed $defaultValue
*/
diff --git a/app/code/core/Mage/Sales/Model/Resource/Order/Payment/Transaction.php b/app/code/core/Mage/Sales/Model/Resource/Order/Payment/Transaction.php
index 91a5b01f98a..ee41ac05a4a 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Order/Payment/Transaction.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Order/Payment/Transaction.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -42,7 +42,6 @@ protected function _construct()
/**
* Unserialize Varien_Object field in an object
*
- * @param Varien_Object $object
* @param string $field
* @param mixed $defaultValue
*/
@@ -66,8 +65,6 @@ protected function _unserializeField(Varien_Object $object, $field, $defaultValu
/**
* Update transactions in database using provided transaction as parent for them
* have to repeat the business logic to avoid accidental injection of wrong transactions
- *
- * @param Mage_Sales_Model_Order_Payment_Transaction $transaction
*/
public function injectAsParent(Mage_Sales_Model_Order_Payment_Transaction $transaction)
{
@@ -106,7 +103,6 @@ public function injectAsParent(Mage_Sales_Model_Order_Payment_Transaction $trans
/**
* Load the transaction object by specified txn_id
*
- * @param Mage_Sales_Model_Order_Payment_Transaction $transaction
* @param int $orderId
* @param int $paymentId
* @param string $txnId
diff --git a/app/code/core/Mage/Sales/Model/Resource/Order/Payment/Transaction/Collection.php b/app/code/core/Mage/Sales/Model/Resource/Order/Payment/Transaction/Collection.php
index 1450bbf1c8d..682b5f569a1 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Order/Payment/Transaction/Collection.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Order/Payment/Transaction/Collection.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -89,7 +89,6 @@ protected function _construct()
/**
* Join order information
*
- * @param array $keys
* @return $this
*/
public function addOrderInformation(array $keys)
@@ -102,7 +101,6 @@ public function addOrderInformation(array $keys)
/**
* Join payment information
*
- * @param array $keys
* @return $this
*/
public function addPaymentInformation(array $keys)
diff --git a/app/code/core/Mage/Sales/Model/Resource/Order/Status.php b/app/code/core/Mage/Sales/Model/Resource/Order/Status.php
index d0eff50a707..c696740dda1 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Order/Status.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Order/Status.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -76,7 +76,6 @@ protected function _getLoadSelect($field, $value, $object)
/**
* Store labels getter
*
- * @param Mage_Core_Model_Abstract|Mage_Sales_Model_Order_Status $status
* @return array
*/
public function getStoreLabels(Mage_Core_Model_Abstract $status)
diff --git a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Backend.php b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Backend.php
index 3332842efb5..97665e54b9d 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Backend.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Backend.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Sales_Model_Resource_Quote_Address_Attribute_Backend extends Mage_Eav
/**
* Collect totals
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function collectTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend.php b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend.php
index 4ef0d49651d..46d9821028d 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Sales_Model_Resource_Quote_Address_Attribute_Frontend extends Mage_Ea
/**
* Fetch totals
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
public function fetchTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Custbalance.php b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Custbalance.php
index 87d4af5c239..60a999ee57d 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Custbalance.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Custbalance.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Sales_Model_Resource_Quote_Address_Attribute_Frontend_Custbalance ext
/**
* Fetch customer balance
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetchTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Discount.php b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Discount.php
index 7ba0f519748..e6d4db053cc 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Discount.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Discount.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Sales_Model_Resource_Quote_Address_Attribute_Frontend_Discount extend
/**
* Fetch discount
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetchTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Grand.php b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Grand.php
index a0d9139db7e..5c3a0d0206b 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Grand.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Grand.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Sales_Model_Resource_Quote_Address_Attribute_Frontend_Grand extends M
/**
* Fetch grand total
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetchTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Shipping.php b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Shipping.php
index 38ec1682d1b..71af2c4765d 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Shipping.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Shipping.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Sales_Model_Resource_Quote_Address_Attribute_Frontend_Shipping extend
/**
* Fetch totals
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetchTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Subtotal.php b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Subtotal.php
index a8f2a61a170..0e9941590b8 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Subtotal.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Subtotal.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Sales_Model_Resource_Quote_Address_Attribute_Frontend_Subtotal extend
/**
* Add total
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetchTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Tax.php b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Tax.php
index 7f6974f9075..9d81e8179f8 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Tax.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Attribute/Frontend/Tax.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Sales_Model_Resource_Quote_Address_Attribute_Frontend_Tax extends Mag
/**
* Fetch totals
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetchTotals(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sales/Model/Resource/Quote/Payment.php b/app/code/core/Mage/Sales/Model/Resource/Quote/Payment.php
index da3be48b733..161ac71b444 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Quote/Payment.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Quote/Payment.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -40,7 +40,6 @@ protected function _construct()
}
/**
- * @param Varien_Object $object
* @param string $field
* @param mixed $defaultValue
* @see Mage_Core_Model_Resource_Abstract::_unserializeField()
diff --git a/app/code/core/Mage/Sales/Model/Resource/Recurring/Profile.php b/app/code/core/Mage/Sales/Model/Resource/Recurring/Profile.php
index 595b0f0649a..ea8b2556f0e 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Recurring/Profile.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Recurring/Profile.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -43,7 +43,6 @@ protected function _construct()
/**
* Unserialize Varien_Object field in an object
*
- * @param Varien_Object $object
* @param string $field
* @param mixed $defaultValue
*/
diff --git a/app/code/core/Mage/Sales/Model/Resource/Report/Bestsellers/Collection.php b/app/code/core/Mage/Sales/Model/Resource/Report/Bestsellers/Collection.php
index f51a5f967a6..85b781fe743 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Report/Bestsellers/Collection.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Report/Bestsellers/Collection.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -358,7 +358,6 @@ protected function _beforeLoad()
/**
* Apply filter to exclude certain product types from the collection
*
- * @param Zend_Db_Select $select
* @return Mage_Sales_Model_Resource_Report_Collection_Abstract
*/
protected function _applyProductTypeFilter(Zend_Db_Select $select)
diff --git a/app/code/core/Mage/Sales/Model/Resource/Sale/Collection.php b/app/code/core/Mage/Sales/Model/Resource/Sale/Collection.php
index 28c9a5b3149..e5046c99677 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Sale/Collection.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Sale/Collection.php
@@ -68,7 +68,6 @@ public function __construct()
/**
* Set filter by customer
*
- * @param Mage_Customer_Model_Customer $customer
* @return $this
*/
public function setCustomerFilter(Mage_Customer_Model_Customer $customer)
diff --git a/app/code/core/Mage/Sales/Model/Resource/Setup.php b/app/code/core/Mage/Sales/Model/Resource/Setup.php
index 3dec4212987..68c3666b1b0 100644
--- a/app/code/core/Mage/Sales/Model/Resource/Setup.php
+++ b/app/code/core/Mage/Sales/Model/Resource/Setup.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sales
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -79,7 +79,6 @@ protected function _flatTableExist($table)
*
* @param int|string $entityTypeId
* @param string $code
- * @param array $attr
* @return $this
*/
public function addAttribute($entityTypeId, $code, array $attr)
diff --git a/app/code/core/Mage/Sales/Model/Service/Order.php b/app/code/core/Mage/Sales/Model/Service/Order.php
index 2469d69295d..c75334687ed 100644
--- a/app/code/core/Mage/Sales/Model/Service/Order.php
+++ b/app/code/core/Mage/Sales/Model/Service/Order.php
@@ -39,8 +39,6 @@ class Mage_Sales_Model_Service_Order
/**
* Class constructor
- *
- * @param Mage_Sales_Model_Order $order
*/
public function __construct(Mage_Sales_Model_Order $order)
{
@@ -51,7 +49,6 @@ public function __construct(Mage_Sales_Model_Order $order)
/**
* Quote converter declaration
*
- * @param Mage_Sales_Model_Convert_Order $convertor
* @return Mage_Sales_Model_Service_Order
*/
public function setConvertor(Mage_Sales_Model_Convert_Order $convertor)
diff --git a/app/code/core/Mage/Sales/Model/Service/Quote.php b/app/code/core/Mage/Sales/Model/Service/Quote.php
index 8d4a8307a10..24205622883 100644
--- a/app/code/core/Mage/Sales/Model/Service/Quote.php
+++ b/app/code/core/Mage/Sales/Model/Service/Quote.php
@@ -65,8 +65,6 @@ class Mage_Sales_Model_Service_Quote
/**
* Class constructor
- *
- * @param Mage_Sales_Model_Quote $quote
*/
public function __construct(Mage_Sales_Model_Quote $quote)
{
@@ -77,7 +75,6 @@ public function __construct(Mage_Sales_Model_Quote $quote)
/**
* Quote converter declaration
*
- * @param Mage_Sales_Model_Convert_Quote $convertor
* @return Mage_Sales_Model_Service_Quote
*/
public function setConvertor(Mage_Sales_Model_Convert_Quote $convertor)
@@ -99,7 +96,6 @@ public function getQuote()
/**
* Specify additional order data
*
- * @param array $data
* @return $this
*/
public function setOrderData(array $data)
diff --git a/app/code/core/Mage/SalesRule/Helper/Data.php b/app/code/core/Mage/SalesRule/Helper/Data.php
index bb28917a628..810f2dbcae4 100644
--- a/app/code/core/Mage/SalesRule/Helper/Data.php
+++ b/app/code/core/Mage/SalesRule/Helper/Data.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_SalesRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_SalesRule_Helper_Data extends Mage_Core_Helper_Abstract
/**
* Set store and base price which will be used during discount calculation to item object
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
* @param float $basePrice
* @param float $price
* @return $this
@@ -39,7 +38,6 @@ public function setItemDiscountPrices(Mage_Sales_Model_Quote_Item_Abstract $item
/**
* Add additional amounts to discount calculation prices
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
* @param float $basePrice
* @param float $price
* @return $this
diff --git a/app/code/core/Mage/SalesRule/Model/Coupon.php b/app/code/core/Mage/SalesRule/Model/Coupon.php
index 5d2033bbced..443499d0eba 100644
--- a/app/code/core/Mage/SalesRule/Model/Coupon.php
+++ b/app/code/core/Mage/SalesRule/Model/Coupon.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_SalesRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -71,7 +71,6 @@ protected function _beforeSave()
/**
* Set rule instance
*
- * @param Mage_SalesRule_Model_Rule $rule
* @return $this
*/
public function setRule(Mage_SalesRule_Model_Rule $rule)
diff --git a/app/code/core/Mage/SalesRule/Model/Observer.php b/app/code/core/Mage/SalesRule/Model/Observer.php
index c3c0f19c8d7..76694397645 100644
--- a/app/code/core/Mage/SalesRule/Model/Observer.php
+++ b/app/code/core/Mage/SalesRule/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_SalesRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -242,7 +242,6 @@ protected function _removeAttributeFromConditions($combine, $attributeCode)
/**
* After save attribute if it is not used for promo rules already check rules for containing this attribute
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogAttributeSaveAfter(Varien_Event_Observer $observer)
@@ -260,7 +259,6 @@ public function catalogAttributeSaveAfter(Varien_Event_Observer $observer)
* After delete attribute check rules that contains deleted attribute
* If rules was found they will seted to inactive and added notice to admin session
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function catalogAttributeDeleteAfter(Varien_Event_Observer $observer)
@@ -277,7 +275,6 @@ public function catalogAttributeDeleteAfter(Varien_Event_Observer $observer)
/**
* Append sales rule product attributes to select by quote item collection
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function addProductAttributes(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/SalesRule/Model/Quote/Discount.php b/app/code/core/Mage/SalesRule/Model/Quote/Discount.php
index cc6e2f49127..c6fe7f7cd68 100644
--- a/app/code/core/Mage/SalesRule/Model/Quote/Discount.php
+++ b/app/code/core/Mage/SalesRule/Model/Quote/Discount.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_SalesRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -40,7 +40,6 @@ public function __construct()
/**
* Collect address discount amount
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_SalesRule_Model_Quote_Discount
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
@@ -135,7 +134,6 @@ protected function _aggregateItemDiscount($item)
/**
* Add discount total information to address
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_SalesRule_Model_Quote_Discount
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/SalesRule/Model/Quote/Freeshipping.php b/app/code/core/Mage/SalesRule/Model/Quote/Freeshipping.php
index 67dd2f36c7a..f94f344a912 100644
--- a/app/code/core/Mage/SalesRule/Model/Quote/Freeshipping.php
+++ b/app/code/core/Mage/SalesRule/Model/Quote/Freeshipping.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_SalesRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -37,7 +37,6 @@ public function __construct()
/**
* Collect information about free shipping for all address items
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_SalesRule_Model_Quote_Freeshipping
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
@@ -91,7 +90,6 @@ public function collect(Mage_Sales_Model_Quote_Address $address)
* Add information about free shipping for all address items to address object
* By default we not present such information
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_SalesRule_Model_Quote_Freeshipping
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/SalesRule/Model/Quote/Nominal/Discount.php b/app/code/core/Mage/SalesRule/Model/Quote/Nominal/Discount.php
index 38bb17d2d35..ce34a650e86 100644
--- a/app/code/core/Mage/SalesRule/Model/Quote/Nominal/Discount.php
+++ b/app/code/core/Mage/SalesRule/Model/Quote/Nominal/Discount.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_SalesRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -31,7 +31,6 @@ class Mage_SalesRule_Model_Quote_Nominal_Discount extends Mage_SalesRule_Model_Q
/**
* Don't fetch anything
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
@@ -42,7 +41,6 @@ public function fetch(Mage_Sales_Model_Quote_Address $address)
/**
* Get nominal items only
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
protected function _getAddressItems(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/SalesRule/Model/Resource/Coupon.php b/app/code/core/Mage/SalesRule/Model/Resource/Coupon.php
index 2d04d99ef85..0267397a3b7 100644
--- a/app/code/core/Mage/SalesRule/Model/Resource/Coupon.php
+++ b/app/code/core/Mage/SalesRule/Model/Resource/Coupon.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_SalesRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -33,7 +33,6 @@ protected function _construct()
/**
* Perform actions before object save
*
- * @param Mage_Core_Model_Abstract|Mage_SalesRule_Model_Coupon $object
* @return Mage_Core_Model_Resource_Db_Abstract
*/
public function _beforeSave(Mage_Core_Model_Abstract $object)
@@ -54,7 +53,6 @@ public function _beforeSave(Mage_Core_Model_Abstract $object)
* Load primary coupon (is_primary = 1) for specified rule
*
*
- * @param Mage_SalesRule_Model_Coupon $object
* @param Mage_SalesRule_Model_Rule|int $rule
* @return bool
*/
@@ -106,7 +104,6 @@ public function exists($code)
/**
* Update auto generated Specific Coupon if it's rule changed
*
- * @param Mage_SalesRule_Model_Rule $rule
* @return $this
*/
public function updateSpecificCoupons(Mage_SalesRule_Model_Rule $rule)
diff --git a/app/code/core/Mage/SalesRule/Model/Resource/Coupon/Collection.php b/app/code/core/Mage/SalesRule/Model/Resource/Coupon/Collection.php
index 0375795ed85..6b25201400e 100644
--- a/app/code/core/Mage/SalesRule/Model/Resource/Coupon/Collection.php
+++ b/app/code/core/Mage/SalesRule/Model/Resource/Coupon/Collection.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_SalesRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -50,7 +50,6 @@ public function addRuleToFilter($rule)
/**
* Add rule IDs to filter
*
- * @param array $ruleIds
*
* @return $this
*/
diff --git a/app/code/core/Mage/SalesRule/Model/Resource/Coupon/Usage.php b/app/code/core/Mage/SalesRule/Model/Resource/Coupon/Usage.php
index ff86da9e93a..85f9873fc81 100644
--- a/app/code/core/Mage/SalesRule/Model/Resource/Coupon/Usage.php
+++ b/app/code/core/Mage/SalesRule/Model/Resource/Coupon/Usage.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_SalesRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -74,7 +74,6 @@ public function updateCustomerCouponTimesUsed($customerId, $couponId, $decrement
* Load an object by customer_id & coupon_id
*
*
- * @param Varien_Object $object
* @param int $customerId
* @param int $couponId
* @return $this
diff --git a/app/code/core/Mage/SalesRule/Model/Resource/Rule.php b/app/code/core/Mage/SalesRule/Model/Resource/Rule.php
index 3e4e7798fa9..75137f66858 100644
--- a/app/code/core/Mage/SalesRule/Model/Resource/Rule.php
+++ b/app/code/core/Mage/SalesRule/Model/Resource/Rule.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_SalesRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2017-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -50,7 +50,6 @@ protected function _construct()
/**
* Add customer group ids and website ids to rule data after load
*
- * @param Mage_Core_Model_Abstract $object
*
* @return $this
*/
@@ -66,7 +65,6 @@ protected function _afterLoad(Mage_Core_Model_Abstract $object)
/**
* Prepare sales rule's discount quantity
*
- * @param Mage_Core_Model_Abstract|Mage_SalesRule_Model_Rule $object
*
* @return $this
*/
diff --git a/app/code/core/Mage/SalesRule/Model/Rule.php b/app/code/core/Mage/SalesRule/Model/Rule.php
index b0352bd76bc..82a3da68798 100644
--- a/app/code/core/Mage/SalesRule/Model/Rule.php
+++ b/app/code/core/Mage/SalesRule/Model/Rule.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_SalesRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -223,7 +223,6 @@ protected function _afterSave()
* Initialize rule model data from array.
* Set store labels if applicable.
*
- * @param array $data
*
* @return $this
*/
@@ -273,8 +272,6 @@ public static function getCouponCodeGenerator()
/**
* Set code generator instance for auto generated coupons
- *
- * @param Mage_SalesRule_Model_Coupon_CodegeneratorInterface $codeGenerator
*/
public static function setCouponCodeGenerator(Mage_SalesRule_Model_Coupon_CodegeneratorInterface $codeGenerator)
{
diff --git a/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product.php b/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product.php
index 6a3765c6cac..70ee0ebb40c 100644
--- a/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product.php
+++ b/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_SalesRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,8 +23,6 @@ class Mage_SalesRule_Model_Rule_Condition_Product extends Mage_Rule_Model_Condit
{
/**
* Add special attributes
- *
- * @param array $attributes
*/
protected function _addSpecialAttributes(array &$attributes)
{
@@ -37,7 +35,6 @@ protected function _addSpecialAttributes(array &$attributes)
/**
* Validate Product Rule Condition
*
- * @param Varien_Object $object
*
* @return bool
*/
diff --git a/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product/Attribute/Assigned.php b/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product/Attribute/Assigned.php
index 22abedd023c..77b816097a7 100644
--- a/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product/Attribute/Assigned.php
+++ b/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product/Attribute/Assigned.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_SalesRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -59,7 +59,6 @@ protected function _getHelper()
/**
* Retrieve a product instance and initialize if needed
- * @param Varien_Object $object
*
* @return Mage_Catalog_Model_Product
*/
@@ -115,7 +114,6 @@ public function getOperatorName()
/**
* Validate a product, check whether the attribute is assigned to the product
- * @param Varien_Object $object
*
* @return bool
*/
diff --git a/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product/Combine.php b/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product/Combine.php
index e2e81c47c08..3c109bc54f7 100644
--- a/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product/Combine.php
+++ b/app/code/core/Mage/SalesRule/Model/Rule/Condition/Product/Combine.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_SalesRule
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -191,7 +191,6 @@ public function collectValidatedAttributes($productCollection)
/**
* Validate a condition with the checking of the child value
- * @param Varien_Object $object
*
* @return bool
*/
diff --git a/app/code/core/Mage/SalesRule/Model/Validator.php b/app/code/core/Mage/SalesRule/Model/Validator.php
index a3e8fd44ec3..8a313c18b6c 100644
--- a/app/code/core/Mage/SalesRule/Model/Validator.php
+++ b/app/code/core/Mage/SalesRule/Model/Validator.php
@@ -134,7 +134,6 @@ protected function _getRules()
/**
* Get address object which can be used for discount calculation
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
* @return Mage_Sales_Model_Quote_Address
*/
protected function _getAddress(Mage_Sales_Model_Quote_Item_Abstract $item)
@@ -238,7 +237,6 @@ protected function _canProcessRule($rule, $address)
* This process not affect information about applied rules, coupon code etc.
* This information will be added during discount amounts processing
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
* @return Mage_SalesRule_Model_Validator
*/
public function processFreeShipping(Mage_Sales_Model_Quote_Item_Abstract $item)
@@ -275,7 +273,6 @@ public function processFreeShipping(Mage_Sales_Model_Quote_Item_Abstract $item)
/**
* Reset quote and address applied rules
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function reset(Mage_Sales_Model_Quote_Address $address)
@@ -293,7 +290,6 @@ public function reset(Mage_Sales_Model_Quote_Address $address)
/**
* Quote item discount calculation process
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
* @return Mage_SalesRule_Model_Validator
* @throws Mage_Core_Exception
*/
@@ -525,7 +521,6 @@ public function process(Mage_Sales_Model_Quote_Item_Abstract $item)
/**
* Apply discount amount to FPT
*
- * @param Mage_Sales_Model_Quote_Address $address
* @param array $items
* @return $this
*/
@@ -743,7 +738,6 @@ protected function _roundWithDeltasForBase($key, $amount, $store)
/**
* Apply discounts to shipping amount
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_SalesRule_Model_Validator
*/
public function processShippingAmount(Mage_Sales_Model_Quote_Address $address)
@@ -881,7 +875,6 @@ public function getCartFixedRuleUsedForAddress($ruleId)
* Calculate quote totals for each rule and save results
*
* @param mixed $items
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function initTotals($items, Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Sendfriend/Model/Observer.php b/app/code/core/Mage/Sendfriend/Model/Observer.php
index 8a2f2ee672b..97ebfc42b2f 100644
--- a/app/code/core/Mage/Sendfriend/Model/Observer.php
+++ b/app/code/core/Mage/Sendfriend/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sendfriend
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Sendfriend_Model_Observer
/**
* Register Sendfriend Model in global registry
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function register(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Shipping/Model/Carrier/Abstract.php b/app/code/core/Mage/Shipping/Model/Carrier/Abstract.php
index 3a601415f2f..54685a3af9e 100644
--- a/app/code/core/Mage/Shipping/Model/Carrier/Abstract.php
+++ b/app/code/core/Mage/Shipping/Model/Carrier/Abstract.php
@@ -135,7 +135,6 @@ public function getConfigFlag($field)
* Collect and get rates
*
* @abstract
- * @param Mage_Shipping_Model_Rate_Request $request
* @return Mage_Shipping_Model_Rate_Result|bool|null
*/
abstract public function collectRates(Mage_Shipping_Model_Rate_Request $request);
@@ -144,7 +143,6 @@ abstract public function collectRates(Mage_Shipping_Model_Rate_Request $request)
* Do request to shipment
* Implementation must be in overridden method
*
- * @param Mage_Shipping_Model_Shipment_Request $request
* @return Varien_Object
*/
public function requestToShipment(Mage_Shipping_Model_Shipment_Request $request)
@@ -167,7 +165,6 @@ public function returnOfShipment($request)
/**
* Return container types of carrier
*
- * @param Varien_Object|null $params
* @return array
*/
public function getContainerTypes(?Varien_Object $params = null)
@@ -178,7 +175,6 @@ public function getContainerTypes(?Varien_Object $params = null)
/**
* Get allowed containers of carrier
*
- * @param Varien_Object|null $params
* @return array|bool
*/
protected function _getAllowedContainers(?Varien_Object $params = null)
@@ -241,7 +237,6 @@ public function getCustomizableContainerTypes()
/**
* Return delivery confirmation types of carrier
*
- * @param Varien_Object|null $params
* @return array
*/
public function getDeliveryConfirmationTypes(?Varien_Object $params = null)
@@ -250,7 +245,6 @@ public function getDeliveryConfirmationTypes(?Varien_Object $params = null)
}
/**
- * @param Mage_Shipping_Model_Rate_Request $request
* @return $this|bool|false|Mage_Core_Model_Abstract
*/
public function checkAvailableShipCountries(Mage_Shipping_Model_Rate_Request $request)
@@ -289,7 +283,6 @@ public function checkAvailableShipCountries(Mage_Shipping_Model_Rate_Request $re
/**
* Processing additional validation to check is carrier applicable.
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return Mage_Shipping_Model_Carrier_Abstract|Mage_Shipping_Model_Rate_Result_Error|bool
*/
public function proccessAdditionalValidation(Mage_Shipping_Model_Rate_Request $request)
@@ -593,7 +586,6 @@ public function getCarrierCode()
/**
* Return content types of package
*
- * @param Varien_Object $params
* @return array
*/
public function getContentTypes(Varien_Object $params)
diff --git a/app/code/core/Mage/Shipping/Model/Carrier/Flatrate.php b/app/code/core/Mage/Shipping/Model/Carrier/Flatrate.php
index 9f3b772c617..fb20814732c 100644
--- a/app/code/core/Mage/Shipping/Model/Carrier/Flatrate.php
+++ b/app/code/core/Mage/Shipping/Model/Carrier/Flatrate.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Shipping
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -28,7 +28,6 @@ class Mage_Shipping_Model_Carrier_Flatrate extends Mage_Shipping_Model_Carrier_A
protected $_isFixed = true;
/**
- * @param Mage_Shipping_Model_Rate_Request $request
* @return Mage_Shipping_Model_Rate_Result|false
*/
public function collectRates(Mage_Shipping_Model_Rate_Request $request)
diff --git a/app/code/core/Mage/Shipping/Model/Carrier/Freeshipping.php b/app/code/core/Mage/Shipping/Model/Carrier/Freeshipping.php
index a8ec53ba878..e6dc6c4e8e7 100644
--- a/app/code/core/Mage/Shipping/Model/Carrier/Freeshipping.php
+++ b/app/code/core/Mage/Shipping/Model/Carrier/Freeshipping.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Shipping
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -38,7 +38,6 @@ class Mage_Shipping_Model_Carrier_Freeshipping extends Mage_Shipping_Model_Carri
/**
* FreeShipping Rates Collector
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return Mage_Shipping_Model_Rate_Result|false
*/
public function collectRates(Mage_Shipping_Model_Rate_Request $request)
diff --git a/app/code/core/Mage/Shipping/Model/Carrier/Pickup.php b/app/code/core/Mage/Shipping/Model/Carrier/Pickup.php
index 7e10567825d..6b73f9087a7 100644
--- a/app/code/core/Mage/Shipping/Model/Carrier/Pickup.php
+++ b/app/code/core/Mage/Shipping/Model/Carrier/Pickup.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Shipping
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,7 +23,6 @@ class Mage_Shipping_Model_Carrier_Pickup extends Mage_Shipping_Model_Carrier_Abs
protected $_isFixed = true;
/**
- * @param Mage_Shipping_Model_Rate_Request $request
* @return Mage_Shipping_Model_Rate_Result|false
*/
public function collectRates(Mage_Shipping_Model_Rate_Request $request)
diff --git a/app/code/core/Mage/Shipping/Model/Carrier/Tablerate.php b/app/code/core/Mage/Shipping/Model/Carrier/Tablerate.php
index ae66d66e2e0..1f1aabfde8a 100644
--- a/app/code/core/Mage/Shipping/Model/Carrier/Tablerate.php
+++ b/app/code/core/Mage/Shipping/Model/Carrier/Tablerate.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Shipping
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -58,7 +58,6 @@ public function __construct()
/**
* Collect and get rates
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return false|Mage_Shipping_Model_Rate_Result
*/
public function collectRates(Mage_Shipping_Model_Rate_Request $request)
@@ -201,7 +200,6 @@ protected function _getModel($modelName)
/**
* Get Rate
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return Mage_Core_Model_Abstract
*/
public function getRate(Mage_Shipping_Model_Rate_Request $request)
diff --git a/app/code/core/Mage/Shipping/Model/Resource/Carrier/Tablerate.php b/app/code/core/Mage/Shipping/Model/Resource/Carrier/Tablerate.php
index 641983b1dd0..631225e1868 100644
--- a/app/code/core/Mage/Shipping/Model/Resource/Carrier/Tablerate.php
+++ b/app/code/core/Mage/Shipping/Model/Resource/Carrier/Tablerate.php
@@ -93,7 +93,6 @@ protected function _construct()
/**
* Return table rate array or false by rate request
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return array|bool
*/
public function getRate(Mage_Shipping_Model_Rate_Request $request)
@@ -177,7 +176,6 @@ public function getRate(Mage_Shipping_Model_Rate_Request $request)
/**
* Upload table rate file and import data from it
*
- * @param Varien_Object|Mage_Adminhtml_Block_System_Config_Form $object
* @throws Mage_Core_Exception
* @return $this
*/
@@ -418,7 +416,6 @@ protected function _getImportRow($row, $rowNumber = 0)
/**
* Save import data batch
*
- * @param array $data
* @return $this
*/
protected function _saveImportData(array $data)
diff --git a/app/code/core/Mage/Shipping/Model/Shipping.php b/app/code/core/Mage/Shipping/Model/Shipping.php
index 78096a598fc..a4d6ea39a21 100644
--- a/app/code/core/Mage/Shipping/Model/Shipping.php
+++ b/app/code/core/Mage/Shipping/Model/Shipping.php
@@ -97,7 +97,6 @@ public function getConfig()
/**
* Retrieve all methods for supplied shipping data
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return $this
* @todo make it ordered
*/
@@ -354,7 +353,6 @@ protected function _makePieces($items, $maxWeight)
/**
* Collect rates by address
*
- * @param Varien_Object $address
* @param null|bool|array $limitCarrier
* @return $this
*/
@@ -421,7 +419,6 @@ public function getCarrierByCode($carrierCode, $storeId = null)
/**
* Prepare and do request to shipment
*
- * @param Mage_Sales_Model_Order_Shipment $orderShipment
* @return Varien_Object
*/
public function requestToShipment(Mage_Sales_Model_Order_Shipment $orderShipment)
diff --git a/app/code/core/Mage/Sitemap/Model/Resource/Catalog/Abstract.php b/app/code/core/Mage/Sitemap/Model/Resource/Catalog/Abstract.php
index 4aa491df2b3..f146148787c 100644
--- a/app/code/core/Mage/Sitemap/Model/Resource/Catalog/Abstract.php
+++ b/app/code/core/Mage/Sitemap/Model/Resource/Catalog/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sitemap
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -44,8 +44,6 @@ abstract class Mage_Sitemap_Model_Resource_Catalog_Abstract extends Mage_Core_Mo
/**
* Initialize factory instance
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
@@ -131,7 +129,6 @@ protected function _addFilter($storeId, $attributeCode, $value, $type = '=')
/**
* Prepare catalog object
*
- * @param array $row
* @return Varien_Object
*/
protected function _prepareObject(array $row)
diff --git a/app/code/core/Mage/Sitemap/Model/Resource/Catalog/Category.php b/app/code/core/Mage/Sitemap/Model/Resource/Catalog/Category.php
index 9e7a64cf83c..8bfefd7c824 100644
--- a/app/code/core/Mage/Sitemap/Model/Resource/Catalog/Category.php
+++ b/app/code/core/Mage/Sitemap/Model/Resource/Catalog/Category.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sitemap
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -70,7 +70,6 @@ public function getCollection($storeId)
*
* @deprecated after 1.7.0.2
*
- * @param array $categoryRow
* @return Varien_Object
*/
protected function _prepareCategory(array $categoryRow)
diff --git a/app/code/core/Mage/Sitemap/Model/Resource/Catalog/Product.php b/app/code/core/Mage/Sitemap/Model/Resource/Catalog/Product.php
index 8ffa22d408b..ae3e8776250 100644
--- a/app/code/core/Mage/Sitemap/Model/Resource/Catalog/Product.php
+++ b/app/code/core/Mage/Sitemap/Model/Resource/Catalog/Product.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sitemap
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -74,7 +74,6 @@ public function getCollection($storeId)
*
* @deprecated after 1.7.0.2
*
- * @param array $productRow
* @return Varien_Object
*/
protected function _prepareProduct(array $productRow)
diff --git a/app/code/core/Mage/Sitemap/Model/Resource/Cms/Page.php b/app/code/core/Mage/Sitemap/Model/Resource/Cms/Page.php
index 252d924dfb5..5bc67750e21 100644
--- a/app/code/core/Mage/Sitemap/Model/Resource/Cms/Page.php
+++ b/app/code/core/Mage/Sitemap/Model/Resource/Cms/Page.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sitemap
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -60,7 +60,6 @@ public function getCollection($storeId)
/**
* Prepare page object
*
- * @param array $data
* @return Varien_Object
*/
protected function _prepareObject(array $data)
diff --git a/app/code/core/Mage/Sitemap/Model/Sitemap.php b/app/code/core/Mage/Sitemap/Model/Sitemap.php
index 91f0fe97217..9bc0e043880 100644
--- a/app/code/core/Mage/Sitemap/Model/Sitemap.php
+++ b/app/code/core/Mage/Sitemap/Model/Sitemap.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Sitemap
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2016-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2016-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -225,11 +225,9 @@ public function generateXml()
/**
* Get sitemap row
*
- * @param string $url
* @param null|string $lastmod
* @param null|string $changefreq
* @param null|string $priority
- * @return string
*/
protected function getSitemapRow(string $url, $lastmod = null, $changefreq = null, $priority = null): string
{
diff --git a/app/code/core/Mage/Tag/Helper/Data.php b/app/code/core/Mage/Tag/Helper/Data.php
index ef487488b14..d7ebc7cb6ab 100644
--- a/app/code/core/Mage/Tag/Helper/Data.php
+++ b/app/code/core/Mage/Tag/Helper/Data.php
@@ -68,7 +68,6 @@ public function extractTags($tagNamesInString)
/**
* Clear tag from the separating characters
*
- * @param array $tagNamesArr
* @return array
*/
public function cleanTags(array $tagNamesArr)
diff --git a/app/code/core/Mage/Tag/Model/Indexer/Summary.php b/app/code/core/Mage/Tag/Model/Indexer/Summary.php
index 60d7e50512d..8807c526d4a 100644
--- a/app/code/core/Mage/Tag/Model/Indexer/Summary.php
+++ b/app/code/core/Mage/Tag/Model/Indexer/Summary.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tag
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -98,8 +98,6 @@ protected function _getProductAttributesDependOn()
/**
* Register data required by process in event object
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerEvent(Mage_Index_Model_Event $event)
{
@@ -114,8 +112,6 @@ protected function _registerEvent(Mage_Index_Model_Event $event)
/**
* Register data required by catalog product save process
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerCatalogProductSaveEvent(Mage_Index_Model_Event $event)
{
@@ -134,8 +130,6 @@ protected function _registerCatalogProductSaveEvent(Mage_Index_Model_Event $even
/**
* Register data required by catalog product delete process
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerCatalogProductDeleteEvent(Mage_Index_Model_Event $event)
{
@@ -149,8 +143,6 @@ protected function _registerCatalogProductDeleteEvent(Mage_Index_Model_Event $ev
/**
* Register data required by catalog product massaction process
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _registerCatalogProductMassActionEvent(Mage_Index_Model_Event $event)
{
@@ -185,9 +177,6 @@ protected function _registerCatalogProductMassActionEvent(Mage_Index_Model_Event
}
}
- /**
- * @param Mage_Index_Model_Event $event
- */
protected function _registerCatalogProduct(Mage_Index_Model_Event $event)
{
switch ($event->getType()) {
@@ -205,9 +194,6 @@ protected function _registerCatalogProduct(Mage_Index_Model_Event $event)
}
}
- /**
- * @param Mage_Index_Model_Event $event
- */
protected function _registerTag(Mage_Index_Model_Event $event)
{
if ($event->getType() == Mage_Index_Model_Event::TYPE_SAVE) {
@@ -215,9 +201,6 @@ protected function _registerTag(Mage_Index_Model_Event $event)
}
}
- /**
- * @param Mage_Index_Model_Event $event
- */
protected function _registerTagRelation(Mage_Index_Model_Event $event)
{
if ($event->getType() == Mage_Index_Model_Event::TYPE_SAVE) {
@@ -227,8 +210,6 @@ protected function _registerTagRelation(Mage_Index_Model_Event $event)
/**
* Process event
- *
- * @param Mage_Index_Model_Event $event
*/
protected function _processEvent(Mage_Index_Model_Event $event)
{
diff --git a/app/code/core/Mage/Tag/Model/Resource/Indexer/Summary.php b/app/code/core/Mage/Tag/Model/Resource/Indexer/Summary.php
index 6920af00766..04ae7abea4a 100644
--- a/app/code/core/Mage/Tag/Model/Resource/Indexer/Summary.php
+++ b/app/code/core/Mage/Tag/Model/Resource/Indexer/Summary.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tag
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -29,7 +29,6 @@ protected function _construct()
/**
* Process tag save
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function tagSave(Mage_Index_Model_Event $event)
@@ -44,7 +43,6 @@ public function tagSave(Mage_Index_Model_Event $event)
/**
* Process tag relation save
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function tagRelationSave(Mage_Index_Model_Event $event)
@@ -60,7 +58,6 @@ public function tagRelationSave(Mage_Index_Model_Event $event)
* Process product save.
* Method is responsible for index support when product was saved.
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function catalogProductSave(Mage_Index_Model_Event $event)
@@ -81,7 +78,6 @@ public function catalogProductSave(Mage_Index_Model_Event $event)
* Process product delete.
* Method is responsible for index support when product was deleted
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function catalogProductDelete(Mage_Index_Model_Event $event)
@@ -96,7 +92,6 @@ public function catalogProductDelete(Mage_Index_Model_Event $event)
/**
* Process product massaction
*
- * @param Mage_Index_Model_Event $event
* @return $this
*/
public function catalogProductMassAction(Mage_Index_Model_Event $event)
diff --git a/app/code/core/Mage/Tag/Model/Resource/Tag.php b/app/code/core/Mage/Tag/Model/Resource/Tag.php
index 76f1aa09fce..ee7b7b78b8a 100644
--- a/app/code/core/Mage/Tag/Model/Resource/Tag.php
+++ b/app/code/core/Mage/Tag/Model/Resource/Tag.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tag
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -331,7 +331,6 @@ public function aggregate($object)
/**
* Decrementing tag products quantity as action for product delete
*
- * @param array $tagsId
* @return int The number of affected rows
*/
public function decrementProducts(array $tagsId)
@@ -409,7 +408,6 @@ protected function _getLoadSelect($field, $value, $object)
/**
* Fetch store ids in which tag visible
*
- * @param Mage_Core_Model_Abstract|Mage_Tag_Model_Tag $object
* @return $this
*/
protected function _afterLoad(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Tag/Model/Tag.php b/app/code/core/Mage/Tag/Model/Tag.php
index 2478426d221..43dbd60c09b 100644
--- a/app/code/core/Mage/Tag/Model/Tag.php
+++ b/app/code/core/Mage/Tag/Model/Tag.php
@@ -121,7 +121,6 @@ public function getAddBasePopularity()
/**
* Product event tags collection getter
*
- * @param Varien_Event_Observer $observer
* @return Mage_Tag_Model_Resource_Tag_Collection
*/
protected function _getProductEventTagsCollection(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Tag/Model/Tag/Relation.php b/app/code/core/Mage/Tag/Model/Tag/Relation.php
index 16061a13323..260057ed3f0 100644
--- a/app/code/core/Mage/Tag/Model/Tag/Relation.php
+++ b/app/code/core/Mage/Tag/Model/Tag/Relation.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tag
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -138,7 +138,6 @@ public function deactivate()
/**
* Add TAG to PRODUCT relations
*
- * @param Mage_Tag_Model_Tag $model
* @param array $productIds
* @return $this
*/
diff --git a/app/code/core/Mage/Tag/controllers/IndexController.php b/app/code/core/Mage/Tag/controllers/IndexController.php
index a826ddb2c2b..46221e14c81 100644
--- a/app/code/core/Mage/Tag/controllers/IndexController.php
+++ b/app/code/core/Mage/Tag/controllers/IndexController.php
@@ -94,7 +94,6 @@ protected function _extractTags($tagNamesInString)
/**
* Clears the tag from the separating characters.
*
- * @param array $tagNamesArr
* @return array
*/
protected function _cleanTags(array $tagNamesArr)
diff --git a/app/code/core/Mage/Tax/Block/Adminhtml/Frontend/Region/Updater.php b/app/code/core/Mage/Tax/Block/Adminhtml/Frontend/Region/Updater.php
index 2c98d5026a8..e4de74aee28 100644
--- a/app/code/core/Mage/Tax/Block/Adminhtml/Frontend/Region/Updater.php
+++ b/app/code/core/Mage/Tax/Block/Adminhtml/Frontend/Region/Updater.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tax
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Tax_Block_Adminhtml_Frontend_Region_Updater extends Mage_Adminhtml_Block_System_Config_Form_Field
{
/**
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Tax/Block/Adminhtml/Notifications.php b/app/code/core/Mage/Tax/Block/Adminhtml/Notifications.php
index 897a61c30d2..18c72cebc24 100644
--- a/app/code/core/Mage/Tax/Block/Adminhtml/Notifications.php
+++ b/app/code/core/Mage/Tax/Block/Adminhtml/Notifications.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tax
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -37,8 +37,6 @@ class Mage_Tax_Block_Adminhtml_Notifications extends Mage_Adminhtml_Block_Templa
/**
* Initialize block instance
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
diff --git a/app/code/core/Mage/Tax/Block/Checkout/Subtotal.php b/app/code/core/Mage/Tax/Block/Checkout/Subtotal.php
index df1caa70785..931fee84633 100644
--- a/app/code/core/Mage/Tax/Block/Checkout/Subtotal.php
+++ b/app/code/core/Mage/Tax/Block/Checkout/Subtotal.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tax
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -38,8 +38,6 @@ class Mage_Tax_Block_Checkout_Subtotal extends Mage_Checkout_Block_Total_Default
/**
* Initialize factory instance
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
diff --git a/app/code/core/Mage/Tax/Block/Checkout/Tax.php b/app/code/core/Mage/Tax/Block/Checkout/Tax.php
index 84a15ddc7b5..e947e0efc92 100644
--- a/app/code/core/Mage/Tax/Block/Checkout/Tax.php
+++ b/app/code/core/Mage/Tax/Block/Checkout/Tax.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tax
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -35,8 +35,6 @@ class Mage_Tax_Block_Checkout_Tax extends Mage_Checkout_Block_Total_Default
/**
* Initialize factory instance
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
diff --git a/app/code/core/Mage/Tax/Helper/Data.php b/app/code/core/Mage/Tax/Helper/Data.php
index 3cee59c9a46..123eff45f85 100644
--- a/app/code/core/Mage/Tax/Helper/Data.php
+++ b/app/code/core/Mage/Tax/Helper/Data.php
@@ -110,8 +110,6 @@ class Mage_Tax_Helper_Data extends Mage_Core_Helper_Abstract
/**
* Initialize helper instance
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
@@ -1211,7 +1209,6 @@ public function isCrossBorderTradeEnabled($store = null)
* Use flag to store ignore setting rather than config to avoid config reinit/save
* Read config value for backwards compatibility.
*
- * @param string $key
* @return bool
* @throws Mage_Core_Model_Store_Exception
* @throws Throwable
@@ -1231,8 +1228,6 @@ protected function _isIgnored(string $key)
}
/**
- * @param string $key
- * @param bool $value
* @return void
* @throws Throwable
*/
diff --git a/app/code/core/Mage/Tax/Model/Calculation.php b/app/code/core/Mage/Tax/Model/Calculation.php
index 3841d490f5b..05708a39d26 100644
--- a/app/code/core/Mage/Tax/Model/Calculation.php
+++ b/app/code/core/Mage/Tax/Model/Calculation.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tax
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -127,8 +127,6 @@ protected function _construct()
/**
* Initialize tax helper
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
@@ -139,7 +137,6 @@ public function __construct(array $args = [])
/**
* Specify customer object which can be used for rate calculation
*
- * @param Mage_Customer_Model_Customer $customer
* @return Mage_Tax_Model_Calculation
*/
public function setCustomer(Mage_Customer_Model_Customer $customer)
diff --git a/app/code/core/Mage/Tax/Model/Config/Notification.php b/app/code/core/Mage/Tax/Model/Config/Notification.php
index 9ab85d0c14a..c662aaa5fc6 100644
--- a/app/code/core/Mage/Tax/Model/Config/Notification.php
+++ b/app/code/core/Mage/Tax/Model/Config/Notification.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tax
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -34,8 +34,6 @@ class Mage_Tax_Model_Config_Notification extends Mage_Core_Model_Config_Data
/**
* Initialize class instance
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
diff --git a/app/code/core/Mage/Tax/Model/Observer.php b/app/code/core/Mage/Tax/Model/Observer.php
index cc431c23dae..7ebd4d429c5 100644
--- a/app/code/core/Mage/Tax/Model/Observer.php
+++ b/app/code/core/Mage/Tax/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tax
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -23,8 +23,6 @@ class Mage_Tax_Model_Observer
{
/**
* Put quote address tax information into order
- *
- * @param Varien_Event_Observer $observer
*/
public function salesEventConvertQuoteAddressToOrder(Varien_Event_Observer $observer)
{
@@ -45,8 +43,6 @@ public function salesEventConvertQuoteAddressToOrder(Varien_Event_Observer $obse
/**
* Save order tax information
- *
- * @param Varien_Event_Observer $observer
*/
public function salesEventOrderAfterSave(Varien_Event_Observer $observer)
{
@@ -148,7 +144,6 @@ public function salesEventOrderAfterSave(Varien_Event_Observer $observer)
/**
* Prepare select which is using to select index data for layered navigation
*
- * @param Varien_Event_Observer $observer
* @return Mage_Tax_Model_Observer
*/
public function prepareCatalogIndexPriceSelect(Varien_Event_Observer $observer)
@@ -227,7 +222,6 @@ public function aggregateSalesReportTaxData($schedule)
/**
* Reset extra tax amounts on quote addresses before recollecting totals
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function quoteCollectTotalsBefore(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Discount.php b/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Discount.php
index 3e92672e2c0..03238ed0cda 100644
--- a/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Discount.php
+++ b/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Discount.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tax
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Tax_Model_Sales_Total_Quote_Discount extends Mage_Sales_Model_Quote_A
/**
* Calculate discount tac amount
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Nominal/Subtotal.php b/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Nominal/Subtotal.php
index 9b25416bfd0..e4f393d576b 100644
--- a/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Nominal/Subtotal.php
+++ b/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Nominal/Subtotal.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tax
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -31,7 +31,6 @@ class Mage_Tax_Model_Sales_Total_Quote_Nominal_Subtotal extends Mage_Tax_Model_S
/**
* Don't fetch anything
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
@@ -42,7 +41,6 @@ public function fetch(Mage_Sales_Model_Quote_Address $address)
/**
* Get nominal items only
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
protected function _getAddressItems(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Nominal/Tax.php b/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Nominal/Tax.php
index dfee85c1cf6..f8dce6a17a3 100644
--- a/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Nominal/Tax.php
+++ b/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Nominal/Tax.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tax
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -38,7 +38,6 @@ class Mage_Tax_Model_Sales_Total_Quote_Nominal_Tax extends Mage_Tax_Model_Sales_
/**
* Don't fetch anything
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
@@ -49,7 +48,6 @@ public function fetch(Mage_Sales_Model_Quote_Address $address)
/**
* Get nominal items only
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
protected function _getAddressItems(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Shipping.php b/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Shipping.php
index e70c3996304..21ca45919b5 100644
--- a/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Shipping.php
+++ b/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Shipping.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tax
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -71,7 +71,6 @@ public function __construct()
/**
* Collect totals information about shipping
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return Mage_Tax_Model_Sales_Total_Quote_Shipping
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Subtotal.php b/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Subtotal.php
index d0a63646805..e12c18b8587 100644
--- a/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Subtotal.php
+++ b/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Subtotal.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Tax
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -115,7 +115,6 @@ public function __construct()
* and subtotal including/excluding tax.
* Determine discount price if needed
*
- * @param Mage_Sales_Model_Quote_Address $address
*
* @return Mage_Tax_Model_Sales_Total_Quote_Subtotal
*/
@@ -717,7 +716,6 @@ protected function _deltaRound($price, $rate, $direction, $type = 'regular')
/**
* Recalculate row information for item based on children calculation
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
*
* @return Mage_Tax_Model_Sales_Total_Quote_Subtotal
*/
@@ -789,7 +787,6 @@ protected function _getAddressTaxRequest($address)
/**
* Add row total item amount to subtotal
*
- * @param Mage_Sales_Model_Quote_Address $address
* @param Mage_Sales_Model_Quote_Item_Abstract $item
* @return Mage_Tax_Model_Sales_Total_Quote_Subtotal
*/
@@ -821,7 +818,6 @@ protected function _addSubtotalAmount(Mage_Sales_Model_Quote_Address $address, $
*
* @deprecated after 1.4.1
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
* @return Mage_Tax_Model_Sales_Total_Quote_Subtotal
*/
protected function _resetItemPriceInclTax(Mage_Sales_Model_Quote_Item_Abstract $item)
@@ -848,7 +844,6 @@ protected function _processShippingAmount($address)
* @deprecated after 1.4.1
*
* @param Mage_Sales_Model_Quote_Address $address
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
*
* @return Mage_Tax_Model_Sales_Total_Quote_Subtotal
*/
diff --git a/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Tax.php b/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Tax.php
index 219042cbaa1..f09c2c9ce6c 100644
--- a/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Tax.php
+++ b/app/code/core/Mage/Tax/Model/Sales/Total/Quote/Tax.php
@@ -98,7 +98,6 @@ public function __construct()
/**
* Round the total amounts in address
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
protected function _roundTotals(Mage_Sales_Model_Quote_Address $address)
@@ -142,7 +141,6 @@ protected function _roundTotals(Mage_Sales_Model_Quote_Address $address)
/**
* Collect tax totals for quote address
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
@@ -273,7 +271,6 @@ protected function _usePriceIncludeTax($store)
/**
*
- * @param Mage_Sales_Model_Quote_Address $address
* @param float $rate
* @param array $appliedRates
* @param string $taxId
@@ -368,7 +365,6 @@ protected function _calculateShippingTaxByRate(
/**
* Tax calculation for shipping price
*
- * @param Mage_Sales_Model_Quote_Address $address
* @param Varien_Object $taxRateRequest
* @return $this
*/
@@ -398,7 +394,6 @@ protected function _calculateShippingTax(Mage_Sales_Model_Quote_Address $address
/**
* Calculate address tax amount based on one unit price and tax amount
*
- * @param Mage_Sales_Model_Quote_Address $address
* @param Varien_Object $taxRateRequest
* @return $this
*/
@@ -676,7 +671,6 @@ protected function _calcUnitTaxAmount(
/**
* Calculate address total tax based on row total
*
- * @param Mage_Sales_Model_Quote_Address $address
* @param Varien_Object $taxRateRequest
* @return $this
*/
@@ -950,7 +944,6 @@ protected function _calcRowTaxAmount(
/**
* Calculate address total tax based on address subtotal
*
- * @param Mage_Sales_Model_Quote_Address $address
* @param Varien_Object $taxRateRequest
* @return $this
*/
@@ -1495,7 +1488,6 @@ protected function _deltaRound($price, $rate, $direction, $type = 'regular')
/**
* Recalculate parent item amounts base on children data
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
* @return $this
*/
protected function _recalculateParent(Mage_Sales_Model_Quote_Item_Abstract $item)
@@ -1514,7 +1506,6 @@ protected function _recalculateParent(Mage_Sales_Model_Quote_Item_Abstract $item
/**
* Collect applied tax rates information on address level
*
- * @param Mage_Sales_Model_Quote_Address $address
* @param array $applied
* @param float $amount
* @param float $baseAmount
@@ -1569,7 +1560,6 @@ protected function _saveAppliedTaxes(
/**
* Add tax totals information to address object
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Usa/Block/Adminhtml/Dhl/Unitofmeasure.php b/app/code/core/Mage/Usa/Block/Adminhtml/Dhl/Unitofmeasure.php
index 5393ae67a96..832acf83870 100644
--- a/app/code/core/Mage/Usa/Block/Adminhtml/Dhl/Unitofmeasure.php
+++ b/app/code/core/Mage/Usa/Block/Adminhtml/Dhl/Unitofmeasure.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Usa
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2021-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2021-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -59,7 +59,6 @@ public function _construct()
/**
* Retrieve Element HTML fragment
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
protected function _getElementHtml(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Abstract.php b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Abstract.php
index 0b51278ab26..c9614e06ef6 100644
--- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Abstract.php
+++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Abstract.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Usa
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -124,7 +124,6 @@ public function isShippingLabelsAvailable()
* bundle itself, otherwise we may not get a rate at all (e.g. when total weight of a bundle exceeds max weight
* despite each item by itself is not)
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return array
*/
public function getAllItems(Mage_Shipping_Model_Rate_Request $request)
@@ -156,7 +155,6 @@ public function getAllItems(Mage_Shipping_Model_Rate_Request $request)
/**
* Processing additional validation to check if carrier applicable.
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return Mage_Shipping_Model_Carrier_Abstract|Mage_Shipping_Model_Rate_Result_Error|bool
*/
public function proccessAdditionalValidation(Mage_Shipping_Model_Rate_Request $request)
@@ -278,7 +276,6 @@ protected function _prepareServiceName($name)
* Prepare shipment request.
* Validate and correct request information
*
- * @param Varien_Object $request
*
*/
protected function _prepareShipmentRequest(Varien_Object $request)
@@ -295,7 +292,6 @@ protected function _prepareShipmentRequest(Varien_Object $request)
/**
* Do request to shipment
*
- * @param Mage_Shipping_Model_Shipment_Request $request
* @return Varien_Object
*/
public function requestToShipment(Mage_Shipping_Model_Shipment_Request $request)
@@ -405,7 +401,6 @@ public function rollBack($data)
/**
* Do shipment request to carrier web service, obtain Print Shipping Labels and process errors in response
*
- * @param Varien_Object $request
* @return Varien_Object
*/
abstract protected function _doShipmentRequest(Varien_Object $request);
diff --git a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php
index 392abd346fd..a03f4d9ba3b 100644
--- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php
+++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php
@@ -101,7 +101,6 @@ class Mage_Usa_Model_Shipping_Carrier_Dhl extends Mage_Usa_Model_Shipping_Carrie
/**
* Collect and get rates
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return bool|Mage_Shipping_Model_Rate_Result|null
*/
public function collectRates(Mage_Shipping_Model_Rate_Request $request)
@@ -163,7 +162,6 @@ public function collectRates(Mage_Shipping_Model_Rate_Request $request)
/**
* Prepare and set request in property of current instance
*
- * @param Varien_Object $request
* @return $this
*/
public function setRequest(Varien_Object $request)
@@ -1267,7 +1265,6 @@ public function getAdditionalProtectionRoundingTypes()
/**
* Map request to shipment
*
- * @param Varien_Object $request
* @return null
*/
protected function _mapRequestToShipment(Varien_Object $request)
@@ -1306,7 +1303,6 @@ protected function _mapRequestToShipment(Varien_Object $request)
/**
* Do shipment request to carrier web service, obtain Print Shipping Labels and process errors in response
*
- * @param Varien_Object $request
* @return Varien_Object
*/
protected function _doShipmentRequest(Varien_Object $request)
@@ -1322,7 +1318,6 @@ protected function _doShipmentRequest(Varien_Object $request)
/**
* Return container types of carrier
*
- * @param Varien_Object|null $params
* @return array|bool
*/
public function getContainerTypes(?Varien_Object $params = null)
diff --git a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php
index fc86db4a6b1..8f67cd2030a 100644
--- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php
+++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/International.php
@@ -173,7 +173,6 @@ protected function _getDefaultValue($origValue, $pathToValue)
/**
* Collect and get rates
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return bool|Mage_Shipping_Model_Rate_Result|null
*/
public function collectRates(Mage_Shipping_Model_Rate_Request $request)
@@ -262,7 +261,6 @@ protected function _addParams($requestObject)
/**
* Prepare and set request in property of current instance
*
- * @param Varien_Object $request
* @return $this
*/
public function setRequest(Varien_Object $request)
@@ -645,8 +643,6 @@ protected function _getAllItems()
/**
* Make pieces
- *
- * @param SimpleXMLElement $nodeBkgDetails
*/
protected function _makePieces(SimpleXMLElement $nodeBkgDetails)
{
@@ -894,7 +890,6 @@ protected function _buildQuotesRequestXml()
/**
* Set pick-up date in request XML object
*
- * @param SimpleXMLElement $requestXml
* @param string $date
* @return SimpleXMLElement
*/
@@ -994,7 +989,6 @@ protected function _parseResponse($response)
/**
* Add rate to DHL rates array
*
- * @param SimpleXMLElement $shipmentDetails
* @return $this
*/
protected function _addRate(SimpleXMLElement $shipmentDetails)
@@ -1109,7 +1103,6 @@ protected function getCountryParams($countryCode)
/**
* Do shipment request to carrier web service, obtain Print Shipping Labels and process errors in response
*
- * @param Varien_Object $request
* @return Varien_Object
*/
protected function _doShipmentRequest(Varien_Object $request)
@@ -1124,7 +1117,6 @@ protected function _doShipmentRequest(Varien_Object $request)
/**
* Processing additional validation to check is carrier applicable.
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return Mage_Shipping_Model_Carrier_Abstract|Mage_Shipping_Model_Rate_Result_Error|bool
*/
public function proccessAdditionalValidation(Mage_Shipping_Model_Rate_Request $request)
@@ -1173,7 +1165,6 @@ protected function _showError()
/**
* Return container types of carrier
*
- * @param Varien_Object|null $params
* @return array
*/
public function getContainerTypes(?Varien_Object $params = null)
@@ -1187,7 +1178,6 @@ public function getContainerTypes(?Varien_Object $params = null)
/**
* Map request to shipment
*
- * @param Varien_Object $request
* @return null
*/
protected function _mapRequestToShipment(Varien_Object $request)
@@ -1728,7 +1718,6 @@ protected function _getPerpackagePrice($cost, $handlingType, $handlingFee)
/**
* Do request to shipment
*
- * @param Mage_Shipping_Model_Shipment_Request $request
* @return Varien_Object
*/
public function requestToShipment(Mage_Shipping_Model_Shipment_Request $request)
diff --git a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf.php b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf.php
index 20e976c3df4..a9a9d45e0ff 100644
--- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf.php
+++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Usa
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -38,8 +38,6 @@ class Mage_Usa_Model_Shipping_Carrier_Dhl_Label_Pdf
/**
* Dhl International Label Creation Class constructor
- *
- * @param array $arguments
*/
public function __construct(array $arguments)
{
diff --git a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/Page.php b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/Page.php
index 8dccfff231b..2327d6d2f33 100644
--- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/Page.php
+++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/Page.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Usa
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -61,7 +61,6 @@ public function getContents()
* Calculate the width of given text in points taking into account current font and font-size
*
* @param string $text
- * @param Zend_Pdf_Resource_Font $font
* @param float $font_size
* @return float
*/
diff --git a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/PageBuilder.php b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/PageBuilder.php
index 944003aab11..d430d4bff38 100644
--- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/PageBuilder.php
+++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl/Label/Pdf/PageBuilder.php
@@ -64,7 +64,6 @@ public function getPage()
/**
* Set Page
*
- * @param Zend_Pdf_Page $page
* @return $this
*/
public function setPage(Zend_Pdf_Page $page)
@@ -240,7 +239,6 @@ public function addReferenceData($data)
/**
* Add Sender Info
*
- * @param SimpleXMLElement $sender
* @return $this
* @throws InvalidArgumentException
*/
@@ -282,7 +280,6 @@ public function addSenderInfo(SimpleXMLElement $sender)
/**
* Draw Sender Address
*
- * @param SimpleXMLElement $addressLines
* @param string $phoneNumber
* @return float
*/
@@ -336,7 +333,6 @@ public function addOriginInfo($serviceAreaCode)
/**
* Add Receive Info
*
- * @param SimpleXMLElement $consignee
* @return $this
*/
public function addReceiveInfo(SimpleXMLElement $consignee)
diff --git a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php
index e3370b61f87..a5727f6ce4d 100644
--- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php
+++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php
@@ -159,7 +159,6 @@ protected function _createTrackSoapClient()
/**
* Collect and get rates
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return Mage_Shipping_Model_Rate_Result|bool|null
*/
public function collectRates(Mage_Shipping_Model_Rate_Request $request)
@@ -179,7 +178,6 @@ public function collectRates(Mage_Shipping_Model_Rate_Request $request)
/**
* Prepare and set request to this instance
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return $this
*/
public function setRequest(Mage_Shipping_Model_Rate_Request $request)
@@ -1297,7 +1295,6 @@ protected function _getAuthDetails()
/**
* Form array with appropriate structure for shipment request
*
- * @param Varien_Object $request
* @return array
*/
protected function _formShipmentRequest(Varien_Object $request)
@@ -1481,7 +1478,6 @@ protected function _formShipmentRequest(Varien_Object $request)
/**
* Do shipment request to carrier web service, obtain Print Shipping Labels and process errors in response
*
- * @param Varien_Object $request
* @return Varien_Object
*/
protected function _doShipmentRequest(Varien_Object $request)
@@ -1547,7 +1543,6 @@ public function rollBack($data)
/**
* Return container types of carrier
*
- * @param Varien_Object|null $params
* @return array|bool
*/
public function getContainerTypes(?Varien_Object $params = null)
@@ -1604,7 +1599,6 @@ public function getContainerTypesFilter()
/**
* Return delivery confirmation types of carrier
*
- * @param Varien_Object|null $params
* @return array
*/
public function getDeliveryConfirmationTypes(?Varien_Object $params = null)
diff --git a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php
index acf390d2397..b4981b4cda0 100644
--- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php
+++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php
@@ -127,7 +127,6 @@ class Mage_Usa_Model_Shipping_Carrier_Ups extends Mage_Usa_Model_Shipping_Carrie
/**
* Collect and get rates
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return Mage_Shipping_Model_Rate_Result|bool|null
*/
public function collectRates(Mage_Shipping_Model_Rate_Request $request)
@@ -147,7 +146,6 @@ public function collectRates(Mage_Shipping_Model_Rate_Request $request)
/**
* Prepare and set request to this instance
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return $this
*/
public function setRequest(Mage_Shipping_Model_Rate_Request $request)
@@ -1345,7 +1343,6 @@ public function getAllowedMethods()
/**
* Form XML for shipment request
*
- * @param Varien_Object $request
* @return string
*/
protected function _formShipmentRequest(Varien_Object $request)
@@ -1541,7 +1538,6 @@ protected function _formShipmentRequest(Varien_Object $request)
/**
* Send and process shipment accept request
*
- * @param SimpleXMLElement $shipmentConfirmResponse
* @return Varien_Object
*/
protected function _sendShipmentAcceptRequest(SimpleXMLElement $shipmentConfirmResponse)
@@ -2012,7 +2008,6 @@ protected function _doShipmentRequestXML(Varien_Object $request): Varien_Object
/**
* Return container types of carrier
*
- * @param Varien_Object|null $params
* @return array|bool
*/
public function getContainerTypes(?Varien_Object $params = null)
@@ -2096,7 +2091,6 @@ public function getContainerTypesFilter()
/**
* Return delivery confirmation types of carrier
*
- * @param Varien_Object|null $params
* @return array
*/
public function getDeliveryConfirmationTypes(?Varien_Object $params = null)
@@ -2398,13 +2392,6 @@ private function setRatePriceData(array $priceArr, array $costArr, string $error
/**
* Processing rate for ship element
- *
- * @param array $shipElement
- * @param array $allowedMethods
- * @param array $allowedCurrencies
- * @param array $costArr
- * @param array $priceArr
- * @param bool $negotiatedActive
*/
private function processShippingRestRateForItem(
array $shipElement,
diff --git a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Usps.php b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Usps.php
index ddcac6ab7f8..ef777f2d8cc 100644
--- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Usps.php
+++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Usps.php
@@ -117,7 +117,6 @@ class Mage_Usa_Model_Shipping_Carrier_Usps extends Mage_Usa_Model_Shipping_Carri
/**
* Collect and get rates
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return Mage_Shipping_Model_Rate_Result|bool|null
*/
public function collectRates(Mage_Shipping_Model_Rate_Request $request)
@@ -138,7 +137,6 @@ public function collectRates(Mage_Shipping_Model_Rate_Request $request)
/**
* Prepare and set request to this instance
*
- * @param Mage_Shipping_Model_Rate_Request $request
* @return $this
*/
public function setRequest(Mage_Shipping_Model_Rate_Request $request)
@@ -1325,7 +1323,6 @@ protected function _filterServiceName($name)
* As integration guide it is important to follow appropriate sequence for tags e.g.: must be
* after
*
- * @param Varien_Object $request
* @return string
* @deprecated This method should not be used anymore.
* @see Mage_Usa_Model_Shipping_Carrier_Usps::_doShipmentRequest method doc block.
@@ -1391,11 +1388,9 @@ protected function _formUsExpressShipmentRequest(Varien_Object $request)
* As integration guide it is important to follow appropriate sequence for tags e.g.: must be
* after
*
- * @param Varien_Object $request
* @param string $serviceType
*
* @throws Exception
- *
* @return string
*/
protected function _formUsSignatureConfirmationShipmentRequest(Varien_Object $request, $serviceType)
@@ -1493,7 +1488,6 @@ protected function _convertPoundOunces($weightInPounds)
* As integration guide it is important to follow appropriate sequence for tags e.g.: must be
* after
*
- * @param Varien_Object $request
* @return string
* @deprecated Should not be used anymore.
* @see Mage_Usa_Model_Shipping_Carrier_Usps::_doShipmentRequest doc block.
@@ -1732,7 +1726,6 @@ protected function _formIntlShipmentRequest(Varien_Object $request)
/**
* Do shipment request to carrier web service, obtain Print Shipping Labels and process errors in response
*
- * @param Varien_Object $request
* @return Varien_Object
* @deprecated This method must not be used anymore. Starting from 23.02.2018 USPS eliminates API usage for
* free shipping labels generating.
@@ -1810,7 +1803,6 @@ protected function _doShipmentRequest(Varien_Object $request)
/**
* Return container types of carrier
*
- * @param Varien_Object|null $params
* @return array|bool
*/
public function getContainerTypes(?Varien_Object $params = null)
@@ -1844,7 +1836,6 @@ public function getContainerTypesFilter()
/**
* Return delivery confirmation types of carrier
*
- * @param Varien_Object|null $params
* @return array
*/
public function getDeliveryConfirmationTypes(?Varien_Object $params = null)
@@ -1874,7 +1865,6 @@ public function isGirthAllowed($countyDest = null)
/**
* Return content types of package
*
- * @param Varien_Object $params
* @return array
*/
public function getContentTypes(Varien_Object $params)
diff --git a/app/code/core/Mage/Weee/Block/Renderer/Weee/Tax.php b/app/code/core/Mage/Weee/Block/Renderer/Weee/Tax.php
index 3ce67a3bcf9..1d676d6ad48 100644
--- a/app/code/core/Mage/Weee/Block/Renderer/Weee/Tax.php
+++ b/app/code/core/Mage/Weee/Block/Renderer/Weee/Tax.php
@@ -63,7 +63,6 @@ public function getProduct()
/**
* Renders html of block
*
- * @param Varien_Data_Form_Element_Abstract $element
*
* @return string
*/
@@ -77,7 +76,6 @@ public function render(Varien_Data_Form_Element_Abstract $element)
/**
* Sets internal reference to element
*
- * @param Varien_Data_Form_Element_Abstract $element
*
* @return $this
*/
diff --git a/app/code/core/Mage/Weee/Model/Observer.php b/app/code/core/Mage/Weee/Model/Observer.php
index 816e93be5fd..632672016ca 100644
--- a/app/code/core/Mage/Weee/Model/Observer.php
+++ b/app/code/core/Mage/Weee/Model/Observer.php
@@ -24,7 +24,6 @@ class Mage_Weee_Model_Observer extends Mage_Core_Model_Abstract
/**
* Assign custom renderer for product create/edit form weee attribute element
*
- * @param Varien_Event_Observer $observer
* @return Mage_Weee_Model_Observer
*/
public function setWeeeRendererInForm(Varien_Event_Observer $observer)
@@ -49,7 +48,6 @@ public function setWeeeRendererInForm(Varien_Event_Observer $observer)
/**
* Exclude WEEE attributes from standard form generation
*
- * @param Varien_Event_Observer $observer
* @return Mage_Weee_Model_Observer
*/
public function updateExcludedFieldList(Varien_Event_Observer $observer)
@@ -70,7 +68,6 @@ public function updateExcludedFieldList(Varien_Event_Observer $observer)
/**
* Add additional price calculation to select object which is using for select indexed data
*
- * @param Varien_Event_Observer $observer
* @return Mage_Weee_Model_Observer
*/
public function prepareCatalogIndexSelect(Varien_Event_Observer $observer)
@@ -174,7 +171,6 @@ protected function _getSelect()
/**
* Add new attribute type to manage attributes interface
*
- * @param Varien_Event_Observer $observer
* @return Mage_Weee_Model_Observer
*/
public function addWeeeTaxAttributeType(Varien_Event_Observer $observer)
@@ -209,7 +205,6 @@ public function addWeeeTaxAttributeType(Varien_Event_Observer $observer)
/**
* Automatically assign backend model to weee attributes
*
- * @param Varien_Event_Observer $observer
* @return Mage_Weee_Model_Observer
*/
public function assignBackendModelToAttribute(Varien_Event_Observer $observer)
@@ -237,7 +232,6 @@ public function assignBackendModelToAttribute(Varien_Event_Observer $observer)
/**
* Add custom element type for attributes form
*
- * @param Varien_Event_Observer $observer
* @return Mage_Weee_Model_Observer
*/
public function updateElementTypes(Varien_Event_Observer $observer)
@@ -252,7 +246,6 @@ public function updateElementTypes(Varien_Event_Observer $observer)
/**
* Update WEEE amounts discount percents
*
- * @param Varien_Event_Observer $observer
* @return Mage_Weee_Model_Observer
*/
public function updateDiscountPercents(Varien_Event_Observer $observer)
@@ -275,7 +268,6 @@ public function updateDiscountPercents(Varien_Event_Observer $observer)
/**
* Update configurable options of the product view page
*
- * @param Varien_Event_Observer $observer
* @return Mage_Weee_Model_Observer
*/
public function updateCofigurableProductOptions(Varien_Event_Observer $observer)
@@ -327,7 +319,6 @@ public function updateCofigurableProductOptions(Varien_Event_Observer $observer)
/**
* Process bundle options selection for prepare view json
*
- * @param Varien_Event_Observer $observer
* @return Mage_Weee_Model_Observer
*/
public function updateBundleProductOptions(Varien_Event_Observer $observer)
@@ -377,7 +368,6 @@ public function updateBundleProductOptions(Varien_Event_Observer $observer)
* Notify weee helper about the admin session quote store when creating order
* in the backend
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function setSessionQuoteStore(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Weee/Model/Tax.php b/app/code/core/Mage/Weee/Model/Tax.php
index 1dca2b0131f..3b9c3000629 100644
--- a/app/code/core/Mage/Weee/Model/Tax.php
+++ b/app/code/core/Mage/Weee/Model/Tax.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Weee
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -72,8 +72,6 @@ protected function _construct()
/**
* Initialize tax helper
- *
- * @param array $args
*/
public function __construct(array $args = [])
{
diff --git a/app/code/core/Mage/Weee/Model/Total/Creditmemo/Weee.php b/app/code/core/Mage/Weee/Model/Total/Creditmemo/Weee.php
index d4fb52d7548..b0b028f95c1 100644
--- a/app/code/core/Mage/Weee/Model/Total/Creditmemo/Weee.php
+++ b/app/code/core/Mage/Weee/Model/Total/Creditmemo/Weee.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Weee
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -20,7 +20,6 @@
class Mage_Weee_Model_Total_Creditmemo_Weee extends Mage_Sales_Model_Order_Creditmemo_Total_Abstract
{
/**
- * @param Mage_Sales_Model_Order_Creditmemo $creditmemo
* @return $this|Mage_Sales_Model_Order_Creditmemo_Total_Abstract
*/
public function collect(Mage_Sales_Model_Order_Creditmemo $creditmemo)
diff --git a/app/code/core/Mage/Weee/Model/Total/Invoice/Weee.php b/app/code/core/Mage/Weee/Model/Total/Invoice/Weee.php
index a12fb61ea85..3ed26add7ab 100644
--- a/app/code/core/Mage/Weee/Model/Total/Invoice/Weee.php
+++ b/app/code/core/Mage/Weee/Model/Total/Invoice/Weee.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Weee
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -22,7 +22,6 @@ class Mage_Weee_Model_Total_Invoice_Weee extends Mage_Sales_Model_Order_Invoice_
/**
* Weee tax collector
*
- * @param Mage_Sales_Model_Order_Invoice $invoice
* @return $this
*/
public function collect(Mage_Sales_Model_Order_Invoice $invoice)
diff --git a/app/code/core/Mage/Weee/Model/Total/Quote/Nominal/Weee.php b/app/code/core/Mage/Weee/Model/Total/Quote/Nominal/Weee.php
index f5625fa2681..29b6e511edf 100644
--- a/app/code/core/Mage/Weee/Model/Total/Quote/Nominal/Weee.php
+++ b/app/code/core/Mage/Weee/Model/Total/Quote/Nominal/Weee.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Weee
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -38,7 +38,6 @@ class Mage_Weee_Model_Total_Quote_Nominal_Weee extends Mage_Weee_Model_Total_Quo
/**
* Get nominal items only
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return array
*/
protected function _getAddressItems(Mage_Sales_Model_Quote_Address $address)
diff --git a/app/code/core/Mage/Weee/Model/Total/Quote/Weee.php b/app/code/core/Mage/Weee/Model/Total/Quote/Weee.php
index c9dc5d402b2..8ff7cec3a49 100644
--- a/app/code/core/Mage/Weee/Model/Total/Quote/Weee.php
+++ b/app/code/core/Mage/Weee/Model/Total/Quote/Weee.php
@@ -62,7 +62,6 @@ public function __construct()
/**
* Collect Weee taxes amount and prepare items prices for taxation and discount
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function collect(Mage_Sales_Model_Quote_Address $address)
@@ -107,7 +106,6 @@ public function collect(Mage_Sales_Model_Quote_Address $address)
/**
* Calculate item fixed tax and prepare information for discount and recular taxation
*
- * @param Mage_Sales_Model_Quote_Address $address
* @param Mage_Sales_Model_Quote_Item_Abstract $item
* @return $this
*/
@@ -334,7 +332,6 @@ protected function _processTotalAmount($address, $rowValue, $baseRowValue)
/**
* Recalculate parent item amounts based on children results
*
- * @param Mage_Sales_Model_Quote_Item_Abstract $item
* @return $this
*/
protected function _recalculateParent(Mage_Sales_Model_Quote_Item_Abstract $item)
@@ -367,7 +364,6 @@ protected function _resetItemData($item)
/**
* Fetch FPT data to address object for display in totals block
*
- * @param Mage_Sales_Model_Quote_Address $address
* @return $this
*/
public function fetch(Mage_Sales_Model_Quote_Address $address)
@@ -392,7 +388,6 @@ public function processConfigArray($config, $store)
* Process item fixed taxes
*
* @deprecated since 1.3.2.3
- * @param Mage_Sales_Model_Quote_Address $address
* @param Mage_Sales_Model_Quote_Item_Abstract $item
* @param bool $updateParent
* @return $this
diff --git a/app/code/core/Mage/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Main/Layout.php b/app/code/core/Mage/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Main/Layout.php
index 9f576fdc17b..8ddc4a85356 100644
--- a/app/code/core/Mage/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Main/Layout.php
+++ b/app/code/core/Mage/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Main/Layout.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Widget
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -41,7 +41,6 @@ protected function _construct()
/**
* Render given element (return html of element)
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return string
*/
public function render(Varien_Data_Form_Element_Abstract $element)
@@ -53,7 +52,6 @@ public function render(Varien_Data_Form_Element_Abstract $element)
/**
* Setter
*
- * @param Varien_Data_Form_Element_Abstract $element
* @return $this
*/
public function setElement(Varien_Data_Form_Element_Abstract $element)
diff --git a/app/code/core/Mage/Widget/Block/Interface.php b/app/code/core/Mage/Widget/Block/Interface.php
index da5a8dac827..955161fcd6a 100644
--- a/app/code/core/Mage/Widget/Block/Interface.php
+++ b/app/code/core/Mage/Widget/Block/Interface.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Widget
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -32,7 +32,6 @@ public function toHtml();
* Add data to the widget.
* Retains previous data in the widget.
*
- * @param array $arr
* @return Mage_Widget_Block_Interface
*/
public function addData(array $arr);
diff --git a/app/code/core/Mage/Widget/Model/Observer.php b/app/code/core/Mage/Widget/Model/Observer.php
index 0ca6e63ab4b..5e198357f72 100644
--- a/app/code/core/Mage/Widget/Model/Observer.php
+++ b/app/code/core/Mage/Widget/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Widget
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Widget_Model_Observer
/**
* Add additional settings to wysiwyg config for Widgets Insertion Plugin
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function prepareWidgetsPluginConfig(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Widget/Model/Resource/Widget/Instance.php b/app/code/core/Mage/Widget/Model/Resource/Widget/Instance.php
index 027a9640ad2..4e07d98e016 100644
--- a/app/code/core/Mage/Widget/Model/Resource/Widget/Instance.php
+++ b/app/code/core/Mage/Widget/Model/Resource/Widget/Instance.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Widget
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -175,7 +175,6 @@ protected function _prepareStoreIds($storeIds)
* Perform actions before object delete.
* Collect page ids and layout update ids and set to object for further delete
*
- * @param Mage_Core_Model_Abstract $object
* @return $this
*/
protected function _beforeDelete(Mage_Core_Model_Abstract $object)
diff --git a/app/code/core/Mage/Wishlist/Block/Customer/Wishlist.php b/app/code/core/Mage/Wishlist/Block/Customer/Wishlist.php
index 6ee4a011351..397a6a612e2 100644
--- a/app/code/core/Mage/Wishlist/Block/Customer/Wishlist.php
+++ b/app/code/core/Mage/Wishlist/Block/Customer/Wishlist.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Wishlist
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -124,7 +124,6 @@ public function getOptionsRenderCfg($productType)
* Returns html for showing item options
*
* @deprecated after 1.6.2.0
- * @param Mage_Wishlist_Model_Item $item
* @return string
*/
public function getDetailsHtml(Mage_Wishlist_Model_Item $item)
@@ -163,7 +162,6 @@ public function getDetailsHtml(Mage_Wishlist_Model_Item $item)
* Returns qty to show visually to user
*
* @deprecated after 1.6.2.0
- * @param Mage_Wishlist_Model_Item $item
* @return float
*/
public function getAddToCartQty(Mage_Wishlist_Model_Item $item)
diff --git a/app/code/core/Mage/Wishlist/Block/Customer/Wishlist/Item/Column/Cart.php b/app/code/core/Mage/Wishlist/Block/Customer/Wishlist/Item/Column/Cart.php
index bd4459a943f..361eb134913 100644
--- a/app/code/core/Mage/Wishlist/Block/Customer/Wishlist/Item/Column/Cart.php
+++ b/app/code/core/Mage/Wishlist/Block/Customer/Wishlist/Item/Column/Cart.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Wishlist
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2021-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2021-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -24,7 +24,6 @@ class Mage_Wishlist_Block_Customer_Wishlist_Item_Column_Cart extends Mage_Wishli
/**
* Returns qty to show visually to user
*
- * @param Mage_Wishlist_Model_Item $item
* @return float
*/
public function getAddToCartQty(Mage_Wishlist_Model_Item $item)
diff --git a/app/code/core/Mage/Wishlist/Helper/Data.php b/app/code/core/Mage/Wishlist/Helper/Data.php
index 1e6fb11a99f..5d8aaaba3ec 100644
--- a/app/code/core/Mage/Wishlist/Helper/Data.php
+++ b/app/code/core/Mage/Wishlist/Helper/Data.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Wishlist
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -91,8 +91,6 @@ protected function _getCurrentCustomer()
/**
* Set current customer
- *
- * @param Mage_Customer_Model_Customer $customer
*/
public function setCustomer(Mage_Customer_Model_Customer $customer)
{
@@ -329,7 +327,6 @@ public function getUpdateUrl($item)
* Retrieve url for adding product to wishlist with params
*
* @param Mage_Catalog_Model_Product|Mage_Wishlist_Model_Item $item
- * @param array $params
*
* @return string|bool
*/
@@ -554,7 +551,6 @@ public function isDisplayQty()
* Retrieve url for adding product to wishlist with params with or without Form Key
*
* @param Mage_Catalog_Model_Product|Mage_Wishlist_Model_Item $item
- * @param array $params
* @param bool $addFormKey
* @return string|bool
*/
diff --git a/app/code/core/Mage/Wishlist/Model/Item.php b/app/code/core/Mage/Wishlist/Model/Item.php
index d56354c811b..30827fcb017 100644
--- a/app/code/core/Mage/Wishlist/Model/Item.php
+++ b/app/code/core/Mage/Wishlist/Model/Item.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Wishlist
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -341,7 +341,6 @@ public function getProduct()
* Return false for disabled or unvisible products
*
* @throws Mage_Core_Exception
- * @param Mage_Checkout_Model_Cart $cart
* @param bool $delete delete the item after successful add to cart
* @return bool
*/
diff --git a/app/code/core/Mage/Wishlist/Model/Observer.php b/app/code/core/Mage/Wishlist/Model/Observer.php
index 49ab3550821..c1c41c0eb40 100644
--- a/app/code/core/Mage/Wishlist/Model/Observer.php
+++ b/app/code/core/Mage/Wishlist/Model/Observer.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Wishlist
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2018-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -136,7 +136,6 @@ public function processAddToCart($observer)
/**
* Customer login processing
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function customerLogin(Varien_Event_Observer $observer)
@@ -149,7 +148,6 @@ public function customerLogin(Varien_Event_Observer $observer)
/**
* Customer logout processing
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function customerLogout(Varien_Event_Observer $observer)
diff --git a/app/code/core/Mage/Wishlist/Model/Resource/Item/Collection.php b/app/code/core/Mage/Wishlist/Model/Resource/Item/Collection.php
index 2a12bb9344b..9111d68eaeb 100644
--- a/app/code/core/Mage/Wishlist/Model/Resource/Item/Collection.php
+++ b/app/code/core/Mage/Wishlist/Model/Resource/Item/Collection.php
@@ -220,7 +220,6 @@ protected function _assignProducts()
/**
* Add filter by wishlist object
*
- * @param Mage_Wishlist_Model_Wishlist $wishlist
* @return $this
*/
public function addWishlistFilter(Mage_Wishlist_Model_Wishlist $wishlist)
diff --git a/app/code/core/Mage/Wishlist/Model/Resource/Product/Collection.php b/app/code/core/Mage/Wishlist/Model/Resource/Product/Collection.php
index 5fec291ecc0..c32674c7db2 100644
--- a/app/code/core/Mage/Wishlist/Model/Resource/Product/Collection.php
+++ b/app/code/core/Mage/Wishlist/Model/Resource/Product/Collection.php
@@ -62,7 +62,6 @@ public function setDaysInWishlist($flag)
/**
* Add wishlist filter to collection
*
- * @param Mage_Wishlist_Model_Wishlist $wishlist
* @return $this
*/
public function addWishlistFilter(Mage_Wishlist_Model_Wishlist $wishlist)
diff --git a/app/code/core/Mage/Wishlist/Model/Resource/Wishlist.php b/app/code/core/Mage/Wishlist/Model/Resource/Wishlist.php
index a3f28e73454..dbefd9cabc7 100644
--- a/app/code/core/Mage/Wishlist/Model/Resource/Wishlist.php
+++ b/app/code/core/Mage/Wishlist/Model/Resource/Wishlist.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Wishlist
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -89,7 +89,6 @@ public function setCustomerIdFieldName($fieldName)
* @deprecated after 1.6.0.0-rc2
* @see Mage_Wishlist_Model_Wishlist::getItemsCount()
*
- * @param Mage_Wishlist_Model_Wishlist $wishlist
*
* @return int
*/
diff --git a/app/code/core/Mage/Wishlist/Model/Resource/Wishlist/Collection.php b/app/code/core/Mage/Wishlist/Model/Resource/Wishlist/Collection.php
index 563a981bcc0..f4be3482fa6 100644
--- a/app/code/core/Mage/Wishlist/Model/Resource/Wishlist/Collection.php
+++ b/app/code/core/Mage/Wishlist/Model/Resource/Wishlist/Collection.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Wishlist
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -35,7 +35,6 @@ protected function _construct()
/**
* Filter collection by customer
*
- * @param Mage_Customer_Model_Customer $customer
* @return $this
*/
public function filterByCustomer(Mage_Customer_Model_Customer $customer)
@@ -58,7 +57,6 @@ public function filterByCustomerId($customerId)
/**
* Filter collection by customer ids
*
- * @param array $customerIds
* @return $this
*/
public function filterByCustomerIds(array $customerIds)
diff --git a/app/code/core/Mage/Wishlist/Model/Wishlist.php b/app/code/core/Mage/Wishlist/Model/Wishlist.php
index 5bd84139424..24157fcbe01 100644
--- a/app/code/core/Mage/Wishlist/Model/Wishlist.php
+++ b/app/code/core/Mage/Wishlist/Model/Wishlist.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Wishlist
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -181,10 +181,8 @@ protected function _afterSave()
/**
* Add catalog product object data to wishlist
*
- * @param Mage_Catalog_Model_Product $product
* @param int $qty
* @param bool $forciblySetQty
- *
* @return Mage_Wishlist_Model_Item
*/
protected function _addCatalogProduct(Mage_Catalog_Model_Product $product, $qty = 1, $forciblySetQty = false)
@@ -285,7 +283,6 @@ public function getProductCollection()
/**
* Adding item to wishlist
*
- * @param Mage_Wishlist_Model_Item $item
* @return $this
*/
public function addItem(Mage_Wishlist_Model_Item $item)
diff --git a/composer.lock b/composer.lock
index eceb2dcd253..fbcf00a91db 100644
--- a/composer.lock
+++ b/composer.lock
@@ -3486,16 +3486,16 @@
},
{
"name": "phpstan/phpstan",
- "version": "1.12.2",
+ "version": "1.12.3",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
- "reference": "0ca1c7bb55fca8fe6448f16fff0f311ccec960a1"
+ "reference": "0fcbf194ab63d8159bb70d9aa3e1350051632009"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0ca1c7bb55fca8fe6448f16fff0f311ccec960a1",
- "reference": "0ca1c7bb55fca8fe6448f16fff0f311ccec960a1",
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/0fcbf194ab63d8159bb70d9aa3e1350051632009",
+ "reference": "0fcbf194ab63d8159bb70d9aa3e1350051632009",
"shasum": ""
},
"require": {
@@ -3540,7 +3540,7 @@
"type": "github"
}
],
- "time": "2024-09-05T16:09:28+00:00"
+ "time": "2024-09-09T08:10:35+00:00"
},
{
"name": "phpunit/php-code-coverage",
diff --git a/errors/processor.php b/errors/processor.php
index 48687e5ca50..1c561d45375 100644
--- a/errors/processor.php
+++ b/errors/processor.php
@@ -310,7 +310,6 @@ protected function _renderPage($template)
/**
* Find file path
*
- * @param string $file
* @param array|null $directories
* @return string|null
*/
@@ -336,7 +335,6 @@ protected function _getFilePath(string $file, $directories = null)
/**
* Find template path
*
- * @param string $template
* @return string|null
*/
protected function _getTemplatePath(string $template)
diff --git a/lib/Mage/Cache/Backend/File.php b/lib/Mage/Cache/Backend/File.php
index b021e9b8630..c9bb6881f8c 100644
--- a/lib/Mage/Cache/Backend/File.php
+++ b/lib/Mage/Cache/Backend/File.php
@@ -9,7 +9,7 @@
* @category Mage
* @package Mage_Cache
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -73,9 +73,6 @@ class Mage_Cache_Backend_File extends Zend_Cache_Backend_File
*/
protected $_isTagDirChecked;
- /**
- * @param array $options
- */
public function __construct(array $options = [])
{
// Backwards compatibility ZF 1.11 and ZF 1.12
diff --git a/lib/Mage/DB/Mysqli.php b/lib/Mage/DB/Mysqli.php
index 92b2cc66a00..a947c3f7122 100644
--- a/lib/Mage/DB/Mysqli.php
+++ b/lib/Mage/DB/Mysqli.php
@@ -265,7 +265,6 @@ public function listByKeyGrouped($table, $key = 'id', $forcedArrayMode = false)
/**
* Escape field names
- * @param array $arrNames
* @return array
*/
public function escapeFieldNames(array $arrNames)
@@ -279,7 +278,6 @@ public function escapeFieldNames(array $arrNames)
/**
* Escape field values
- * @param array $arrNames
* @return array
*/
public function escapeFieldValues(array $arrNames)
@@ -333,7 +331,6 @@ public function unsafeQuery($sql)
/**
* Insert assoc array to table
* @param string $table
- * @param array $data
* @param bool $replace
* @return mixed
*/
@@ -352,7 +349,6 @@ public function insertAssocOne($table, array $data, $replace = false)
/**
* Insert several records to table
* @param string $table
- * @param array $data
* @param bool $replace use REPLACE INTO instead of INSERT INTO
* @return array
*/
@@ -424,7 +420,6 @@ public function updateAssoc($table, array $data, $condition = '1=1')
/**
* Update entry by pk
* @param string $table
- * @param array $data
* @param string $value
* @param string $key
* @return mixed
diff --git a/lib/Mage/HTTP/Client/Curl.php b/lib/Mage/HTTP/Client/Curl.php
index 6ec2afba3ea..f8387a44c6a 100644
--- a/lib/Mage/HTTP/Client/Curl.php
+++ b/lib/Mage/HTTP/Client/Curl.php
@@ -89,7 +89,7 @@ class Mage_HTTP_Client_Curl implements Mage_HTTP_IClient
/**
* Curl
- * @var object
+ * @var false|resource
*/
protected $_ch;
@@ -396,8 +396,6 @@ public function doError($string)
*
* @param resource $ch curl handle, not needed
* @param string $data
- *
- * @return int
*/
protected function parseHeaders($ch, $data): int
{
@@ -431,8 +429,6 @@ protected function parseHeaders($ch, $data): int
}
/**
- * @param array $line
- *
* @throws Exception
*/
protected function validateHttpVersion(array $line)
diff --git a/lib/Magento/Db/Adapter/Pdo/Mysql.php b/lib/Magento/Db/Adapter/Pdo/Mysql.php
index e366aff0aa8..f260bc7a093 100644
--- a/lib/Magento/Db/Adapter/Pdo/Mysql.php
+++ b/lib/Magento/Db/Adapter/Pdo/Mysql.php
@@ -34,9 +34,7 @@ public function isTransaction()
/**
* Batched insert of specified select
*
- * @param Varien_Db_Select $select
* @param string $table
- * @param array $fields
* @param bool $mode
* @param int $step
* @return int
@@ -68,7 +66,6 @@ public function insertBatchFromSelect(
/**
* Retrieve bunch of queries for specified select split by specified step
*
- * @param Varien_Db_Select $select
* @param string $entityIdField
* @param int $step
* @return array
diff --git a/lib/Magento/Db/Object.php b/lib/Magento/Db/Object.php
index 6e6ae4f21a0..3d2aa2fd132 100644
--- a/lib/Magento/Db/Object.php
+++ b/lib/Magento/Db/Object.php
@@ -9,7 +9,7 @@
* @category Magento
* @package Magento_Db
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -44,7 +44,6 @@ abstract class Magento_Db_Object
/**
* Constructor
* @param $objectName
- * @param Varien_Db_Adapter_Interface $adapter
* @param $schemaName
*/
public function __construct(Varien_Db_Adapter_Interface $adapter, $objectName, $schemaName = null)
diff --git a/lib/Magento/Profiler.php b/lib/Magento/Profiler.php
index b3e6bcef1e8..a875de0ba77 100644
--- a/lib/Magento/Profiler.php
+++ b/lib/Magento/Profiler.php
@@ -9,7 +9,7 @@
* @category Magento
* @package Magento_Profiler
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -253,8 +253,6 @@ public static function getTimers()
/**
* Register profiler output instance to display profiling result at the end of execution
- *
- * @param Magento_Profiler_OutputAbstract $output
*/
public static function registerOutput(Magento_Profiler_OutputAbstract $output)
{
diff --git a/lib/Magento/Profiler/Output/Firebug.php b/lib/Magento/Profiler/Output/Firebug.php
index a7a7912c9a0..a75066ca9a9 100644
--- a/lib/Magento/Profiler/Output/Firebug.php
+++ b/lib/Magento/Profiler/Output/Firebug.php
@@ -9,7 +9,7 @@
* @category Magento
* @package Magento_Profiler
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -41,8 +41,6 @@ public function __construct($filter = null)
/**
* Request setter
- *
- * @param Zend_Controller_Request_Abstract $request
*/
public function setRequest(Zend_Controller_Request_Abstract $request)
{
@@ -51,8 +49,6 @@ public function setRequest(Zend_Controller_Request_Abstract $request)
/**
* Response setter
- *
- * @param Zend_Controller_Response_Abstract $response
*/
public function setResponse(Zend_Controller_Response_Abstract $response)
{
diff --git a/lib/Varien/Convert/Action/Abstract.php b/lib/Varien/Convert/Action/Abstract.php
index 06a85503b9a..826141db99b 100644
--- a/lib/Varien/Convert/Action/Abstract.php
+++ b/lib/Varien/Convert/Action/Abstract.php
@@ -9,7 +9,7 @@
* @category Varien
* @package Varien_Convert
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -113,7 +113,6 @@ public function getProfile()
/**
* Set profile instance the action belongs to
*
- * @param Varien_Convert_Profile_Abstract $profile
* @return Varien_Convert_Action_Abstract
*/
public function setProfile(Varien_Convert_Profile_Abstract $profile)
diff --git a/lib/Varien/Convert/Parser/Xml/Excel.php b/lib/Varien/Convert/Parser/Xml/Excel.php
index 4c113b54dad..5fa94863736 100644
--- a/lib/Varien/Convert/Parser/Xml/Excel.php
+++ b/lib/Varien/Convert/Parser/Xml/Excel.php
@@ -180,7 +180,6 @@ public function getFooterXml()
/**
* Convert an array to Excel 2003 XML Document a Row XML fragment
*
- * @param array $row
* @return string
*/
public function getRowXml(array $row)
diff --git a/lib/Varien/Crypt/Mcrypt.php b/lib/Varien/Crypt/Mcrypt.php
index 6c84085d223..d4d5e3d657d 100644
--- a/lib/Varien/Crypt/Mcrypt.php
+++ b/lib/Varien/Crypt/Mcrypt.php
@@ -23,8 +23,6 @@ class Varien_Crypt_Mcrypt extends Varien_Crypt_Abstract
{
/**
* Constructor
- *
- * @param array $data
*/
public function __construct(array $data = [])
{
diff --git a/lib/Varien/Data/Collection.php b/lib/Varien/Data/Collection.php
index 5795841aef8..696f51fc31e 100644
--- a/lib/Varien/Data/Collection.php
+++ b/lib/Varien/Data/Collection.php
@@ -9,7 +9,7 @@
* @category Varien
* @package Varien_Data
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -346,7 +346,6 @@ public function getItemByColumnValue($column, $value)
/**
* Adding item to item array
*
- * @param Varien_Object $item
* @return $this
*/
public function addItem(Varien_Object $item)
@@ -379,7 +378,6 @@ protected function _addItem($item)
/**
* Retrieve item id
*
- * @param Varien_Object $item
* @return mixed
*/
protected function _getItemId(Varien_Object $item)
@@ -434,7 +432,6 @@ public function clear()
* Returns array with results of callback for each item
*
* @param string|callable $callback
- * @param array $args
* @return array
*/
public function walk($callback, array $args = [])
diff --git a/lib/Varien/Data/Collection/Db.php b/lib/Varien/Data/Collection/Db.php
index 1ff5b21ba53..288a0ce87cd 100644
--- a/lib/Varien/Data/Collection/Db.php
+++ b/lib/Varien/Data/Collection/Db.php
@@ -151,7 +151,6 @@ public function getIdFieldName()
/**
* Get collection item identifier
*
- * @param Varien_Object $item
* @return mixed
*/
protected function _getItemId(Varien_Object $item)
diff --git a/lib/Varien/Data/Form.php b/lib/Varien/Data/Form.php
index 00c2c341cff..0892331c4c1 100644
--- a/lib/Varien/Data/Form.php
+++ b/lib/Varien/Data/Form.php
@@ -9,7 +9,7 @@
* @category Varien
* @package Varien_Data
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -55,25 +55,16 @@ public function __construct($attributes = [])
$this->_allElements = new Varien_Data_Form_Element_Collection($this);
}
- /**
- * @param Varien_Data_Form_Element_Renderer_Interface $renderer
- */
public static function setElementRenderer(Varien_Data_Form_Element_Renderer_Interface $renderer)
{
self::$_defaultElementRenderer = $renderer;
}
- /**
- * @param Varien_Data_Form_Element_Renderer_Interface $renderer
- */
public static function setFieldsetRenderer(Varien_Data_Form_Element_Renderer_Interface $renderer)
{
self::$_defaultFieldsetRenderer = $renderer;
}
- /**
- * @param Varien_Data_Form_Element_Renderer_Interface $renderer
- */
public static function setFieldsetElementRenderer(Varien_Data_Form_Element_Renderer_Interface $renderer)
{
self::$_defaultFieldsetElementRenderer = $renderer;
@@ -115,7 +106,6 @@ public function getHtmlAttributes()
/**
* Add form element
*
- * @param Varien_Data_Form_Element_Abstract $element
* @param string|false $after
* @return Varien_Data_Form
* @throws Exception
diff --git a/lib/Varien/Data/Form/Abstract.php b/lib/Varien/Data/Form/Abstract.php
index 8817b08e9d4..047583345a5 100644
--- a/lib/Varien/Data/Form/Abstract.php
+++ b/lib/Varien/Data/Form/Abstract.php
@@ -9,7 +9,7 @@
* @category Varien
* @package Varien_Data
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -100,9 +100,7 @@ public function setReadonly($readonly, $useDisabled = false)
/**
* Add form element
*
- * @param Varien_Data_Form_Element_Abstract $element
* @param bool|string|null $after
- *
* @return $this
*/
public function addElement(Varien_Data_Form_Element_Abstract $element, $after = null)
@@ -184,7 +182,6 @@ public function addColumn($elementId, $config)
}
/**
- * @param array $arrAttributes
* @return array
*/
public function __toArray(array $arrAttributes = [])
diff --git a/lib/Varien/Data/Form/Element/Abstract.php b/lib/Varien/Data/Form/Element/Abstract.php
index 0d32acfa355..5e3f68ebfe7 100644
--- a/lib/Varien/Data/Form/Element/Abstract.php
+++ b/lib/Varien/Data/Form/Element/Abstract.php
@@ -61,7 +61,6 @@ public function __construct($attributes = [])
/**
* Add form element
*
- * @param Varien_Data_Form_Element_Abstract $element
* @param string|false $after
* @return $this
*/
@@ -220,7 +219,6 @@ public function getEscapedValue($index = null)
}
/**
- * @param Varien_Data_Form_Element_Renderer_Interface $renderer
* @return $this
*/
public function setRenderer(Varien_Data_Form_Element_Renderer_Interface $renderer)
diff --git a/lib/Varien/Data/Form/Element/Collection.php b/lib/Varien/Data/Form/Element/Collection.php
index a0c1a3c4afa..44c33ddc11d 100644
--- a/lib/Varien/Data/Form/Element/Collection.php
+++ b/lib/Varien/Data/Form/Element/Collection.php
@@ -9,7 +9,7 @@
* @category Varien
* @package Varien_Data
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -93,7 +93,6 @@ public function offsetUnset($key): void
* Implementation of ArrayAccess:offsetExists()
*
* @param mixed $key
- * @return bool
*/
public function offsetExists($key): bool
{
@@ -104,9 +103,7 @@ public function offsetExists($key): bool
* Add element to collection
*
* @todo get it straight with $after
- * @param Varien_Data_Form_Element_Abstract $element
* @param bool|string $after
- *
* @return Varien_Data_Form_Element_Abstract
*/
public function add(Varien_Data_Form_Element_Abstract $element, $after = false)
@@ -170,8 +167,6 @@ public function remove($elementId)
/**
* Count elements in collection
- *
- * @return int
*/
public function count(): int
{
diff --git a/lib/Varien/Data/Form/Element/Renderer/Interface.php b/lib/Varien/Data/Form/Element/Renderer/Interface.php
index f517c74452e..a77bdc72551 100644
--- a/lib/Varien/Data/Form/Element/Renderer/Interface.php
+++ b/lib/Varien/Data/Form/Element/Renderer/Interface.php
@@ -9,7 +9,7 @@
* @category Varien
* @package Varien_Data
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -22,7 +22,6 @@
interface Varien_Data_Form_Element_Renderer_Interface
{
/**
- * @param Varien_Data_Form_Element_Abstract $element
* @return mixed
*/
public function render(Varien_Data_Form_Element_Abstract $element);
diff --git a/lib/Varien/Data/Tree/Node.php b/lib/Varien/Data/Tree/Node.php
index 9fa2245b0c8..ea2dac7a23b 100644
--- a/lib/Varien/Data/Tree/Node.php
+++ b/lib/Varien/Data/Tree/Node.php
@@ -9,7 +9,7 @@
* @category Varien
* @package Varien_Data
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -110,7 +110,6 @@ public function getIdField()
/**
* Set node tree object
*
- * @param Varien_Data_Tree $tree
* @return $this
*/
public function setTree(Varien_Data_Tree $tree)
diff --git a/lib/Varien/Data/Tree/Node/Collection.php b/lib/Varien/Data/Tree/Node/Collection.php
index e11ea16df0b..2688ed713fc 100644
--- a/lib/Varien/Data/Tree/Node/Collection.php
+++ b/lib/Varien/Data/Tree/Node/Collection.php
@@ -9,7 +9,7 @@
* @category Varien
* @package Varien_Data
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2019-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2019-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -90,7 +90,6 @@ public function offsetUnset($key): void
/**
* Implementation of ArrayAccess:offsetExists()
* @param string $key
- * @return bool
*/
public function offsetExists($key): bool
{
@@ -99,7 +98,6 @@ public function offsetExists($key): bool
/**
* Adds a node to this node
- * @param Varien_Data_Tree_Node $node
* @return Varien_Data_Tree_Node
*/
public function add(Varien_Data_Tree_Node $node)
@@ -131,8 +129,6 @@ public function delete($node)
/**
* Implementation of Countable:count()
- *
- * @return int
*/
public function count(): int
{
diff --git a/lib/Varien/Db/Adapter/Interface.php b/lib/Varien/Db/Adapter/Interface.php
index 0825a1c46ba..5bf27b79714 100644
--- a/lib/Varien/Db/Adapter/Interface.php
+++ b/lib/Varien/Db/Adapter/Interface.php
@@ -83,7 +83,6 @@ public function newTable($tableName = null, $schemaName = null);
/**
* Create table from DDL object
*
- * @param Varien_Db_Ddl_Table $table
* @throws Zend_Db_Exception
* @return Zend_Db_Statement_Interface
*/
@@ -92,7 +91,6 @@ public function createTable(Varien_Db_Ddl_Table $table);
/**
* Create temporary table from DDL object
*
- * @param Varien_Db_Ddl_Table $table
* @throws Zend_Db_Exception
* @return Zend_Db_Statement_Interface
*/
@@ -423,7 +421,6 @@ public function insertMultiple($table, array $data);
*
* @param string $table
* @param array $columns the data array column map
- * @param array $data
* @return int
*/
public function insertArray($table, array $columns, array $data);
@@ -442,7 +439,6 @@ public function insert($table, array $bind);
* Special for Zero values to identity column
*
* @param string $table
- * @param array $bind
* @return int The number of affected rows.
*/
public function insertForce($table, array $bind);
@@ -791,7 +787,6 @@ public function getIfNullSql($expression, $value = '0');
* Generate fragment of SQL, that combine together (concatenate) the results from data array
* All arguments in data must be quoted
*
- * @param array $data
* @param string $separator concatenate with separator
* @return Zend_Db_Expr
*/
@@ -817,7 +812,6 @@ public function getLengthSql($string);
* (minimum-valued) argument
* All arguments in data must be quoted
*
- * @param array $data
* @return Zend_Db_Expr
*/
public function getLeastSql(array $data);
@@ -827,7 +821,6 @@ public function getLeastSql(array $data);
* (maximum-valued) argument
* All arguments in data must be quoted
*
- * @param array $data
* @return Zend_Db_Expr
*/
public function getGreatestSql(array $data);
@@ -964,9 +957,7 @@ public function enableTableKeys($tableName, $schemaName = null);
/**
* Get insert from Select object query
*
- * @param Varien_Db_Select $select
* @param string $table insert into table
- * @param array $fields
* @param bool|int $mode
* @return string
*/
@@ -976,7 +967,6 @@ public function insertFromSelect(Varien_Db_Select $select, $table, array $fields
* Get insert queries in array for insert by range with step parameter
*
* @param string $rangeField
- * @param Varien_Db_Select $select
* @param int $stepCount
* @return array
*/
@@ -985,7 +975,6 @@ public function selectsByRange($rangeField, Varien_Db_Select $select, $stepCount
/**
* Get update table query using select object for join and update
*
- * @param Varien_Db_Select $select
* @param string|array $table
* @return string
*/
@@ -994,7 +983,6 @@ public function updateFromSelect(Varien_Db_Select $select, $table);
/**
* Get delete from select object query
*
- * @param Varien_Db_Select $select
* @param string $table the table name or alias used in select
* @return string|int
*/
@@ -1020,7 +1008,6 @@ public function supportStraightJoin();
* Adds order by random to select object
* Possible using integer field for optimization
*
- * @param Varien_Db_Select $select
* @param string $field
* @return Varien_Db_Adapter_Interface
*/
@@ -1109,7 +1096,6 @@ public function changeTableAutoIncrement($tableName, $increment, $schemaName = n
* Create new table from provided select statement
*
* @param string $tableName
- * @param Zend_Db_Select $select
* @param bool $temporary
* @return mixed
*/
diff --git a/lib/Varien/Db/Adapter/Pdo/Mysql.php b/lib/Varien/Db/Adapter/Pdo/Mysql.php
index 1fc06cdaafe..0f331786a5c 100644
--- a/lib/Varien/Db/Adapter/Pdo/Mysql.php
+++ b/lib/Varien/Db/Adapter/Pdo/Mysql.php
@@ -1485,7 +1485,6 @@ protected function _debugStat($type, $sql, $bind = [], $result = null)
/**
* Write exception and throw
*
- * @param Exception $e
* @throws Exception
*/
protected function _debugException(Exception $e)
@@ -2007,7 +2006,6 @@ public function changeTableAutoIncrement($tableName, $increment, $schemaName = n
* Special for Zero values to identity column
*
* @param string $table
- * @param array $bind
* @return int The number of affected rows.
*/
public function insertForce($table, array $bind)
@@ -2128,8 +2126,6 @@ public function insertMultiple($table, array $data)
* Insert array to table based on columns definition
*
* @param string $table
- * @param array $columns
- * @param array $data
* @return int
* @throws Zend_Db_Exception
*/
@@ -2243,7 +2239,6 @@ public function newTable($tableName = null, $schemaName = null)
/**
* Create table
*
- * @param Varien_Db_Ddl_Table $table
* @throws Zend_Db_Exception
* @return Zend_Db_Statement_Pdo
*/
@@ -2275,7 +2270,6 @@ public function createTable(Varien_Db_Ddl_Table $table)
/**
* Create temporary table
*
- * @param Varien_Db_Ddl_Table $table
* @throws Zend_Db_Exception
* @return Zend_Db_Statement_Pdo
*/
@@ -2300,7 +2294,6 @@ public function createTemporaryTable(Varien_Db_Ddl_Table $table)
/**
* Retrieve columns and primary keys definition array for create table
*
- * @param Varien_Db_Ddl_Table $table
* @return array
* @throws Zend_Db_Exception
*/
@@ -2339,7 +2332,6 @@ protected function _getColumnsDefinition(Varien_Db_Ddl_Table $table)
/**
* Retrieve table indexes definition array for create table
*
- * @param Varien_Db_Ddl_Table $table
* @return array
*/
protected function _getIndexesDefinition(Varien_Db_Ddl_Table $table)
@@ -2386,7 +2378,6 @@ protected function _getIndexesDefinition(Varien_Db_Ddl_Table $table)
/**
* Retrieve table foreign keys definition array for create table
*
- * @param Varien_Db_Ddl_Table $table
* @return array
*/
protected function _getForeignKeysDefinition(Varien_Db_Ddl_Table $table)
@@ -2417,7 +2408,6 @@ protected function _getForeignKeysDefinition(Varien_Db_Ddl_Table $table)
/**
* Retrieve table options definition array for create table
*
- * @param Varien_Db_Ddl_Table $table
* @return array
* @throws Zend_Db_Exception
*/
@@ -3243,7 +3233,6 @@ public function getCaseSql($valueName, $casesResults, $defaultValue = null)
* Generate fragment of SQL, that combine together (concatenate) the results from data array
* All arguments in data must be quoted
*
- * @param array $data
* @param string $separator concatenate with separator
* @return Zend_Db_Expr
*/
@@ -3270,7 +3259,6 @@ public function getLengthSql($string)
* (minimum-valued) argument
* All arguments in data must be quoted
*
- * @param array $data
* @return Zend_Db_Expr
*/
public function getLeastSql(array $data)
@@ -3283,7 +3271,6 @@ public function getLeastSql(array $data)
* (maximum-valued) argument
* All arguments in data must be quoted
*
- * @param array $data
* @return Zend_Db_Expr
*/
public function getGreatestSql(array $data)
@@ -3581,9 +3568,7 @@ public function enableTableKeys($tableName, $schemaName = null)
/**
* Get insert from Select object query
*
- * @param Varien_Db_Select $select
* @param string $table insert into table
- * @param array $fields
* @param bool|int $mode
* @return string
*/
@@ -3644,7 +3629,6 @@ public function insertFromSelect(Varien_Db_Select $select, $table, array $fields
* Get insert queries in array for insert by range with step parameter
*
* @param string $rangeField
- * @param Varien_Db_Select $select
* @param int $stepCount
* @return array
* @throws Varien_Db_Exception
@@ -3725,7 +3709,6 @@ public function fromUnixtime($timestamp)
/**
* Get update table query using select object for join and update
*
- * @param Varien_Db_Select $select
* @param string|array $table
* @throws Varien_Db_Exception
* @return string
@@ -3801,7 +3784,6 @@ public function updateFromSelect(Varien_Db_Select $select, $table)
/**
* Get delete from select object query
*
- * @param Varien_Db_Select $select
* @param string $table the table name or alias used in select
* @return string|int
*/
@@ -3851,7 +3833,6 @@ public function supportStraightJoin()
* Adds order by random to select object
* Possible using integer field for optimization
*
- * @param Varien_Db_Select $select
* @param string $field
* @return $this
*/
@@ -3914,8 +3895,6 @@ protected function _prepareInsertData($row, &$bind)
* Return insert sql query
*
* @param string $tableName
- * @param array $columns
- * @param array $values
* @return string
*/
protected function _getInsertSqlQuery($tableName, array $columns, array $values)
@@ -4105,7 +4084,6 @@ public function dropTrigger($triggerName)
* Create new table from provided select statement
*
* @param string $tableName
- * @param Zend_Db_Select $select
* @param bool $temporary
* @return mixed
*/
diff --git a/lib/Varien/Db/Select.php b/lib/Varien/Db/Select.php
index 8e7486d27e0..4e0b9ca64a5 100644
--- a/lib/Varien/Db/Select.php
+++ b/lib/Varien/Db/Select.php
@@ -49,8 +49,6 @@ class Varien_Db_Select extends Zend_Db_Select
/**
* Class constructor
* Add straight join support
- *
- * @param Zend_Db_Adapter_Abstract $adapter
*/
public function __construct(Zend_Db_Adapter_Abstract $adapter)
{
diff --git a/lib/Varien/Db/Tree/NodeSet.php b/lib/Varien/Db/Tree/NodeSet.php
index 9164ba990c6..746f147dde5 100644
--- a/lib/Varien/Db/Tree/NodeSet.php
+++ b/lib/Varien/Db/Tree/NodeSet.php
@@ -9,7 +9,7 @@
* @category Varien
* @package Varien_Db
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -32,7 +32,6 @@ public function __construct()
}
/**
- * @param Varien_Db_Tree_Node $node
* @return int
*/
public function addNode(Varien_Db_Tree_Node $node)
@@ -50,9 +49,6 @@ public function count()
return $this->count;
}
- /**
- * @return bool
- */
public function valid(): bool
{
return isset($this->_nodes[$this->_current]);
diff --git a/lib/Varien/Event.php b/lib/Varien/Event.php
index 61cc0be1cba..a74dfd1cfdf 100644
--- a/lib/Varien/Event.php
+++ b/lib/Varien/Event.php
@@ -9,7 +9,7 @@
* @category Varien
* @package Varien_Event
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -32,8 +32,6 @@ class Varien_Event extends Varien_Object
* Constructor
*
* Initializes observers collection
- *
- * @param array $data
*/
public function __construct(array $data = [])
{
@@ -54,7 +52,6 @@ public function getObservers()
/**
* Register an observer for the event
*
- * @param Varien_Event_Observer $observer
* @return Varien_Event
*/
public function addObserver(Varien_Event_Observer $observer)
diff --git a/lib/Varien/Event/Collection.php b/lib/Varien/Event/Collection.php
index d6c0e2f6686..d8eb8a491f0 100644
--- a/lib/Varien/Event/Collection.php
+++ b/lib/Varien/Event/Collection.php
@@ -91,7 +91,6 @@ public function getEventByName($eventName)
/**
* Register an event for this collection
*
- * @param Varien_Event $event
* @return Varien_Event_Collection
*/
public function addEvent(Varien_Event $event)
@@ -106,7 +105,6 @@ public function addEvent(Varien_Event $event)
* If observer has event_name property it will be registered for this specific event.
* If not it will be registered as global observer
*
- * @param Varien_Event_Observer $observer
* @return Varien_Event_Collection
*/
public function addObserver(Varien_Event_Observer $observer)
@@ -126,7 +124,6 @@ public function addObserver(Varien_Event_Observer $observer)
* Will dispatch specific event and will try all global observers
*
* @param string $eventName
- * @param array $data
* @return Varien_Event_Collection
*/
public function dispatch($eventName, array $data = [])
diff --git a/lib/Varien/Event/Observer.php b/lib/Varien/Event/Observer.php
index 3d69fcc167b..1b4ed1c2bed 100644
--- a/lib/Varien/Event/Observer.php
+++ b/lib/Varien/Event/Observer.php
@@ -24,7 +24,6 @@ class Varien_Event_Observer extends Varien_Object
/**
* Checks the observer's event_regex against event's name
*
- * @param Varien_Event $event
* @return boolean
*/
public function isValidFor(Varien_Event $event)
@@ -35,7 +34,6 @@ public function isValidFor(Varien_Event $event)
/**
* Dispatches an event to observer's callback
*
- * @param Varien_Event $event
* @return $this
*/
public function dispatch(Varien_Event $event)
diff --git a/lib/Varien/Event/Observer/Collection.php b/lib/Varien/Event/Observer/Collection.php
index 722c25eeba4..4821a473dde 100644
--- a/lib/Varien/Event/Observer/Collection.php
+++ b/lib/Varien/Event/Observer/Collection.php
@@ -9,7 +9,7 @@
* @category Varien
* @package Varien_Event
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2020-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2020-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -61,7 +61,6 @@ public function getObserverByName($observerName)
/**
* Adds an observer to the collection
*
- * @param Varien_Event_Observer $observer
* @return $this
*/
public function addObserver(Varien_Event_Observer $observer)
@@ -85,7 +84,6 @@ public function removeObserverByName($observerName)
/**
* Dispatches an event to all observers in the collection
*
- * @param Varien_Event $event
* @return $this
*/
public function dispatch(Varien_Event $event)
diff --git a/lib/Varien/Event/Observer/Cron.php b/lib/Varien/Event/Observer/Cron.php
index 48fa1708e79..60a63ee094b 100644
--- a/lib/Varien/Event/Observer/Cron.php
+++ b/lib/Varien/Event/Observer/Cron.php
@@ -30,7 +30,6 @@ class Varien_Event_Observer_Cron extends Varien_Event_Observer
*
* Supports $this->setCronExpr('* 0-5,10-59/5 2-10,15-25 january-june/2 mon-fri')
*
- * @param Varien_Event $event
* @return boolean
*/
public function isValidFor(Varien_Event $event)
diff --git a/lib/Varien/Event/Observer/Regex.php b/lib/Varien/Event/Observer/Regex.php
index d5aa1159ef5..f391c651a06 100644
--- a/lib/Varien/Event/Observer/Regex.php
+++ b/lib/Varien/Event/Observer/Regex.php
@@ -26,7 +26,6 @@ class Varien_Event_Observer_Regex extends Varien_Event_Observer
/**
* Checks the observer's event_regex against event's name
*
- * @param Varien_Event $event
* @return boolean
*/
public function isValidFor(Varien_Event $event)
diff --git a/lib/Varien/Filter/Array.php b/lib/Varien/Filter/Array.php
index 160f7182236..dc81b2c07f5 100644
--- a/lib/Varien/Filter/Array.php
+++ b/lib/Varien/Filter/Array.php
@@ -9,7 +9,7 @@
* @category Varien
* @package Varien_Filter
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2021-2022 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2021-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -21,7 +21,6 @@ class Varien_Filter_Array extends Zend_Filter
protected $_columnFilters = [];
/**
- * @param Zend_Filter_Interface $filter
* @param string $column
* @return $this
*/
diff --git a/lib/Varien/Filter/Object.php b/lib/Varien/Filter/Object.php
index f2a739be811..fc7e96e1d6d 100644
--- a/lib/Varien/Filter/Object.php
+++ b/lib/Varien/Filter/Object.php
@@ -9,7 +9,7 @@
* @category Varien
* @package Varien_Filter
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2021-2022 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2021-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -21,7 +21,6 @@ class Varien_Filter_Object extends Zend_Filter
protected $_columnFilters = [];
/**
- * @param Zend_Filter_Interface $filter
* @param string $column
* @return $this
*/
diff --git a/lib/Varien/Filter/Template.php b/lib/Varien/Filter/Template.php
index 12f70ac5147..0718c63fa13 100644
--- a/lib/Varien/Filter/Template.php
+++ b/lib/Varien/Filter/Template.php
@@ -56,8 +56,6 @@ class Varien_Filter_Template implements Zend_Filter_Interface
/**
* Sets template variables that's can be called through {var ...} statement
- *
- * @param array $variables
*/
public function setVariables(array $variables)
{
diff --git a/lib/Varien/Http/Adapter/Curl.php b/lib/Varien/Http/Adapter/Curl.php
index 48c8dbdcdc1..533205b1252 100644
--- a/lib/Varien/Http/Adapter/Curl.php
+++ b/lib/Varien/Http/Adapter/Curl.php
@@ -86,7 +86,6 @@ protected function _applyConfig()
/**
* Set array of additional cURL options
*
- * @param array $options
* @return Varien_Http_Adapter_Curl
*/
public function setOptions(array $options = [])
@@ -111,7 +110,6 @@ public function addOption($option, $value)
/**
* Add additional options list to curl
*
- * @param array $options
*
* @return Varien_Http_Adapter_Curl
*/
diff --git a/lib/Varien/Io/Abstract.php b/lib/Varien/Io/Abstract.php
index cc64c42f2f3..b3bc30aa50b 100644
--- a/lib/Varien/Io/Abstract.php
+++ b/lib/Varien/Io/Abstract.php
@@ -44,7 +44,6 @@ public function setAllowCreateFolders($flag)
/**
* Open a connection
*
- * @param array $args
* @return bool
*/
public function open(array $args = [])
diff --git a/lib/Varien/Io/File.php b/lib/Varien/Io/File.php
index d7240ae4cf2..000453326a4 100644
--- a/lib/Varien/Io/File.php
+++ b/lib/Varien/Io/File.php
@@ -231,11 +231,9 @@ public function streamWrite($str)
/**
* Format line as CSV and write to file pointer
*
- * @param array $row
* @param string $delimiter
* @param string $enclosure
* @return bool|int
- *
* @SuppressWarnings(PHPMD.ErrorControlOperator)
*/
public function streamWriteCsv(array $row, $delimiter = ',', $enclosure = '"')
@@ -309,7 +307,6 @@ public function getStreamException()
* Possible arguments:
* - path default current path
*
- * @param array $args
* @return boolean
*/
public function open(array $args = [])
diff --git a/lib/Varien/Io/Ftp.php b/lib/Varien/Io/Ftp.php
index f0a20d51e77..613874c81d6 100644
--- a/lib/Varien/Io/Ftp.php
+++ b/lib/Varien/Io/Ftp.php
@@ -9,7 +9,7 @@
* @category Varien
* @package Varien_Io
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -66,9 +66,7 @@ class Varien_Io_Ftp extends Varien_Io_Abstract
* - path default empty
* - file_mode default FTP_BINARY
*
- * @param array $args
* @return boolean
- *
* @SuppressWarnings(PHPMD.ErrorControlOperator)
*/
public function open(array $args = [])
diff --git a/lib/Varien/Object.php b/lib/Varien/Object.php
index 19fa1d61160..d747316b0c1 100644
--- a/lib/Varien/Object.php
+++ b/lib/Varien/Object.php
@@ -219,7 +219,6 @@ public function setId($value)
*
* Retains previous data in the object.
*
- * @param array $arr
* @return $this
*/
public function addData(array $arr)
@@ -302,13 +301,15 @@ public function unsetOldData($key = null)
}
/**
- * Retrieves data from the object
+ * Object data getter
*
- * If $key is empty will return all the data as an array
- * Otherwise it will return value of the attribute specified by $key
+ * If $key is not defined will return all the data as an array.
+ * Otherwise, it will return value of the element specified by $key.
+ * It is possible to use keys like a/b/c for access nested array data
*
* If $index is specified it will assume that attribute data is an array
- * and retrieve corresponding member.
+ * and retrieve corresponding member. If data is the string - it will be explode
+ * by new line character and converted to array.
*
* @param string $key
* @param string|int $index
@@ -320,56 +321,61 @@ public function getData($key = '', $index = null)
return $this->_data;
}
- $default = null;
-
- // accept a/b/c as ['a']['b']['c']
- if (strpos($key, '/')) {
- $keyArr = explode('/', $key);
- $data = $this->_data;
- foreach ($keyArr as $i => $k) {
- if ($k === '') {
- return $default;
- }
- if (is_array($data)) {
- if (!isset($data[$k])) {
- return $default;
- }
- $data = $data[$k];
- } elseif ($data instanceof Varien_Object) {
- $data = $data->getData($k);
- } else {
- return $default;
- }
- }
- return $data;
+ $data = $this->_data[$key] ?? null;
+ if ($data === null && $key !== null && strpos($key, '/') !== false) {
+ /* process a/b/c key as ['a']['b']['c'] */
+ $data = $this->getDataByPath($key);
}
- // legacy functionality for $index
- if (isset($this->_data[$key])) {
- if (is_null($index)) {
- return $this->_data[$key];
+ if ($index !== null) {
+ if ($data === (array)$data) {
+ $data = $data[$index] ?? null;
+ } elseif (is_string($data)) {
+ $data = explode(PHP_EOL, $data);
+ $data = $data[$index] ?? null;
+ } elseif ($data instanceof Varien_Object) {
+ $data = $data->getData($index);
+ } else {
+ $data = null;
}
+ }
+ return $data;
+ }
+
+ /**
+ * Get object data by path
+ *
+ * Method consider the path as chain of keys: a/b/c => ['a']['b']['c']
+ *
+ * @param string $path
+ * @return mixed
+ */
+ public function getDataByPath($path)
+ {
+ $keys = explode('/', (string)$path);
- $value = $this->_data[$key];
- if (is_array($value)) {
- //if (isset($value[$index]) && (!empty($value[$index]) || strlen($value[$index]) > 0)) {
- /**
- * If we have any data, even if it empty - we should use it, anyway
- */
- if (isset($value[$index])) {
- return $value[$index];
- }
+ $data = $this->_data;
+ foreach ($keys as $key) {
+ if ((array)$data === $data && isset($data[$key])) {
+ $data = $data[$key];
+ } elseif ($data instanceof Varien_Object) {
+ $data = $data->getDataByKey($key);
+ } else {
return null;
- } elseif (is_string($value)) {
- $arr = explode("\n", $value);
- return (isset($arr[$index]) && (!empty($arr[$index]) || strlen($arr[$index]) > 0))
- ? $arr[$index] : null;
- } elseif ($value instanceof Varien_Object) {
- return $value->getData($index);
}
- return $default;
}
- return $default;
+ return $data;
+ }
+
+ /**
+ * Get object data by particular key
+ *
+ * @param string $key
+ * @return mixed
+ */
+ public function getDataByKey($key)
+ {
+ return $this->_getData($key);
}
/**
@@ -380,7 +386,7 @@ public function getData($key = '', $index = null)
*/
protected function _getData($key)
{
- return isset($this->_data[$key]) ? $this->_data[$key] : null;
+ return $this->_data[$key] ?? null;
}
/**
@@ -466,7 +472,6 @@ public function __toArray(array $arrAttributes = [])
/**
* Public wrapper for __toArray
*
- * @param array $arrAttributes
* @return array
*/
public function toArray(array $arrAttributes = [])
@@ -478,7 +483,6 @@ public function toArray(array $arrAttributes = [])
* Set required array elements
*
* @param array $arr
- * @param array $elements
* @return array
*/
protected function _prepareArray(&$arr, array $elements = [])
@@ -528,7 +532,6 @@ protected function __toXml(array $arrAttributes = [], $rootName = 'item', $addOp
/**
* Public wrapper for __toXml
*
- * @param array $arrAttributes
* @param string $rootName
* @param bool $addOpenTag
* @param bool $addCdata
@@ -555,7 +558,6 @@ protected function __toJson(array $arrAttributes = [])
/**
* Public wrapper for __toJson
*
- * @param array $arrAttributes
* @return string
*/
public function toJson(array $arrAttributes = [])
@@ -611,14 +613,14 @@ public function __call($method, $args)
case 'get':
//Varien_Profiler::start('GETTER: '.get_class($this).'::'.$method);
$key = $this->_underscore(substr($method, 3));
- $data = $this->getData($key, isset($args[0]) ? $args[0] : null);
+ $data = $this->getData($key, $args[0] ?? null);
//Varien_Profiler::stop('GETTER: '.get_class($this).'::'.$method);
return $data;
case 'set':
//Varien_Profiler::start('SETTER: '.get_class($this).'::'.$method);
$key = $this->_underscore(substr($method, 3));
- $result = $this->setData($key, isset($args[0]) ? $args[0] : null);
+ $result = $this->setData($key, $args[0] ?? null);
//Varien_Profiler::stop('SETTER: '.get_class($this).'::'.$method);
return $result;
@@ -635,7 +637,10 @@ public function __call($method, $args)
//Varien_Profiler::stop('HAS: '.get_class($this).'::'.$method);
return isset($this->_data[$key]);
}
- throw new Varien_Exception('Invalid method ' . get_class($this) . '::' . $method . '(' . print_r($args, 1) . ')');
+ throw new Varien_Exception(
+ // phpcs:ignore Ecg.Security.ForbiddenFunction.Found
+ 'Invalid method ' . get_class($this) . '::' . $method . '(' . print_r($args, 1) . ')'
+ );
}
/**
@@ -716,7 +721,6 @@ protected function _camelize($name)
*/
public function serialize($attributes = [], $valueSeparator = '=', $fieldSeparator = ' ', $quote = '"')
{
- $res = '';
$data = [];
if (empty($attributes)) {
$attributes = array_keys($this->_data);
@@ -727,8 +731,7 @@ public function serialize($attributes = [], $valueSeparator = '=', $fieldSeparat
$data[] = $key . $valueSeparator . $quote . $value . $quote;
}
}
- $res = implode($fieldSeparator, $data);
- return $res;
+ return implode($fieldSeparator, $data);
}
/**
@@ -790,7 +793,6 @@ public function offsetSet($offset, $value): void
*
* @link http://www.php.net/manual/en/arrayaccess.offsetexists.php
* @param string $offset
- * @return bool
*/
public function offsetExists($offset): bool
{
@@ -818,7 +820,7 @@ public function offsetUnset($offset): void
#[\ReturnTypeWillChange]
public function offsetGet($offset)
{
- return isset($this->_data[$offset]) ? $this->_data[$offset] : null;
+ return $this->_data[$offset] ?? null;
}
/**
diff --git a/lib/Varien/Object/Mapper.php b/lib/Varien/Object/Mapper.php
index cf49b1d9109..67055f5629d 100644
--- a/lib/Varien/Object/Mapper.php
+++ b/lib/Varien/Object/Mapper.php
@@ -9,7 +9,7 @@
* @category Varien
* @package Varien_Object
* @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com)
- * @copyright Copyright (c) 2022-2023 The OpenMage Contributors (https://www.openmage.org)
+ * @copyright Copyright (c) 2022-2024 The OpenMage Contributors (https://www.openmage.org)
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
@@ -41,8 +41,6 @@ class Varien_Object_Mapper
*
* @param array|Varien_Object|callback $from
* @param array|Varien_Object|callback $to
- * @param array $map
- * @param array $defaults
* @return array|Varien_Object
*/
public static function &accumulateByMap($from, $to, array $map, array $defaults = [])
diff --git a/lib/Varien/Simplexml/Config.php b/lib/Varien/Simplexml/Config.php
index ab458e4d9e1..6ff8d31499e 100644
--- a/lib/Varien/Simplexml/Config.php
+++ b/lib/Varien/Simplexml/Config.php
@@ -101,7 +101,6 @@ public function __construct($sourceData = null)
/**
* Sets xml for this configuration
*
- * @param Varien_Simplexml_Element $node
* @return $this
*/
public function setXml(Varien_Simplexml_Element $node)
@@ -525,7 +524,6 @@ public function processFileData($text)
}
/**
- * @param Varien_Simplexml_Config $config
* @param boolean $overwrite
* @return $this
*/
diff --git a/tests/unit/Base/ClassLoadingTest.php b/tests/unit/Base/ClassLoadingTest.php
index 888807397f2..a63a8a501cd 100644
--- a/tests/unit/Base/ClassLoadingTest.php
+++ b/tests/unit/Base/ClassLoadingTest.php
@@ -23,9 +23,6 @@ class ClassLoadingTest extends TestCase
{
/**
* @dataProvider provideClassExistsData
- * @param bool $expectedResult
- * @param string $class
- * @return void
*/
public function testClassExists(bool $expectedResult, string $class): void
{
diff --git a/tests/unit/Base/XmlFileLoadingTest.php b/tests/unit/Base/XmlFileLoadingTest.php
index 8cca409ddc2..21f5786ee29 100644
--- a/tests/unit/Base/XmlFileLoadingTest.php
+++ b/tests/unit/Base/XmlFileLoadingTest.php
@@ -26,8 +26,6 @@ class XmlFileLoadingTest extends TestCase
/**
*
* @dataProvider provideXmlFiles
- * @param string $filepath
- * @return void
*/
public function testFileLoading(string $filepath): void
{
@@ -43,8 +41,6 @@ public function testFileLoading(string $filepath): void
/**
*
* @dataProvider provideXmlFiles
- * @param string $filepath
- * @return void
*/
public function testXmlReaderIsValid(string $filepath): void
{
diff --git a/tests/unit/Mage/Admin/Helper/BlockTest.php b/tests/unit/Mage/Admin/Helper/BlockTest.php
index 84e2acef6b7..e1a00662bae 100644
--- a/tests/unit/Mage/Admin/Helper/BlockTest.php
+++ b/tests/unit/Mage/Admin/Helper/BlockTest.php
@@ -23,9 +23,6 @@
class BlockTest extends TestCase
{
- /**
- * @var Mage_Admin_Helper_Block
- */
public Mage_Admin_Helper_Block $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Admin/Helper/DataTest.php b/tests/unit/Mage/Admin/Helper/DataTest.php
index 62941ebe628..1e35f4a51d7 100644
--- a/tests/unit/Mage/Admin/Helper/DataTest.php
+++ b/tests/unit/Mage/Admin/Helper/DataTest.php
@@ -23,9 +23,6 @@
class DataTest extends TestCase
{
- /**
- * @var Mage_Admin_Helper_Data
- */
public Mage_Admin_Helper_Data $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Admin/Model/UserTest.php b/tests/unit/Mage/Admin/Model/UserTest.php
index fb891d31869..52bacec5d81 100644
--- a/tests/unit/Mage/Admin/Model/UserTest.php
+++ b/tests/unit/Mage/Admin/Model/UserTest.php
@@ -23,9 +23,6 @@
class UserTest extends TestCase
{
- /**
- * @var Mage_Admin_Model_User
- */
public Mage_Admin_Model_User $subject;
public function setUp(): void
@@ -37,8 +34,6 @@ public function setUp(): void
/**
* @dataProvider provideValidateData
* @param array|true $expectedResult
- * @param array $methods
- * @return void
*
* @group Mage_Admin
* @group Mage_Admin_Model
diff --git a/tests/unit/Mage/Admin/Model/VariableTest.php b/tests/unit/Mage/Admin/Model/VariableTest.php
index a9e30854137..04e2558a40e 100644
--- a/tests/unit/Mage/Admin/Model/VariableTest.php
+++ b/tests/unit/Mage/Admin/Model/VariableTest.php
@@ -23,9 +23,6 @@
class VariableTest extends TestCase
{
- /**
- * @var Mage_Admin_Model_Variable
- */
public Mage_Admin_Model_Variable $subject;
public function setUp(): void
@@ -37,9 +34,6 @@ public function setUp(): void
/**
* @dataProvider provideValidateData
* @param array|true $expectedResult
- * @param string $variableName
- * @param string $isAllowed
- * @return void
*
* @group Mage_Admin
*/
diff --git a/tests/unit/Mage/Adminhtml/Block/Customer/Edit/Tab/AccountTest.php b/tests/unit/Mage/Adminhtml/Block/Customer/Edit/Tab/AccountTest.php
index a0a76a62e3f..285320d1597 100644
--- a/tests/unit/Mage/Adminhtml/Block/Customer/Edit/Tab/AccountTest.php
+++ b/tests/unit/Mage/Adminhtml/Block/Customer/Edit/Tab/AccountTest.php
@@ -25,9 +25,6 @@
class AccountTest extends TestCase
{
- /**
- * @var Mage_Adminhtml_Block_Customer_Edit_Tab_Account
- */
public Mage_Adminhtml_Block_Customer_Edit_Tab_Account $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Adminhtml/Block/Customer/Edit/Tab/AddressesTest.php b/tests/unit/Mage/Adminhtml/Block/Customer/Edit/Tab/AddressesTest.php
index 0a3ac3bbcb1..c378f22e685 100644
--- a/tests/unit/Mage/Adminhtml/Block/Customer/Edit/Tab/AddressesTest.php
+++ b/tests/unit/Mage/Adminhtml/Block/Customer/Edit/Tab/AddressesTest.php
@@ -24,9 +24,6 @@
class AddressesTest extends TestCase
{
- /**
- * @var Mage_Adminhtml_Block_Customer_Edit_Tab_Addresses
- */
public Mage_Adminhtml_Block_Customer_Edit_Tab_Addresses $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Adminhtml/Block/Customer/Edit/Tab/NewsletterTest.php b/tests/unit/Mage/Adminhtml/Block/Customer/Edit/Tab/NewsletterTest.php
index 67ec8c251a9..817bcf863d2 100644
--- a/tests/unit/Mage/Adminhtml/Block/Customer/Edit/Tab/NewsletterTest.php
+++ b/tests/unit/Mage/Adminhtml/Block/Customer/Edit/Tab/NewsletterTest.php
@@ -24,9 +24,6 @@
class NewsletterTest extends TestCase
{
- /**
- * @var Mage_Adminhtml_Block_Customer_Edit_Tab_Newsletter
- */
public Mage_Adminhtml_Block_Customer_Edit_Tab_Newsletter $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Adminhtml/Block/System/Cache/Form/FormTest.php b/tests/unit/Mage/Adminhtml/Block/System/Cache/Form/FormTest.php
index 3f7fd007991..6ce95285fd4 100644
--- a/tests/unit/Mage/Adminhtml/Block/System/Cache/Form/FormTest.php
+++ b/tests/unit/Mage/Adminhtml/Block/System/Cache/Form/FormTest.php
@@ -23,9 +23,6 @@
class FormTest extends TestCase
{
- /**
- * @var Mage_Adminhtml_Block_System_Cache_Form
- */
public Mage_Adminhtml_Block_System_Cache_Form $subject;
public function setUp(): void
@@ -36,8 +33,6 @@ public function setUp(): void
}
/**
- * @return void
- *
* @group Mage_Adminhtml
*/
public function testInitForm(): void
diff --git a/tests/unit/Mage/Adminhtml/Block/System/Config/Form/FormTest.php b/tests/unit/Mage/Adminhtml/Block/System/Config/Form/FormTest.php
index dc6d49b52e5..db3e41430fe 100644
--- a/tests/unit/Mage/Adminhtml/Block/System/Config/Form/FormTest.php
+++ b/tests/unit/Mage/Adminhtml/Block/System/Config/Form/FormTest.php
@@ -23,9 +23,6 @@
class FormTest extends TestCase
{
- /**
- * @var Mage_Adminhtml_Block_System_Config_Form
- */
public Mage_Adminhtml_Block_System_Config_Form $subject;
public function setUp(): void
@@ -36,8 +33,6 @@ public function setUp(): void
}
/**
- * @return void
- *
* @group Mage_Adminhtml
*/
public function testInitForm(): void
diff --git a/tests/unit/Mage/Adminhtml/Block/System/Convert/Gui/Edit/Tab/ViewTest.php b/tests/unit/Mage/Adminhtml/Block/System/Convert/Gui/Edit/Tab/ViewTest.php
index e237e3b681c..433b9c1d4fe 100644
--- a/tests/unit/Mage/Adminhtml/Block/System/Convert/Gui/Edit/Tab/ViewTest.php
+++ b/tests/unit/Mage/Adminhtml/Block/System/Convert/Gui/Edit/Tab/ViewTest.php
@@ -24,9 +24,6 @@
class ViewTest extends TestCase
{
- /**
- * @var Mage_Adminhtml_Block_System_Convert_Gui_Edit_Tab_View
- */
public Mage_Adminhtml_Block_System_Convert_Gui_Edit_Tab_View $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Adminhtml/Block/System/Convert/Profile/Edit/Tab/EditTest.php b/tests/unit/Mage/Adminhtml/Block/System/Convert/Profile/Edit/Tab/EditTest.php
index 4b262bbfc45..ae38cdfa4f7 100644
--- a/tests/unit/Mage/Adminhtml/Block/System/Convert/Profile/Edit/Tab/EditTest.php
+++ b/tests/unit/Mage/Adminhtml/Block/System/Convert/Profile/Edit/Tab/EditTest.php
@@ -24,9 +24,6 @@
class EditTest extends TestCase
{
- /**
- * @var Mage_Adminhtml_Block_System_Convert_Profile_Edit_Tab_Edit
- */
public Mage_Adminhtml_Block_System_Convert_Profile_Edit_Tab_Edit $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Cms/Helper/DataTest.php b/tests/unit/Mage/Cms/Helper/DataTest.php
index 7b5f09ab4b6..953c9267e55 100644
--- a/tests/unit/Mage/Cms/Helper/DataTest.php
+++ b/tests/unit/Mage/Cms/Helper/DataTest.php
@@ -26,9 +26,6 @@ class DataTest extends TestCase
{
public const TEST_STRING = '1234567890';
- /**
- * @var Mage_Cms_Helper_Data
- */
public Mage_Cms_Helper_Data $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Core/Helper/CookieTest.php b/tests/unit/Mage/Core/Helper/CookieTest.php
index c54173cce3b..86f02e54a76 100644
--- a/tests/unit/Mage/Core/Helper/CookieTest.php
+++ b/tests/unit/Mage/Core/Helper/CookieTest.php
@@ -23,9 +23,6 @@
class CookieTest extends TestCase
{
- /**
- * @var Mage_Core_Helper_Cookie
- */
public Mage_Core_Helper_Cookie $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Core/Helper/DataTest.php b/tests/unit/Mage/Core/Helper/DataTest.php
index 0f628c9451c..0ebb92464b2 100644
--- a/tests/unit/Mage/Core/Helper/DataTest.php
+++ b/tests/unit/Mage/Core/Helper/DataTest.php
@@ -27,9 +27,6 @@ class DataTest extends TestCase
{
public const TEST_STRING = '1234567890';
- /**
- * @var Mage_Core_Helper_Data
- */
public Mage_Core_Helper_Data $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Core/Helper/EnvironmentConfigLoaderTest.php b/tests/unit/Mage/Core/Helper/EnvironmentConfigLoaderTest.php
index 0df3a194aff..d5f22a6378c 100644
--- a/tests/unit/Mage/Core/Helper/EnvironmentConfigLoaderTest.php
+++ b/tests/unit/Mage/Core/Helper/EnvironmentConfigLoaderTest.php
@@ -79,7 +79,6 @@ public function testXmlHasTestStrings(): void
/**
* @dataProvider envOverridesCorrectConfigKeysDataProvider
- * @param array $config
*
* @group Mage_Core
* @group Mage_Core_Helper
@@ -281,9 +280,6 @@ public function envDoesNotOverrideOnWrongConfigKeysDataProvider(): array
];
}
- /**
- * @return string
- */
public function getTestXml(): string
{
return << $allowedTags
- * @return void
*
* @group Mage_Core
*/
@@ -47,10 +41,7 @@ public function testToSting(string $expectedResult, string $string, ?array $allo
/**
* @dataProvider provideHtmlEscapedStringGetUnescapedValueData
- * @param string $expectedResult
- * @param string $string
* @param array $allowedTags
- * @return void
*
* @group Mage_Core
*/
diff --git a/tests/unit/Mage/Core/Model/WebsiteTest.php b/tests/unit/Mage/Core/Model/WebsiteTest.php
index a25cda689b3..f0b5bf678ce 100644
--- a/tests/unit/Mage/Core/Model/WebsiteTest.php
+++ b/tests/unit/Mage/Core/Model/WebsiteTest.php
@@ -27,9 +27,6 @@
class WebsiteTest extends TestCase
{
- /**
- * @var Mage_Core_Model_Website
- */
public Mage_Core_Model_Website $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Customer/Model/Convert/Adapter/CustomerTest.php b/tests/unit/Mage/Customer/Model/Convert/Adapter/CustomerTest.php
index bcd4c7ea96c..0cd08647cd7 100644
--- a/tests/unit/Mage/Customer/Model/Convert/Adapter/CustomerTest.php
+++ b/tests/unit/Mage/Customer/Model/Convert/Adapter/CustomerTest.php
@@ -24,9 +24,6 @@
class CustomerTest extends TestCase
{
- /**
- * @var Mage_Customer_Model_Convert_Adapter_Customer
- */
public Mage_Customer_Model_Convert_Adapter_Customer $subject;
public function setUp(): void
@@ -36,108 +33,105 @@ public function setUp(): void
}
// /**
-// * @return void
-// * @throws Throwable
-// *
-// * @group Mage_Customer
-// */
-// public function testSaveRowNoWebsite(): void
-// {
-// $data = [];
-// try {
-// $this->subject->saveRow($data);
-// $this->fail();
-// } catch (Mage_Core_Exception $e) {
-// $this->assertEquals('Skipping import row, required field "website" is not defined.', $e->getMessage());
-// }
-// }
-//
-// /**
-// * @return void
-// * @throws Throwable
-// *
-// * @group Mage_Customer
-// */
-// public function testSaveRowNoEmail(): void
-// {
-// $data = [
-// 'website' => 'base',
-// ];
-// try {
-// $this->subject->saveRow($data);
-// $this->fail();
-// } catch (Mage_Core_Exception $e) {
-// $this->assertEquals('Skipping import row, required field "email" is not defined.', $e->getMessage());
-// }
-// }
-//
-// /**
-// * @return void
-// * @throws Throwable
-// *
-// * @group Mage_Customer
-// */
-// public function testSaveRowNoGroup(): void
-// {
-// $data = [
-// 'website' => 'base',
-// 'email' => 'test@example.com',
-// ];
-// try {
-// $this->subject->saveRow($data);
-// $this->fail();
-// } catch (Mage_Core_Exception $e) {
-// $this->assertEquals('Skipping import row, the value "" is not valid for the "group" field.', $e->getMessage());
-// }
-// }
-//
-// /**
-// * @return void
-// * @throws Throwable
-// *
-// * @group Mage_Customer
-// */
-// public function testSaveRowNoFirstname(): void
-// {
-// $data = [
-// 'website' => 'base',
-// 'email' => 'test@example.com',
-// 'group' => 'General',
-// ];
-// try {
-// $this->subject->saveRow($data);
-// $this->fail();
-// } catch (Mage_Core_Exception $e) {
-// $this->expectExceptionMessage('Skip import row, required field "firstname" for the new customer is not defined.');
-// }
-// }
-//
-// /**
-// * @return void
-// * @throws Throwable
-// *
-// * @group Mage_Customer
-// */
-// public function testSaveRowNoLastname(): void
-// {
-// $data = [
-// 'website' => 'base',
-// 'email' => 'test@example.com',
-// 'group' => 'General',
-// 'firstname' => 'John',
-// ];
-// try {
-// $this->subject->saveRow($data);
-// $this->fail();
-// } catch (Mage_Core_Exception $e) {
-// $this->assertEquals('Skip import row, required field "lastname" for the new customer is not defined.', $e->getMessage());
-// }
-// }
-
+ // * @return void
+ // * @throws Throwable
+ // *
+ // * @group Mage_Customer
+ // */
+ // public function testSaveRowNoWebsite(): void
+ // {
+ // $data = [];
+ // try {
+ // $this->subject->saveRow($data);
+ // $this->fail();
+ // } catch (Mage_Core_Exception $e) {
+ // $this->assertEquals('Skipping import row, required field "website" is not defined.', $e->getMessage());
+ // }
+ // }
+ //
+ // /**
+ // * @return void
+ // * @throws Throwable
+ // *
+ // * @group Mage_Customer
+ // */
+ // public function testSaveRowNoEmail(): void
+ // {
+ // $data = [
+ // 'website' => 'base',
+ // ];
+ // try {
+ // $this->subject->saveRow($data);
+ // $this->fail();
+ // } catch (Mage_Core_Exception $e) {
+ // $this->assertEquals('Skipping import row, required field "email" is not defined.', $e->getMessage());
+ // }
+ // }
+ //
+ // /**
+ // * @return void
+ // * @throws Throwable
+ // *
+ // * @group Mage_Customer
+ // */
+ // public function testSaveRowNoGroup(): void
+ // {
+ // $data = [
+ // 'website' => 'base',
+ // 'email' => 'test@example.com',
+ // ];
+ // try {
+ // $this->subject->saveRow($data);
+ // $this->fail();
+ // } catch (Mage_Core_Exception $e) {
+ // $this->assertEquals('Skipping import row, the value "" is not valid for the "group" field.', $e->getMessage());
+ // }
+ // }
+ //
+ // /**
+ // * @return void
+ // * @throws Throwable
+ // *
+ // * @group Mage_Customer
+ // */
+ // public function testSaveRowNoFirstname(): void
+ // {
+ // $data = [
+ // 'website' => 'base',
+ // 'email' => 'test@example.com',
+ // 'group' => 'General',
+ // ];
+ // try {
+ // $this->subject->saveRow($data);
+ // $this->fail();
+ // } catch (Mage_Core_Exception $e) {
+ // $this->expectExceptionMessage('Skip import row, required field "firstname" for the new customer is not defined.');
+ // }
+ // }
+ //
+ // /**
+ // * @return void
+ // * @throws Throwable
+ // *
+ // * @group Mage_Customer
+ // */
+ // public function testSaveRowNoLastname(): void
+ // {
+ // $data = [
+ // 'website' => 'base',
+ // 'email' => 'test@example.com',
+ // 'group' => 'General',
+ // 'firstname' => 'John',
+ // ];
+ // try {
+ // $this->subject->saveRow($data);
+ // $this->fail();
+ // } catch (Mage_Core_Exception $e) {
+ // $this->assertEquals('Skip import row, required field "lastname" for the new customer is not defined.', $e->getMessage());
+ // }
+ // }
/**
- * @return void
* @throws Throwable
- *
* @group Mage_Customer
*/
public function testSaveRow(): void
diff --git a/tests/unit/Mage/Downloadable/Helper/FileTest.php b/tests/unit/Mage/Downloadable/Helper/FileTest.php
index 83d48bf4314..f7dab1cc54b 100644
--- a/tests/unit/Mage/Downloadable/Helper/FileTest.php
+++ b/tests/unit/Mage/Downloadable/Helper/FileTest.php
@@ -23,9 +23,6 @@
class FileTest extends TestCase
{
- /**
- * @var Mage_Downloadable_Helper_File
- */
public Mage_Downloadable_Helper_File $subject;
public function setUp(): void
@@ -36,10 +33,6 @@ public function setUp(): void
/**
* @dataProvider provideGetFilePathData
- * @param string $expectedResult
- * @param string $path
- * @param string|null $file
- * @return void
*
* @group Mage_Downloadable
*/
diff --git a/tests/unit/Mage/Log/Helper/DataTest.php b/tests/unit/Mage/Log/Helper/DataTest.php
index 698a8a6493c..f80bf35d482 100644
--- a/tests/unit/Mage/Log/Helper/DataTest.php
+++ b/tests/unit/Mage/Log/Helper/DataTest.php
@@ -25,9 +25,6 @@ class DataTest extends TestCase
{
public const TEST_STRING = '1234567890';
- /**
- * @var Mage_Log_Helper_Data
- */
public Mage_Log_Helper_Data $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Log/Model/CronTest.php b/tests/unit/Mage/Log/Model/CronTest.php
index 0d754ab0795..e32f95bd266 100644
--- a/tests/unit/Mage/Log/Model/CronTest.php
+++ b/tests/unit/Mage/Log/Model/CronTest.php
@@ -23,9 +23,6 @@
class CronTest extends TestCase
{
- /**
- * @var Mage_Log_Model_Cron
- */
public Mage_Log_Model_Cron $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Log/Model/LogTest.php b/tests/unit/Mage/Log/Model/LogTest.php
index d6c3031da1f..d8581165a59 100644
--- a/tests/unit/Mage/Log/Model/LogTest.php
+++ b/tests/unit/Mage/Log/Model/LogTest.php
@@ -23,9 +23,6 @@
class LogTest extends TestCase
{
- /**
- * @var Mage_Log_Model_Log
- */
public Mage_Log_Model_Log $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Log/Model/VisitorTest.php b/tests/unit/Mage/Log/Model/VisitorTest.php
index b1f549cc958..605a3f31eae 100644
--- a/tests/unit/Mage/Log/Model/VisitorTest.php
+++ b/tests/unit/Mage/Log/Model/VisitorTest.php
@@ -23,9 +23,6 @@
class VisitorTest extends TestCase
{
- /**
- * @var Mage_Log_Model_Visitor
- */
public Mage_Log_Model_Visitor $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Page/Block/Html/HeadTest.php b/tests/unit/Mage/Page/Block/Html/HeadTest.php
index a7a5366f6c7..779e31323c5 100644
--- a/tests/unit/Mage/Page/Block/Html/HeadTest.php
+++ b/tests/unit/Mage/Page/Block/Html/HeadTest.php
@@ -23,9 +23,6 @@
class HeadTest extends TestCase
{
- /**
- * @var Mage_Page_Block_Html_Head
- */
public Mage_Page_Block_Html_Head $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Page/Block/Html/HeaderTest.php b/tests/unit/Mage/Page/Block/Html/HeaderTest.php
index 8651f82c8bf..d3fd54d04eb 100644
--- a/tests/unit/Mage/Page/Block/Html/HeaderTest.php
+++ b/tests/unit/Mage/Page/Block/Html/HeaderTest.php
@@ -24,9 +24,6 @@
class HeaderTest extends TestCase
{
- /**
- * @var Mage_Page_Block_Html_Header
- */
public Mage_Page_Block_Html_Header $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Page/Block/HtmlTest.php b/tests/unit/Mage/Page/Block/HtmlTest.php
index 2701dd9ac69..52b969d5784 100644
--- a/tests/unit/Mage/Page/Block/HtmlTest.php
+++ b/tests/unit/Mage/Page/Block/HtmlTest.php
@@ -23,9 +23,6 @@
class HtmlTest extends TestCase
{
- /**
- * @var Mage_Page_Block_Html
- */
public Mage_Page_Block_Html $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Page/Block/RedirectTest.php b/tests/unit/Mage/Page/Block/RedirectTest.php
index 333a2a67cd0..6c4dc432f50 100644
--- a/tests/unit/Mage/Page/Block/RedirectTest.php
+++ b/tests/unit/Mage/Page/Block/RedirectTest.php
@@ -23,9 +23,6 @@
class RedirectTest extends TestCase
{
- /**
- * @var Mage_Page_Block_Redirect
- */
public Mage_Page_Block_Redirect $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Page/Block/SwitchTest.php b/tests/unit/Mage/Page/Block/SwitchTest.php
index b0b7049c04b..b71c5ff1157 100644
--- a/tests/unit/Mage/Page/Block/SwitchTest.php
+++ b/tests/unit/Mage/Page/Block/SwitchTest.php
@@ -23,9 +23,6 @@
class SwitchTest extends TestCase
{
- /**
- * @var Mage_Page_Block_Switch
- */
public Mage_Page_Block_Switch $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Sitemap/Model/SitemapTest.php b/tests/unit/Mage/Sitemap/Model/SitemapTest.php
index ef5c6ec880a..32e658e0f0c 100644
--- a/tests/unit/Mage/Sitemap/Model/SitemapTest.php
+++ b/tests/unit/Mage/Sitemap/Model/SitemapTest.php
@@ -23,9 +23,6 @@
class SitemapTest extends TestCase
{
- /**
- * @var Mage_Sitemap_Model_Sitemap
- */
public Mage_Sitemap_Model_Sitemap $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Uploader/Helper/DataTest.php b/tests/unit/Mage/Uploader/Helper/DataTest.php
index 735f8d95fad..ca94d5b71e2 100644
--- a/tests/unit/Mage/Uploader/Helper/DataTest.php
+++ b/tests/unit/Mage/Uploader/Helper/DataTest.php
@@ -23,9 +23,6 @@
class DataTest extends TestCase
{
- /**
- * @var Mage_Uploader_Helper_Data
- */
public Mage_Uploader_Helper_Data $subject;
public function setUp(): void
diff --git a/tests/unit/Mage/Uploader/Helper/FileTest.php b/tests/unit/Mage/Uploader/Helper/FileTest.php
index e815c3cf5de..fa159a197bd 100644
--- a/tests/unit/Mage/Uploader/Helper/FileTest.php
+++ b/tests/unit/Mage/Uploader/Helper/FileTest.php
@@ -24,9 +24,6 @@
class FileTest extends TestCase
{
- /**
- * @var Mage_Uploader_Helper_File
- */
public Mage_Uploader_Helper_File $subject;
public function setUp(): void
@@ -43,7 +40,6 @@ public function setUp(): void
* @dataProvider provideGetMimeTypeFromExtensionListData
* @param array $expectedResult
* @param string|array $extensionsList
- * @return void
*
* @group Mage_Uploader
*/
@@ -117,9 +113,6 @@ public function testGetDataMaxSize(): void
/**
* @dataProvider provideGetDataMaxSizeInBytesData
- * @param int $expectedResult
- * @param string $maxSize
- * @return void
*
* @group Mage_Uploader
*/
diff --git a/tests/unit/Varien/ObjectTest.php b/tests/unit/Varien/ObjectTest.php
index 928275852a4..16070cddb9c 100644
--- a/tests/unit/Varien/ObjectTest.php
+++ b/tests/unit/Varien/ObjectTest.php
@@ -24,9 +24,6 @@
class ObjectTest extends TestCase
{
- /**
- * @var Varien_Object
- */
public Varien_Object $subject;
public function setUp(): void
@@ -39,9 +36,7 @@ public function setUp(): void
* @param mixed $expectedResult
* @param string $setKey
* @param mixed $setValue
- * @param string $key
* @param string|int|null $index
- * @return void
*
* @group Varien_Object
*/