From 49c6711fc569c0b8c55476ef2efd6a945970c602 Mon Sep 17 00:00:00 2001 From: Sven Reichel Date: Tue, 17 Sep 2024 01:59:53 +0200 Subject: [PATCH 1/2] Fixed some typos --- app/code/core/Mage/Admin/Model/Session.php | 6 +++--- .../Product/Composite/Fieldset/Configurable.php | 4 ++-- .../Mage/Adminhtml/Block/Catalog/Product/Created.php | 4 ++-- .../Product/Edit/Action/Attribute/Tab/Attributes.php | 4 ++-- .../Mage/Adminhtml/Block/Catalog/Product/Edit/Js.php | 4 ++-- .../Block/Catalog/Product/Helper/Form/Apply.php | 4 ++-- .../Mage/Adminhtml/Block/Cms/Wysiwyg/Images/Tree.php | 4 ++-- .../Block/Customer/Edit/Renderer/Adminpass.php | 2 +- .../Adminhtml/Block/Customer/Edit/Renderer/Newpass.php | 2 +- .../core/Mage/Adminhtml/Block/Report/Filter/Form.php | 6 +++--- .../core/Mage/Adminhtml/Block/Report/Grid/Abstract.php | 4 ++-- .../Mage/Adminhtml/Block/Sales/Order/Create/Data.php | 4 ++-- .../Block/Sales/Order/Create/Giftmessage/Form.php | 6 +++--- .../Adminhtml/Block/Sales/Transactions/Detail/Grid.php | 4 ++-- .../core/Mage/Adminhtml/Block/System/Config/Form.php | 2 +- .../System/Config/Form/Field/Select/Allowspecific.php | 4 ++-- .../System/Config/Form/Field/Select/Flatcatalog.php | 4 ++-- .../Adminhtml/Block/System/Email/Template/Edit.php | 4 ++-- .../core/Mage/Adminhtml/Block/Tag/Store/Switcher.php | 4 ++-- app/code/core/Mage/Adminhtml/Block/Urlrewrite.php | 4 ++-- .../Block/Widget/Grid/Column/Filter/Abstract.php | 4 ++-- .../Adminhtml/Block/Widget/Grid/Column/Filter/Date.php | 4 ++-- .../Block/Widget/Grid/Column/Filter/Theme.php | 4 ++-- .../Block/Widget/Grid/Column/Renderer/Theme.php | 4 ++-- .../Mage/Adminhtml/Block/Widget/Grid/Serializer.php | 4 ++-- app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php | 2 +- app/code/core/Mage/Adminhtml/Controller/Action.php | 6 +++--- app/code/core/Mage/Adminhtml/Model/Email/Template.php | 6 +++--- .../Adminhtml/Model/System/Config/Backend/Category.php | 4 ++-- .../Mage/Adminhtml/controllers/CacheController.php | 4 ++-- .../controllers/Catalog/CategoryController.php | 2 +- .../Mage/Adminhtml/controllers/CustomerController.php | 4 ++-- .../Mage/Adminhtml/controllers/IndexController.php | 2 +- .../Adminhtml/controllers/Sales/OrderController.php | 2 +- app/code/core/Mage/Api/Model/Wsdl/Config/Base.php | 4 ++-- app/code/core/Mage/Api2/Model/Resource.php | 4 ++-- app/code/core/Mage/Api2/Model/Response.php | 4 ++-- .../Catalog/Product/Edit/Tab/Attributes/Extend.php | 2 +- .../Block/Adminhtml/Sales/Order/Items/Renderer.php | 2 +- .../Mage/Bundle/Block/Checkout/Cart/Item/Renderer.php | 4 ++-- .../Mage/Bundle/Block/Sales/Order/Items/Renderer.php | 2 +- .../core/Mage/Catalog/Block/Product/List/Upsell.php | 4 ++-- .../Catalog/Block/Product/View/Type/Configurable.php | 4 ++-- app/code/core/Mage/Catalog/Helper/Category.php | 4 ++-- app/code/core/Mage/Catalog/Helper/Data.php | 4 ++-- app/code/core/Mage/Catalog/Helper/Product/Url.php | 8 ++++---- app/code/core/Mage/Catalog/Model/Api2/Product/Rest.php | 4 ++-- .../Catalog/Model/Api2/Product/Validator/Product.php | 4 ++-- app/code/core/Mage/Catalog/Model/Category.php | 2 +- app/code/core/Mage/Catalog/Model/Category/Api.php | 2 +- app/code/core/Mage/Catalog/Model/Product.php | 4 ++-- .../core/Mage/Catalog/Model/Product/Flat/Indexer.php | 4 ++-- app/code/core/Mage/Catalog/Model/Product/Image.php | 4 ++-- .../core/Mage/Catalog/Model/Product/Indexer/Price.php | 4 ++-- app/code/core/Mage/Catalog/Model/Resource/Abstract.php | 4 ++-- .../core/Mage/Catalog/Model/Resource/Category/Flat.php | 2 +- .../Mage/Catalog/Model/Resource/Product/Action.php | 4 ++-- .../Mage/Catalog/Model/Resource/Product/Collection.php | 6 +++--- .../Model/Resource/Product/Compare/Item/Collection.php | 2 +- .../core/Mage/Catalog/Model/Resource/Product/Flat.php | 6 +++--- .../Catalog/Model/Resource/Product/Flat/Indexer.php | 2 +- .../Catalog/Model/Resource/Product/Option/Value.php | 4 ++-- .../Mage/Catalog/Model/Resource/Product/Status.php | 4 ++-- .../Product/Type/Configurable/Attribute/Collection.php | 4 ++-- app/code/core/Mage/Catalog/Model/Resource/Setup.php | 4 ++-- app/code/core/Mage/Catalog/Model/Resource/Url.php | 6 +++--- app/code/core/Mage/Catalog/Model/Url.php | 4 ++-- .../Mage/Catalog/controllers/CategoryController.php | 4 ++-- .../Mage/Catalog/controllers/ProductController.php | 6 +++--- .../sql/catalog_setup/mysql4-upgrade-0.7.57-0.7.58.php | 4 ++-- app/code/core/Mage/CatalogIndex/Model/Indexer.php | 2 +- app/code/core/Mage/CatalogIndex/Model/Observer.php | 4 ++-- .../core/Mage/CatalogInventory/Model/Stock/Item.php | 2 +- app/code/core/Mage/CatalogSearch/Model/Advanced.php | 4 ++-- .../Mage/CatalogSearch/Model/Fulltext/Observer.php | 4 ++-- .../Mage/CatalogSearch/Model/Resource/Fulltext.php | 2 +- .../CatalogSearch/Model/Resource/Fulltext/Engine.php | 4 ++-- .../CatalogSearch/Model/Resource/Helper/Mysql4.php | 2 +- app/code/core/Mage/Centinel/Model/Api.php | 4 ++-- app/code/core/Mage/Centinel/Model/Api/Client.php | 2 +- .../controllers/Adminhtml/Centinel/IndexController.php | 6 +++--- .../core/Mage/Centinel/controllers/IndexController.php | 6 +++--- app/code/core/Mage/Checkout/Block/Onepage/Billing.php | 4 ++-- app/code/core/Mage/Checkout/Block/Onepage/Shipping.php | 4 ++-- app/code/core/Mage/Checkout/Helper/Cart.php | 4 ++-- .../core/Mage/Checkout/Model/Type/Multishipping.php | 4 ++-- app/code/core/Mage/Cms/Helper/Wysiwyg/Images.php | 4 ++-- .../cms_setup/data-upgrade-1.6.0.0.0-1.6.0.0.1.php | 2 +- app/code/core/Mage/Core/Block/Abstract.php | 2 +- .../Mage/Core/Controller/Varien/Router/Standard.php | 4 ++-- app/code/core/Mage/Core/Helper/Data.php | 4 ++-- app/code/core/Mage/Core/Helper/Js.php | 2 +- app/code/core/Mage/Core/Model/Abstract.php | 4 ++-- app/code/core/Mage/Core/Model/Config.php | 4 ++-- app/code/core/Mage/Core/Model/Design/Package.php | 2 +- .../core/Mage/Core/Model/Email/Template/Filter.php | 4 ++-- .../core/Mage/Core/Model/Email/Template/Mailer.php | 4 ++-- app/code/core/Mage/Core/Model/File/Storage.php | 4 ++-- .../Mage/Core/Model/Input/Filter/MaliciousCode.php | 2 +- app/code/core/Mage/Core/Model/Layout/Update.php | 4 ++-- app/code/core/Mage/Core/Model/Locale.php | 9 +++++---- .../Mage/Core/Model/Mysql4/Variable/Collection.php | 4 ++-- .../core/Mage/Core/Model/Resource/Email/Template.php | 4 ++-- .../core/Mage/Core/Model/Resource/Helper/Mysql4.php | 2 +- app/code/core/Mage/Core/Model/Resource/Setup.php | 4 ++-- .../Mage/Core/Model/Resource/Setup/Query/Modifier.php | 10 +++++----- app/code/core/Mage/Core/Model/Resource/Transaction.php | 4 ++-- .../Mage/Core/Model/Resource/Variable/Collection.php | 4 ++-- .../core/Mage/Core/Model/Session/Abstract/Varien.php | 2 +- .../core/Mage/Core/Model/Session/Abstract/Zend.php | 4 ++-- app/code/core/Mage/Core/Model/Store.php | 4 ++-- app/code/core/Mage/Core/Model/Template.php | 6 +++--- app/code/core/Mage/Core/Model/Translate.php | 2 +- app/code/core/Mage/Core/Model/Url.php | 2 +- app/code/core/Mage/Customer/Model/Api2/Customer.php | 4 ++-- .../core/Mage/Customer/Model/Api2/Customer/Address.php | 4 ++-- .../Customer/Model/Api2/Customer/Address/Validator.php | 4 ++-- app/code/core/Mage/Customer/Model/Config/Share.php | 4 ++-- app/code/core/Mage/Customer/Model/Session.php | 4 ++-- .../Mage/Customer/controllers/AccountController.php | 4 ++-- app/code/core/Mage/Customer/etc/config.xml | 2 +- app/code/core/Mage/Customer/etc/system.xml | 2 +- app/code/core/Mage/Directory/Block/Currency.php | 4 ++-- .../Directory/Model/Resource/Country/Collection.php | 2 +- .../sql/directory_setup/mysql4-upgrade-0.8.6-0.8.7.php | 4 ++-- app/code/core/Mage/Downloadable/Model/Observer.php | 4 ++-- .../Block/Adminhtml/Attribute/Edit/Main/Abstract.php | 4 ++-- app/code/core/Mage/Eav/Model/Entity/Abstract.php | 2 +- .../Eav/Model/Entity/Attribute/Backend/Datetime.php | 6 +++--- .../Eav/Model/Entity/Attribute/Frontend/Abstract.php | 4 ++-- .../core/Mage/Eav/Model/Entity/Collection/Abstract.php | 4 ++-- .../Eav/Model/Resource/Entity/Attribute/Collection.php | 4 ++-- app/code/core/Mage/GiftMessage/Helper/Message.php | 4 ++-- app/code/core/Mage/GiftMessage/Model/Message.php | 4 ++-- app/code/core/Mage/GiftMessage/Model/Observer.php | 4 ++-- .../ImportExport/Block/Adminhtml/Export/Filter.php | 4 ++-- app/code/core/Mage/ImportExport/Model/Abstract.php | 6 +++--- .../Mage/ImportExport/Model/Export/Adapter/Csv.php | 4 ++-- .../Mage/ImportExport/Model/Export/Entity/Customer.php | 4 ++-- .../Model/Export/Entity/Product/Type/Abstract.php | 4 ++-- .../Model/Export/Entity/Product/Type/Simple.php | 4 ++-- .../Mage/ImportExport/Model/Import/Adapter/Csv.php | 4 ++-- .../Mage/ImportExport/Model/Import/Entity/Customer.php | 2 +- .../Mage/ImportExport/Model/Import/Entity/Product.php | 6 +++--- .../Model/Import/Entity/Product/Type/Configurable.php | 2 +- app/code/core/Mage/Index/Model/Process.php | 4 ++-- app/code/core/Mage/Install/Model/Installer.php | 4 ++-- app/code/core/Mage/Install/Model/Installer/Console.php | 4 ++-- .../core/Mage/Install/controllers/WizardController.php | 2 +- app/code/core/Mage/Media/Model/Image.php | 4 ++-- .../Newsletter/Model/Resource/Problem/Collection.php | 2 +- .../Newsletter/Model/Resource/Queue/Collection.php | 4 ++-- app/code/core/Mage/Page/Block/Html.php | 4 ++-- app/code/core/Mage/Page/Block/Html/Head.php | 2 +- app/code/core/Mage/Page/Block/Template/Links/Block.php | 6 +++--- app/code/core/Mage/Paygate/Model/Authorizenet.php | 6 +++--- .../core/Mage/Paygate/Model/Authorizenet/Cards.php | 4 ++-- .../Mage/Payment/Model/Billing/AgreementAbstract.php | 4 ++-- app/code/core/Mage/Paypal/Model/Api/Nvp.php | 6 +++--- app/code/core/Mage/Paypal/Model/Cart.php | 6 +++--- app/code/core/Mage/Paypal/Model/Config.php | 2 +- app/code/core/Mage/Paypal/Model/Direct.php | 4 ++-- app/code/core/Mage/Paypal/Model/Express/Checkout.php | 2 +- app/code/core/Mage/Paypal/Model/Hostedpro/Request.php | 6 +++--- app/code/core/Mage/Paypal/Model/Pro.php | 4 ++-- app/code/core/Mage/Paypal/Model/Report/Settlement.php | 2 +- .../core/Mage/Reports/Model/Product/Index/Abstract.php | 4 ++-- app/code/core/Mage/Reports/Model/Resource/Event.php | 2 +- .../Mage/Reports/Model/Resource/Order/Collection.php | 4 ++-- .../Reports/Model/Resource/Product/Sold/Collection.php | 4 ++-- app/code/core/Mage/Rss/Block/Catalog/Special.php | 4 ++-- .../Block/Adminhtml/Recurring/Profile/Edit/Form.php | 2 +- app/code/core/Mage/Sales/Block/Order/Comments.php | 4 ++-- .../Model/Mysql4/Quote/Address/Rate/Collection.php | 4 ++-- app/code/core/Mage/Sales/Model/Observer.php | 2 +- app/code/core/Mage/Sales/Model/Order.php | 4 ++-- app/code/core/Mage/Sales/Model/Order/Creditmemo.php | 6 +++--- app/code/core/Mage/Sales/Model/Order/Invoice.php | 6 +++--- .../Mage/Sales/Model/Order/Invoice/Total/Discount.php | 6 +++--- .../Mage/Sales/Model/Order/Invoice/Total/Shipping.php | 4 ++-- app/code/core/Mage/Sales/Model/Order/Payment.php | 10 +++++----- .../Mage/Sales/Model/Order/Payment/Transaction.php | 2 +- app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php | 2 +- app/code/core/Mage/Sales/Model/Order/Shipment.php | 6 +++--- .../core/Mage/Sales/Model/Order/Shipment/Track.php | 4 ++-- app/code/core/Mage/Sales/Model/Quote.php | 2 +- app/code/core/Mage/Sales/Model/Quote/Address.php | 2 +- .../Mage/Sales/Model/Quote/Address/Total/Subtotal.php | 4 ++-- app/code/core/Mage/Sales/Model/Quote/Item.php | 4 ++-- app/code/core/Mage/Sales/Model/Quote/Item/Abstract.php | 4 ++-- .../Model/Resource/Quote/Address/Rate/Collection.php | 4 ++-- app/code/core/Mage/Sales/Model/Service/Order.php | 4 ++-- app/code/core/Mage/Sales/Model/Service/Quote.php | 10 +++++----- app/code/core/Mage/SalesRule/Model/Validator.php | 4 ++-- app/code/core/Mage/Shipping/Model/Shipping.php | 4 ++-- app/code/core/Mage/Tag/controllers/IndexController.php | 2 +- app/code/core/Mage/Tax/Block/Sales/Order/Tax.php | 4 ++-- app/code/core/Mage/Tax/Helper/Data.php | 2 +- app/code/core/Mage/Tax/Model/Config.php | 6 +++--- app/code/core/Mage/Tax/Model/Sales/Total/Quote/Tax.php | 6 +++--- app/code/core/Mage/Uploader/Model/Config/Uploader.php | 4 ++-- app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php | 6 +++--- .../Usa/Model/Shipping/Carrier/Dhl/International.php | 2 +- .../Shipping/Carrier/Dhl/Label/Pdf/PageBuilder.php | 4 ++-- .../core/Mage/Usa/Model/Shipping/Carrier/Fedex.php | 4 ++-- app/code/core/Mage/Weee/Helper/Data.php | 4 ++-- app/code/core/Mage/Weee/Model/Observer.php | 4 ++-- app/code/core/Mage/Weee/Model/Total/Quote/Weee.php | 4 ++-- .../Block/Adminhtml/Widget/Instance/Edit/Tab/Main.php | 4 ++-- .../Model/Resource/Widget/Instance/Collection.php | 4 ++-- app/code/core/Mage/Widget/Model/Widget/Instance.php | 8 ++++---- .../core/Mage/Wishlist/Block/Share/Email/Items.php | 4 ++-- .../Mage/Wishlist/Model/Resource/Item/Collection.php | 6 +++--- .../Wishlist/Model/Resource/Product/Collection.php | 8 ++++---- lib/3Dsecure/CentinelClient.php | 2 +- lib/Mage/Archive/Tar.php | 2 +- lib/Mage/HTTP/Client/Curl.php | 4 ++-- lib/Mage/HTTP/Client/Socket.php | 2 +- lib/Mage/System/Ftp.php | 2 +- lib/Magento/Db/Adapter/Pdo/Mysql.php | 4 ++-- lib/Varien/Cache/Backend/Database.php | 4 ++-- lib/Varien/Cache/Backend/Memcached.php | 4 ++-- lib/Varien/Cache/Core.php | 6 +++--- lib/Varien/Crypt/Mcrypt.php | 4 ++-- lib/Varien/Data/Collection/Db.php | 4 ++-- lib/Varien/Data/Collection/Filesystem.php | 4 ++-- lib/Varien/Data/Tree/Db.php | 4 ++-- lib/Varien/Data/Tree/Dbp.php | 6 +++--- lib/Varien/Db/Adapter/Interface.php | 6 +++--- lib/Varien/Db/Adapter/Pdo/Mysql.php | 10 +++++----- lib/Varien/Db/Ddl/Table.php | 4 ++-- lib/Varien/Db/Select.php | 2 +- lib/Varien/Db/Statement/Parameter.php | 4 ++-- lib/Varien/Db/Tree.php | 2 +- lib/Varien/Debug.php | 2 +- lib/Varien/Directory/Factory.php | 2 +- lib/Varien/Event/Collection.php | 4 ++-- lib/Varien/Event/Observer.php | 4 ++-- lib/Varien/Event/Observer/Cron.php | 4 ++-- lib/Varien/Event/Observer/Regex.php | 4 ++-- lib/Varien/File/Uploader.php | 6 +++--- lib/Varien/Filter/Template.php | 2 +- lib/Varien/Filter/Template/Tokenizer/Abstract.php | 4 ++-- lib/Varien/Filter/Template/Tokenizer/Parameter.php | 4 ++-- lib/Varien/Filter/Template/Tokenizer/Variable.php | 4 ++-- lib/Varien/Image.php | 4 ++-- lib/Varien/Io/Abstract.php | 6 +++--- lib/Varien/Io/File.php | 4 ++-- lib/Varien/Object.php | 6 +++--- lib/Varien/Simplexml/Config/Cache/Abstract.php | 4 ++-- 250 files changed, 495 insertions(+), 494 deletions(-) diff --git a/app/code/core/Mage/Admin/Model/Session.php b/app/code/core/Mage/Admin/Model/Session.php index eb1ae01cd51..44df8b46d1b 100644 --- a/app/code/core/Mage/Admin/Model/Session.php +++ b/app/code/core/Mage/Admin/Model/Session.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_Admin * @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) */ @@ -54,7 +54,7 @@ class Mage_Admin_Model_Session extends Mage_Core_Model_Session_Abstract public const XML_PATH_ALLOW_SID_FOR_ADMIN_AREA = 'web/session/use_admin_sid'; /** - * Whether it is the first page after successfull login + * Whether it is the first page after successful login * * @var bool|null */ @@ -256,7 +256,7 @@ public function isLoggedIn() } /** - * Check if it is the first page after successfull login + * Check if it is the first page after successful login * * @return bool */ diff --git a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Composite/Fieldset/Configurable.php b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Composite/Fieldset/Configurable.php index c291a852609..663680b618a 100644 --- a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Composite/Fieldset/Configurable.php +++ b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Composite/Fieldset/Configurable.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) */ @@ -50,7 +50,7 @@ public function getCurrentStore() } /** - * Returns additional values for js config, con be overriden by descedants + * Returns additional values for js config, con be overridden by descendants * * @return array */ diff --git a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Created.php b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Created.php index feb9993cac7..72fb1619cc0 100644 --- a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Created.php +++ b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Created.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) */ @@ -54,7 +54,7 @@ public function getProductId() } /** - * Indentifies edit mode of popup + * Identifies edit mode of popup * * @return bool */ diff --git a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Action/Attribute/Tab/Attributes.php b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Action/Attribute/Tab/Attributes.php index 7180ac936f6..635f03fd065 100644 --- a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Action/Attribute/Tab/Attributes.php +++ b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Action/Attribute/Tab/Attributes.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) */ @@ -79,7 +79,7 @@ protected function _getAdditionalElementTypes() } /** - * Custom additional elemnt html + * Custom additional element html * * @param Varien_Data_Form_Element_Abstract $element * @return string diff --git a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Js.php b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Js.php index 122bdbff703..e1bbd83c3a3 100644 --- a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Js.php +++ b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Js.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) */ @@ -30,7 +30,7 @@ public function getProduct() } /** - * Get store object of curently edited product + * Get store object of currently edited product * * @return Mage_Core_Model_Store */ diff --git a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Apply.php b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Apply.php index 7beec3267fd..772ad938511 100644 --- a/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Apply.php +++ b/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Apply.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) */ @@ -43,7 +43,7 @@ public function getElementHtml() } /** - * Dublicate interface of Varien_Data_Form_Element_Abstract::setReadonly + * Duplicate interface of Varien_Data_Form_Element_Abstract::setReadonly * * @param bool $readonly * @param bool $useDisabled diff --git a/app/code/core/Mage/Adminhtml/Block/Cms/Wysiwyg/Images/Tree.php b/app/code/core/Mage/Adminhtml/Block/Cms/Wysiwyg/Images/Tree.php index df3cf52634b..7773d50d3f2 100644 --- a/app/code/core/Mage/Adminhtml/Block/Cms/Wysiwyg/Images/Tree.php +++ b/app/code/core/Mage/Adminhtml/Block/Cms/Wysiwyg/Images/Tree.php @@ -9,12 +9,12 @@ * @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) */ /** - * Directoty tree renderer for Cms Wysiwyg Images + * Directory tree renderer for Cms Wysiwyg Images * * @category Mage * @package Mage_Adminhtml 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 2cb9ece0f8e..e8bbff52117 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 @@ -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) */ 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 c6ec84db4ec..964289dc0c0 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 @@ -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) */ diff --git a/app/code/core/Mage/Adminhtml/Block/Report/Filter/Form.php b/app/code/core/Mage/Adminhtml/Block/Report/Filter/Form.php index 171a5a7e780..a7e8797beaa 100644 --- a/app/code/core/Mage/Adminhtml/Block/Report/Filter/Form.php +++ b/app/code/core/Mage/Adminhtml/Block/Report/Filter/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) */ @@ -32,7 +32,7 @@ class Mage_Adminhtml_Block_Report_Filter_Form extends Mage_Adminhtml_Block_Widge protected $_fieldVisibility = []; /** - * Report field opions + * Report field options */ protected $_fieldOptions = []; @@ -170,7 +170,7 @@ protected function _prepareForm() } /** - * Initialize form fileds values + * Initialize form fields values * Method will be called after prepareForm and can be used for field values initialization * * @return Mage_Adminhtml_Block_Widget_Form diff --git a/app/code/core/Mage/Adminhtml/Block/Report/Grid/Abstract.php b/app/code/core/Mage/Adminhtml/Block/Report/Grid/Abstract.php index b1e0bd63cd2..309c04c6eda 100644 --- a/app/code/core/Mage/Adminhtml/Block/Report/Grid/Abstract.php +++ b/app/code/core/Mage/Adminhtml/Block/Report/Grid/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) 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) */ @@ -85,7 +85,7 @@ protected function _getAggregatedColumns() /** * Add column to grid - * Overriden to add support for visibility_filter column option + * Overridden to add support for visibility_filter column option * It stands for conditional visibility of the column depending on filter field values * Value of visibility_filter supports (filter_field_name => filter_field_value) pairs * diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Data.php b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Data.php index fc68328add8..e10e46eeaa2 100644 --- a/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Data.php +++ b/app/code/core/Mage/Adminhtml/Block/Sales/Order/Create/Data.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,7 @@ class Mage_Adminhtml_Block_Sales_Order_Create_Data extends Mage_Adminhtml_Block_Sales_Order_Create_Abstract { /** - * Retrieve avilable currency codes + * Retrieve available currency codes * * @return array */ 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 069215bfe1d..dc12ff48b96 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 @@ -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) */ @@ -146,7 +146,7 @@ public function _prepareForm() $this->_prepareVisibleFields($fieldset); } - // Set default sender and recipient from billing and shipping adresses + // Set default sender and recipient from billing and shipping addresses if (!$this->getMessage()->getSender()) { $this->getMessage()->setSender($this->getDefaultSender()); } @@ -157,7 +157,7 @@ public function _prepareForm() $this->getMessage()->setType($this->getEntityType()); - // Overriden default data with edited when block reloads througth Ajax + // Overridden default data with edited when block reloads through Ajax $this->_applyPostData(); $form->setValues($this->getMessage()->getData()); diff --git a/app/code/core/Mage/Adminhtml/Block/Sales/Transactions/Detail/Grid.php b/app/code/core/Mage/Adminhtml/Block/Sales/Transactions/Detail/Grid.php index ed9dcafca94..04175b38040 100644 --- a/app/code/core/Mage/Adminhtml/Block/Sales/Transactions/Detail/Grid.php +++ b/app/code/core/Mage/Adminhtml/Block/Sales/Transactions/Detail/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) 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) */ @@ -75,7 +75,7 @@ protected function _prepareColumns() } /** - * Retrieve Transaction addtitional info + * Retrieve Transaction additional info * * @return array */ diff --git a/app/code/core/Mage/Adminhtml/Block/System/Config/Form.php b/app/code/core/Mage/Adminhtml/Block/System/Config/Form.php index 680430e58d9..407e35d8226 100644 --- a/app/code/core/Mage/Adminhtml/Block/System/Config/Form.php +++ b/app/code/core/Mage/Adminhtml/Block/System/Config/Form.php @@ -704,7 +704,7 @@ protected function _getAdditionalElementTypes() } /** - * Temporary moved those $this->getRequest()->getParam('blabla') from the code accross this block + * Temporary moved those $this->getRequest()->getParam('blabla') from the code across this block * to getBlala() methods to be later set from controller with setters */ /** diff --git a/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Select/Allowspecific.php b/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Select/Allowspecific.php index 4efdaeb089f..3163c807ff4 100644 --- a/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Select/Allowspecific.php +++ b/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Select/Allowspecific.php @@ -9,12 +9,12 @@ * @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) */ /** - * System congifuration shipping methods allow all countries selec + * System configuration shipping methods allow all countries select * * @category Mage * @package Mage_Adminhtml diff --git a/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Select/Flatcatalog.php b/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Select/Flatcatalog.php index 7c99ea1fe0e..910662c9e67 100644 --- a/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Select/Flatcatalog.php +++ b/app/code/core/Mage/Adminhtml/Block/System/Config/Form/Field/Select/Flatcatalog.php @@ -9,12 +9,12 @@ * @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) */ /** - * System congifuration shipping methods allow all countries selec + * System configuration shipping methods allow all countries select * * @category Mage * @package Mage_Adminhtml diff --git a/app/code/core/Mage/Adminhtml/Block/System/Email/Template/Edit.php b/app/code/core/Mage/Adminhtml/Block/System/Email/Template/Edit.php index d8b79e15a22..8400d456284 100644 --- a/app/code/core/Mage/Adminhtml/Block/System/Email/Template/Edit.php +++ b/app/code/core/Mage/Adminhtml/Block/System/Email/Template/Edit.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) */ @@ -358,7 +358,7 @@ public function getUsedCurrentlyForPaths($asJSON = true) } /** - * Convert xml config pathes to decorated names + * Convert xml config paths to decorated names * * @param array $paths * @return array diff --git a/app/code/core/Mage/Adminhtml/Block/Tag/Store/Switcher.php b/app/code/core/Mage/Adminhtml/Block/Tag/Store/Switcher.php index a216632b6ce..a33535e76fa 100644 --- a/app/code/core/Mage/Adminhtml/Block/Tag/Store/Switcher.php +++ b/app/code/core/Mage/Adminhtml/Block/Tag/Store/Switcher.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) */ @@ -27,7 +27,7 @@ class Mage_Adminhtml_Block_Tag_Store_Switcher extends Mage_Adminhtml_Block_Store protected $_hasDefaultOption = false; /** - * Set overriden params + * Set overridden params */ public function __construct() { diff --git a/app/code/core/Mage/Adminhtml/Block/Urlrewrite.php b/app/code/core/Mage/Adminhtml/Block/Urlrewrite.php index 9b565b023ac..4723217fdcf 100644 --- a/app/code/core/Mage/Adminhtml/Block/Urlrewrite.php +++ b/app/code/core/Mage/Adminhtml/Block/Urlrewrite.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,7 @@ class Mage_Adminhtml_Block_Urlrewrite extends Mage_Adminhtml_Block_Widget_Grid_Container { /** - * Part for generating apropriate grid block name + * Part for generating appropriate grid block name * * @var string */ diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Abstract.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Abstract.php index 667a6a9895d..7ed15de8e9d 100644 --- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Abstract.php +++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Abstract.php @@ -9,12 +9,12 @@ * @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) */ /** - * Grid colum filter block + * Grid column filter block * * @category Mage * @package Mage_Adminhtml diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Date.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Date.php index b2328125cce..e8a07feb76c 100644 --- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Date.php +++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/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) */ @@ -182,7 +182,7 @@ protected function _convertDate($date, $locale) Mage::app()->getStore()->getConfig(Mage_Core_Model_Locale::XML_PATH_DEFAULT_TIMEZONE) ); - //set begining of day + //set beginning of day $dateObj->setHour(00); $dateObj->setMinute(00); $dateObj->setSecond(00); diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Theme.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Theme.php index f60c84e799d..e431e6cfddc 100644 --- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Theme.php +++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column/Filter/Theme.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) */ @@ -41,7 +41,7 @@ public function getHtml() } /** - * Retrieve options setted in column. + * Retrieve options set in column. * Or load if options was not set. * * @return array 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 f4a5b1bed69..c698b11353c 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 @@ -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,7 @@ public function render(Varien_Object $row) } /** - * Retrieve options setted in column. + * Retrieve options set in column. * Or load if options was not set. * * @return array diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Serializer.php b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Serializer.php index 87c0ffeec7f..7ee99cf9395 100644 --- a/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Serializer.php +++ b/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Serializer.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) */ @@ -97,7 +97,7 @@ public function getDataAsJSON() * @param Mage_Adminhtml_Block_Widget_Grid | string $grid grid object or grid block name * @param string $callback block method to retrieve data to serialize * @param string $hiddenInputName hidden input name where serialized data will be store - * @param string $reloadParamName name of request parametr that will be used to save setted data while reload grid + * @param string $reloadParamName name of request parameter that will be used to save set data while reload grid */ public function initSerializerBlock($grid, $callback, $hiddenInputName, $reloadParamName = 'entityCollection') { diff --git a/app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php b/app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php index 737a7f12e6e..8e9f2e9e94a 100644 --- a/app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php +++ b/app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php @@ -395,7 +395,7 @@ public function getTabContent($tab) } /** - * Mark tabs as dependant of each other + * Mark tabs as dependent of each other * Arbitrary number of tabs can be specified, but at least two * * @param string $tabOneId diff --git a/app/code/core/Mage/Adminhtml/Controller/Action.php b/app/code/core/Mage/Adminhtml/Controller/Action.php index f59e33d49a7..ae018c03517 100644 --- a/app/code/core/Mage/Adminhtml/Controller/Action.php +++ b/app/code/core/Mage/Adminhtml/Controller/Action.php @@ -339,9 +339,9 @@ public function __() } /** - * Set referer url for redirect in responce + * Set referer url for redirect in response * - * Is overriden here to set defaultUrl to admin url + * Is overridden here to set defaultUrl to admin url * * @param string $defaultUrl * @return Mage_Adminhtml_Controller_Action @@ -354,7 +354,7 @@ protected function _redirectReferer($defaultUrl = null) } /** - * Set redirect into responce + * Set redirect into response * * @param string $path * @param array $arguments diff --git a/app/code/core/Mage/Adminhtml/Model/Email/Template.php b/app/code/core/Mage/Adminhtml/Model/Email/Template.php index ddf502394c7..d8cf5f761af 100644 --- a/app/code/core/Mage/Adminhtml/Model/Email/Template.php +++ b/app/code/core/Mage/Adminhtml/Model/Email/Template.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) */ @@ -28,7 +28,7 @@ class Mage_Adminhtml_Model_Email_Template extends Mage_Core_Model_Email_Template public const XML_PATH_TEMPLATE_EMAIL = '//sections/*/groups/*/fields/*[source_model="adminhtml/system_config_source_email_template"]'; /** - * Collect all system config pathes where current template is used as default + * Collect all system config paths where current template is used as default * * @return array */ @@ -59,7 +59,7 @@ public function getSystemConfigPathsWhereUsedAsDefault() } /** - * Collect all system config pathes where current template is currently used + * Collect all system config paths where current template is currently used * * @return array */ diff --git a/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Category.php b/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Category.php index 3710f978b8e..66b887168ad 100644 --- a/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Category.php +++ b/app/code/core/Mage/Adminhtml/Model/System/Config/Backend/Category.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) */ @@ -30,7 +30,7 @@ protected function _afterSave() $category = Mage::getSingleton('catalog/category'); $tree = $category->getTreeModel(); - // Create copy of categories attributes for choosed store + // Create copy of categories attributes for chosen store $tree->load(); $root = $tree->getNodeById($rootId); diff --git a/app/code/core/Mage/Adminhtml/controllers/CacheController.php b/app/code/core/Mage/Adminhtml/controllers/CacheController.php index d54f28edb51..37de3175252 100644 --- a/app/code/core/Mage/Adminhtml/controllers/CacheController.php +++ b/app/code/core/Mage/Adminhtml/controllers/CacheController.php @@ -81,7 +81,7 @@ public function flushSystemAction() } /** - * Mass action for cache enabeling + * Mass action for cache enabling */ public function massEnableAction() { @@ -103,7 +103,7 @@ public function massEnableAction() } /** - * Mass action for cache disabeling + * Mass action for cache disabling */ public function massDisableAction() { diff --git a/app/code/core/Mage/Adminhtml/controllers/Catalog/CategoryController.php b/app/code/core/Mage/Adminhtml/controllers/Catalog/CategoryController.php index 102ed3a6a2f..fbde5f4b93c 100644 --- a/app/code/core/Mage/Adminhtml/controllers/Catalog/CategoryController.php +++ b/app/code/core/Mage/Adminhtml/controllers/Catalog/CategoryController.php @@ -318,7 +318,7 @@ public function saveAction() /** * Proceed with $_POST['use_config'] - * set into category model for proccessing through validation + * set into category model for processing through validation */ $category->setData('use_post_data_config', $this->getRequest()->getPost('use_config')); diff --git a/app/code/core/Mage/Adminhtml/controllers/CustomerController.php b/app/code/core/Mage/Adminhtml/controllers/CustomerController.php index 3f9f6544d91..d9daa9f5315 100644 --- a/app/code/core/Mage/Adminhtml/controllers/CustomerController.php +++ b/app/code/core/Mage/Adminhtml/controllers/CustomerController.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) */ @@ -634,7 +634,7 @@ public function validateAction() # additional validate email if (!$response->getError()) { # Trying to load customer with the same email and return error message - # if customer with the same email address exisits + # if customer with the same email address exists $checkCustomer = Mage::getModel('customer/customer') ->setWebsiteId($websiteId); $checkCustomer->loadByEmail($accountData['email']); diff --git a/app/code/core/Mage/Adminhtml/controllers/IndexController.php b/app/code/core/Mage/Adminhtml/controllers/IndexController.php index 071e2aa0753..2e1b04e76f4 100644 --- a/app/code/core/Mage/Adminhtml/controllers/IndexController.php +++ b/app/code/core/Mage/Adminhtml/controllers/IndexController.php @@ -287,7 +287,7 @@ public function resetPasswordAction() /** * Reset forgotten password * - * Used to handle data recieved from reset forgotten password form + * Used to handle data received from reset forgotten password form */ public function resetPasswordPostAction() { diff --git a/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php b/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php index 75d134408af..49c9547e70b 100644 --- a/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php +++ b/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php @@ -618,7 +618,7 @@ public function pdfdocsAction() } /** - * Atempt to void the order payment + * Attempt to void the order payment */ public function voidPaymentAction() { diff --git a/app/code/core/Mage/Api/Model/Wsdl/Config/Base.php b/app/code/core/Mage/Api/Model/Wsdl/Config/Base.php index 2aa6e659c9a..d6130f6b6b1 100644 --- a/app/code/core/Mage/Api/Model/Wsdl/Config/Base.php +++ b/app/code/core/Mage/Api/Model/Wsdl/Config/Base.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) */ @@ -122,7 +122,7 @@ public function loadFile($file) /** * Set variable to be used in WSDL template processing * - * @param string $key Varible key + * @param string $key Variable key * @param string $value Variable value * @return $this */ diff --git a/app/code/core/Mage/Api2/Model/Resource.php b/app/code/core/Mage/Api2/Model/Resource.php index 1ea75077f71..eb467ec1b11 100644 --- a/app/code/core/Mage/Api2/Model/Resource.php +++ b/app/code/core/Mage/Api2/Model/Resource.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) */ @@ -881,7 +881,7 @@ protected function _getLocation($resource) } /** - * Resource specific method to retrieve attributes' codes. May be overriden in child. + * Resource specific method to retrieve attributes' codes. May be overridden in child. * * @return array */ diff --git a/app/code/core/Mage/Api2/Model/Response.php b/app/code/core/Mage/Api2/Model/Response.php index c8663a67a31..b326da33822 100644 --- a/app/code/core/Mage/Api2/Model/Response.php +++ b/app/code/core/Mage/Api2/Model/Response.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) */ @@ -52,7 +52,7 @@ public function setMimeType($mimeType) } /** - * Add message to responce + * Add message to response * * @param string $message * @param string $code diff --git a/app/code/core/Mage/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Extend.php b/app/code/core/Mage/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Extend.php index 5958af79836..1541f63e406 100644 --- a/app/code/core/Mage/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Extend.php +++ b/app/code/core/Mage/Bundle/Block/Adminhtml/Catalog/Product/Edit/Tab/Attributes/Extend.php @@ -14,7 +14,7 @@ */ /** - * Bundle Extended Attribures Block + * Bundle Extended Attributes Block * * @category Mage * @package Mage_Bundle diff --git a/app/code/core/Mage/Bundle/Block/Adminhtml/Sales/Order/Items/Renderer.php b/app/code/core/Mage/Bundle/Block/Adminhtml/Sales/Order/Items/Renderer.php index 8abfd0c37a8..9b6fe9af8da 100644 --- a/app/code/core/Mage/Bundle/Block/Adminhtml/Sales/Order/Items/Renderer.php +++ b/app/code/core/Mage/Bundle/Block/Adminhtml/Sales/Order/Items/Renderer.php @@ -22,7 +22,7 @@ class Mage_Bundle_Block_Adminhtml_Sales_Order_Items_Renderer extends Mage_Adminhtml_Block_Sales_Items_Renderer_Default { /** - * Getting all available childs for Invoice, Shipmen or Creditmemo item + * Getting all available children for Invoice, Shipmen or Credit memo item * * @param Varien_Object $item * @return array diff --git a/app/code/core/Mage/Bundle/Block/Checkout/Cart/Item/Renderer.php b/app/code/core/Mage/Bundle/Block/Checkout/Cart/Item/Renderer.php index c8d1fe26e47..d172cb89421 100644 --- a/app/code/core/Mage/Bundle/Block/Checkout/Cart/Item/Renderer.php +++ b/app/code/core/Mage/Bundle/Block/Checkout/Cart/Item/Renderer.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) */ @@ -79,7 +79,7 @@ public function getMessages() $messages = []; $quoteItem = $this->getItem(); - // Add basic messages occuring during this page load + // Add basic messages occurring during this page load $baseMessages = $quoteItem->getMessage(false); if ($baseMessages) { foreach ($baseMessages as $message) { diff --git a/app/code/core/Mage/Bundle/Block/Sales/Order/Items/Renderer.php b/app/code/core/Mage/Bundle/Block/Sales/Order/Items/Renderer.php index 52a04f04e99..c90f37268a5 100644 --- a/app/code/core/Mage/Bundle/Block/Sales/Order/Items/Renderer.php +++ b/app/code/core/Mage/Bundle/Block/Sales/Order/Items/Renderer.php @@ -140,7 +140,7 @@ public function getValueHtml($item) } /** - * Getting all available childs for Invoice, Shipmen or Creditmemo item + * Getting all available children for Invoice, Shipmen or Credit memo item * * @param Varien_Object $item * @return array diff --git a/app/code/core/Mage/Catalog/Block/Product/List/Upsell.php b/app/code/core/Mage/Catalog/Block/Product/List/Upsell.php index 0a4ed2870cd..8dc1a68d2ff 100644 --- a/app/code/core/Mage/Catalog/Block/Product/List/Upsell.php +++ b/app/code/core/Mage/Catalog/Block/Product/List/Upsell.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) */ @@ -153,7 +153,7 @@ public function getIterableItem() /** * Set how many items we need to show in upsell block - * Notice: this parametr will be also applied + * Notice: this parameter will be also applied * * @param string $type * @param int $limit diff --git a/app/code/core/Mage/Catalog/Block/Product/View/Type/Configurable.php b/app/code/core/Mage/Catalog/Block/Product/View/Type/Configurable.php index 6201403b42a..03bc030f045 100644 --- a/app/code/core/Mage/Catalog/Block/Product/View/Type/Configurable.php +++ b/app/code/core/Mage/Catalog/Block/Product/View/Type/Configurable.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) */ @@ -117,7 +117,7 @@ public function getCurrentStore() } /** - * Returns additional values for js config, con be overriden by descedants + * Returns additional values for js config, con be overridden by descendants * * @return array */ diff --git a/app/code/core/Mage/Catalog/Helper/Category.php b/app/code/core/Mage/Catalog/Helper/Category.php index 5ec837a85b1..97dac42da46 100644 --- a/app/code/core/Mage/Catalog/Helper/Category.php +++ b/app/code/core/Mage/Catalog/Helper/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) 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,7 @@ public function getCategoryUrlSuffix($storeId = null) } /** - * Retrieve clear url for category as parrent + * Retrieve clear url for category as parent * * @param string $urlPath * @param bool $slash diff --git a/app/code/core/Mage/Catalog/Helper/Data.php b/app/code/core/Mage/Catalog/Helper/Data.php index e7e5b758509..efe6e11db43 100644 --- a/app/code/core/Mage/Catalog/Helper/Data.php +++ b/app/code/core/Mage/Catalog/Helper/Data.php @@ -56,7 +56,7 @@ class Mage_Catalog_Helper_Data extends Mage_Core_Helper_Abstract protected $_mapApplyToProductType = null; /** - * Currenty selected store ID if applicable + * Currently selected store ID if applicable * * @var int */ @@ -332,7 +332,7 @@ public function getMsrpExplanationMessage() } /** - * Return MAP explanation message for "Whats This" window + * Return MAP explanation message for "What's This" window * * @return string */ diff --git a/app/code/core/Mage/Catalog/Helper/Product/Url.php b/app/code/core/Mage/Catalog/Helper/Product/Url.php index 428f8a537ec..b94dafe19c6 100644 --- a/app/code/core/Mage/Catalog/Helper/Product/Url.php +++ b/app/code/core/Mage/Catalog/Helper/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) 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,7 @@ class Mage_Catalog_Helper_Product_Url extends Mage_Core_Helper_Url ]; /** - * Check additional instruction for convertation table in configuration + * Check additional instruction for conversion table in configuration */ public function __construct() { @@ -98,7 +98,7 @@ public function __construct() } /** - * Get chars convertation table + * Get chars conversion table * * @return array */ @@ -108,7 +108,7 @@ public function getConvertTable() } /** - * Process string based on convertation table + * Process string based on conversion table * * @param string $string * @return string 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 8bb551dcb00..76689c46481 100644 --- a/app/code/core/Mage/Catalog/Model/Api2/Product/Rest.php +++ b/app/code/core/Mage/Catalog/Model/Api2/Product/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) */ @@ -239,7 +239,7 @@ protected function _getCategoryById($categoryId) /** * Get product price with all tax settings processing * - * @param float $price inputed product price + * @param float $price inputted product price * @param bool $includingTax return price include tax flag * @param null|Mage_Customer_Model_Address $shippingAddress * @param null|Mage_Customer_Model_Address $billingAddress 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 e9f0197a4ff..f65a275ba4d 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 @@ -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) */ @@ -557,7 +557,7 @@ protected function _validateSource($data, $fieldSet, $field, $sourceModelName, $ } /** - * Validate bolean fields value + * Validate boolean fields value * * @param array $data * @param string $fieldSet diff --git a/app/code/core/Mage/Catalog/Model/Category.php b/app/code/core/Mage/Catalog/Model/Category.php index 6eaaf9e5a4f..6009dd9d82d 100644 --- a/app/code/core/Mage/Catalog/Model/Category.php +++ b/app/code/core/Mage/Catalog/Model/Category.php @@ -687,7 +687,7 @@ public function getPathInStore() } /** - * Check category id exising + * Check category id existing * * @param int $id * @return bool diff --git a/app/code/core/Mage/Catalog/Model/Category/Api.php b/app/code/core/Mage/Catalog/Model/Category/Api.php index 731fc6c1d16..9818fba4e37 100644 --- a/app/code/core/Mage/Catalog/Model/Category/Api.php +++ b/app/code/core/Mage/Catalog/Model/Category/Api.php @@ -168,7 +168,7 @@ protected function _nodeToArray(Varien_Data_Tree_Node $node) } /** - * Initilize and return category model + * Initialize and return category model * * @param int $categoryId * @param string|int $store diff --git a/app/code/core/Mage/Catalog/Model/Product.php b/app/code/core/Mage/Catalog/Model/Product.php index 0babefacdd6..f06f79f2d9b 100644 --- a/app/code/core/Mage/Catalog/Model/Product.php +++ b/app/code/core/Mage/Catalog/Model/Product.php @@ -812,7 +812,7 @@ protected function _afterSave() } /** - * Clear chache related with product and protect delete from not admin + * Clear cache related with product and protect delete from not admin * Register indexing event before delete product * * @inheritDoc @@ -1835,7 +1835,7 @@ public function getSku() } /** - * Retrieve weight throught type instance + * Retrieve weight through type instance * * @return float */ diff --git a/app/code/core/Mage/Catalog/Model/Product/Flat/Indexer.php b/app/code/core/Mage/Catalog/Model/Product/Flat/Indexer.php index cbd31eace13..e74b24d69c5 100644 --- a/app/code/core/Mage/Catalog/Model/Product/Flat/Indexer.php +++ b/app/code/core/Mage/Catalog/Model/Product/Flat/Indexer.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) */ @@ -51,7 +51,7 @@ class Mage_Catalog_Model_Product_Flat_Indexer extends Mage_Core_Model_Abstract public const EVENT_TYPE_REBUILD = 'catalog_product_flat_rebuild'; /** - * Standart model resource initialization + * Standard model resource initialization * */ protected function _construct() diff --git a/app/code/core/Mage/Catalog/Model/Product/Image.php b/app/code/core/Mage/Catalog/Model/Product/Image.php index 6e8ff5292f2..b89c67dfb09 100644 --- a/app/code/core/Mage/Catalog/Model/Product/Image.php +++ b/app/code/core/Mage/Catalog/Model/Product/Image.php @@ -739,7 +739,7 @@ public function getWatermarkWidth() } /** - * Set watermark heigth + * Set watermark height * * @param int $heigth * @return $this @@ -751,7 +751,7 @@ public function setWatermarkHeigth($heigth) } /** - * Get watermark heigth + * Get watermark height * * @return string */ 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 dc3cd328b6c..ffb6139589d 100644 --- a/app/code/core/Mage/Catalog/Model/Product/Indexer/Price.php +++ b/app/code/core/Mage/Catalog/Model/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) 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) */ /** @@ -122,7 +122,7 @@ protected function _getDependentAttributes() /** * Check if event can be matched by process. - * Rewrited for checking configuration settings save (like price scope). + * Rewritten for checking configuration settings save (like price scope). * * @param Mage_Index_Model_Event $event * @return bool diff --git a/app/code/core/Mage/Catalog/Model/Resource/Abstract.php b/app/code/core/Mage/Catalog/Model/Resource/Abstract.php index 504ad543b1e..f474fca685d 100644 --- a/app/code/core/Mage/Catalog/Model/Resource/Abstract.php +++ b/app/code/core/Mage/Catalog/Model/Resource/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) */ @@ -569,7 +569,7 @@ protected function _prepareValueForSave($value, Mage_Eav_Model_Entity_Attribute_ * Retrieve attribute's raw value from DB. * * @param int $entityId - * @param int|string|array $attribute atrribute's ids or codes + * @param int|string|array $attribute attribute's ids or codes * @param int|Mage_Core_Model_Store $store * @return bool|string|null|array */ 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 01a153261c2..fef91959b4e 100644 --- a/app/code/core/Mage/Catalog/Model/Resource/Category/Flat.php +++ b/app/code/core/Mage/Catalog/Model/Resource/Category/Flat.php @@ -545,7 +545,7 @@ protected function _prepareValuesToInsert($data) } /** - * Create Flate Table(s) + * Create Flat Table(s) * * @param array|int $stores * @return $this 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 098dd4aa066..c88287d813e 100644 --- a/app/code/core/Mage/Catalog/Model/Resource/Product/Action.php +++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Action.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) */ @@ -22,7 +22,7 @@ class Mage_Catalog_Model_Resource_Product_Action extends Mage_Catalog_Model_Resource_Abstract { /** - * Intialize connection + * Initialize connection * */ protected function _construct() 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 81c61a4297e..91fadd6d1b3 100644 --- a/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php +++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Collection.php @@ -354,7 +354,7 @@ protected function _initTables() } /** - * Standard resource collection initalization + * Standard resource collection initialization * * @inheritDoc */ @@ -750,7 +750,7 @@ public function getMaxAttributeValue($attribute) } /** - * Retrieve ranging product count for arrtibute range + * Retrieve ranging product count for attribute range * * @param string $attribute * @param int $range @@ -1194,7 +1194,7 @@ public function addMinimalPrice() /** * Add minimal price to product collection * - * @deprecated sinse 1.3.2.2 + * @deprecated since 1.3.2.2 * @see Mage_Catalog_Model_Resource_Product_Collection::addPriceData * * @return $this 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 35529fd0e07..306c3ae6a57 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 @@ -141,7 +141,7 @@ public function _addJoinToSelect() } /** - * Retrieve comapre products attribute set ids + * Retrieve compare products attribute set ids * * @return array */ diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Flat.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Flat.php index 268a451d3d0..1a4cefd765a 100644 --- a/app/code/core/Mage/Catalog/Model/Resource/Product/Flat.php +++ b/app/code/core/Mage/Catalog/Model/Resource/Product/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) */ @@ -151,7 +151,7 @@ public function getAllTableColumns() /** * Check whether the attribute is a real field in entity table - * Rewrited for EAV Collection + * Rewritten for EAV Collection * * @param int|string|Mage_Eav_Model_Entity_Attribute_Abstract $attribute * @return bool @@ -180,7 +180,7 @@ public function isAttributeStatic($attribute) /** * Retrieve entity id field name in entity table - * Rewrited for EAV collection compatible + * Rewritten for EAV collection compatible * * @return string */ 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 931e588ce3b..d7d701ef107 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 @@ -747,7 +747,7 @@ public function prepareFlatTable($storeId) 'on_delete' => Varien_Db_Ddl_Table::ACTION_CASCADE ]; - // Additional data from childs + // Additional data from children $isAddChildData = $this->getFlatHelper()->isAddChildData(); if (!$isAddChildData && isset($describe['is_child'])) { $adapter->delete($tableName, ['is_child = ?' => 1]); 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 6bbc85dd21b..7a3199d2431 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 @@ -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) */ @@ -27,7 +27,7 @@ protected function _construct() } /** - * Proceeed operations after object is saved + * Proceed operations after object is saved * Save options store data * * @param Mage_Core_Model_Abstract $object diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Status.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Status.php index e32bc463e1f..c7927efff86 100644 --- a/app/code/core/Mage/Catalog/Model/Resource/Product/Status.php +++ b/app/code/core/Mage/Catalog/Model/Resource/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) 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,7 @@ class Mage_Catalog_Model_Resource_Product_Status extends Mage_Core_Model_Resource_Db_Abstract { /** - * Product atrribute cache + * Product attribute cache * * @var array */ diff --git a/app/code/core/Mage/Catalog/Model/Resource/Product/Type/Configurable/Attribute/Collection.php b/app/code/core/Mage/Catalog/Model/Resource/Product/Type/Configurable/Attribute/Collection.php index 50574a2b9eb..1a22d421888 100644 --- a/app/code/core/Mage/Catalog/Model/Resource/Product/Type/Configurable/Attribute/Collection.php +++ b/app/code/core/Mage/Catalog/Model/Resource/Product/Type/Configurable/Attribute/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) 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) */ @@ -273,7 +273,7 @@ protected function _loadPrices() }); foreach ($pricings[0] as $pricing) { - // Addding pricing to options + // Adding pricing to options $valueKey = $pricing['product_super_attribute_id'] . ':' . $pricing['value_index']; if (isset($values[$valueKey])) { $values[$valueKey]['pricing_value'] = $pricing['pricing_value']; diff --git a/app/code/core/Mage/Catalog/Model/Resource/Setup.php b/app/code/core/Mage/Catalog/Model/Resource/Setup.php index 5552aec4665..767fd49fd25 100644 --- a/app/code/core/Mage/Catalog/Model/Resource/Setup.php +++ b/app/code/core/Mage/Catalog/Model/Resource/Setup.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) */ @@ -57,7 +57,7 @@ protected function _prepareValues($attr) } /** - * Default entites and attributes + * Default entities and attributes * * @return array */ diff --git a/app/code/core/Mage/Catalog/Model/Resource/Url.php b/app/code/core/Mage/Catalog/Model/Resource/Url.php index 6e15bccce99..8c102f56e10 100644 --- a/app/code/core/Mage/Catalog/Model/Resource/Url.php +++ b/app/code/core/Mage/Catalog/Model/Resource/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) 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) */ @@ -808,7 +808,7 @@ public function getCategories($categoryIds, $storeId) } /** - * Retrieve category childs data objects + * Retrieve category children data objects * * @param Varien_Object $category * @return Varien_Object @@ -1294,7 +1294,7 @@ public function getRewriteByProductStore(array $products) * * @param string $requestPath * @param int $storeId - * @param array $_checkedPaths internal varible to prevent infinite loops. + * @param array $_checkedPaths internal variable to prevent infinite loops. * @return string | bool */ public function findFinalTargetPath($requestPath, $storeId, &$_checkedPaths = []) diff --git a/app/code/core/Mage/Catalog/Model/Url.php b/app/code/core/Mage/Catalog/Model/Url.php index a7eb8edd128..7ae42692193 100644 --- a/app/code/core/Mage/Catalog/Model/Url.php +++ b/app/code/core/Mage/Catalog/Model/Url.php @@ -86,7 +86,7 @@ class Mage_Catalog_Model_Url protected $_categoryUrlSuffix = []; /** - * Flag to overwrite config settings for Catalog URL rewrites history maintainance + * Flag to overwrite config settings for Catalog URL rewrites history maintenance * * @var bool */ @@ -433,7 +433,7 @@ public function refreshCategoryRewrite($categoryId, $storeId = null, $refreshPro return $this; } - // Load all childs and refresh all categories + // Load all children and refresh all categories $category = $this->getResource()->loadCategoryChilds($category); $categoryIds = [$category->getId()]; if ($category->getAllChilds()) { diff --git a/app/code/core/Mage/Catalog/controllers/CategoryController.php b/app/code/core/Mage/Catalog/controllers/CategoryController.php index c4d0508411a..9e9ed4e2e25 100644 --- a/app/code/core/Mage/Catalog/controllers/CategoryController.php +++ b/app/code/core/Mage/Catalog/controllers/CategoryController.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) */ @@ -77,7 +77,7 @@ protected function _initCatagory() /** * Recursively apply custom design settings to category if it's option - * custom_use_parent_settings is setted to 1 while parent option is not + * custom_use_parent_settings is set to 1 while parent option is not * * @deprecated after 1.4.2.0-beta1, functionality moved to Mage_Catalog_Model_Design * @param Mage_Catalog_Model_Category $category diff --git a/app/code/core/Mage/Catalog/controllers/ProductController.php b/app/code/core/Mage/Catalog/controllers/ProductController.php index b7d74cfde6a..2a74964971b 100644 --- a/app/code/core/Mage/Catalog/controllers/ProductController.php +++ b/app/code/core/Mage/Catalog/controllers/ProductController.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) */ @@ -59,8 +59,8 @@ protected function _initProductLayout($product) /** * Recursively apply custom design settings to product if it's container - * category custom_use_for_products option is setted to 1. - * If not or product shows not in category - applyes product's internal settings + * category custom_use_for_products option is set to 1. + * If not or product shows not in category - applies product's internal settings * * @deprecated after 1.4.2.0-beta1, functionality moved to Mage_Catalog_Model_Design * @param Mage_Catalog_Model_Category|Mage_Catalog_Model_Product $object diff --git a/app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.7.57-0.7.58.php b/app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.7.57-0.7.58.php index 425e24d471f..030e448597e 100644 --- a/app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.7.57-0.7.58.php +++ b/app/code/core/Mage/Catalog/sql/catalog_setup/mysql4-upgrade-0.7.57-0.7.58.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-2022 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,7 @@ ['entity_type_id','used_in_product_listing'] ); -// Add frontent input renderer +// Add frontend input renderer $installer->getConnection()->addColumn( $installer->getTable('eav/attribute'), 'frontend_input_renderer', diff --git a/app/code/core/Mage/CatalogIndex/Model/Indexer.php b/app/code/core/Mage/CatalogIndex/Model/Indexer.php index 2fe1e0527ef..32888661297 100644 --- a/app/code/core/Mage/CatalogIndex/Model/Indexer.php +++ b/app/code/core/Mage/CatalogIndex/Model/Indexer.php @@ -48,7 +48,7 @@ class Mage_CatalogIndex_Model_Indexer extends Mage_Core_Model_Abstract /** * Set of available indexers - * Each indexer type is responsable for index data storage + * Each indexer type is responsible for index data storage * * @var array */ diff --git a/app/code/core/Mage/CatalogIndex/Model/Observer.php b/app/code/core/Mage/CatalogIndex/Model/Observer.php index de9f42b04b3..7b49cf46ba0 100644 --- a/app/code/core/Mage/CatalogIndex/Model/Observer.php +++ b/app/code/core/Mage/CatalogIndex/Model/Observer.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) */ @@ -223,7 +223,7 @@ public function catalogProductImportAfter(Varien_Event_Observer $observer) } /** - * Run planed reindex + * Run planned reindex * * @return $this */ diff --git a/app/code/core/Mage/CatalogInventory/Model/Stock/Item.php b/app/code/core/Mage/CatalogInventory/Model/Stock/Item.php index 9ec339b8a0e..cae78152fd6 100644 --- a/app/code/core/Mage/CatalogInventory/Model/Stock/Item.php +++ b/app/code/core/Mage/CatalogInventory/Model/Stock/Item.php @@ -157,7 +157,7 @@ protected function _construct() * Init mapping array of short fields to * its full names * - * @resturn Varien_Object + * @return void */ protected function _initOldFieldsMap() { diff --git a/app/code/core/Mage/CatalogSearch/Model/Advanced.php b/app/code/core/Mage/CatalogSearch/Model/Advanced.php index 458e7f58bdf..c716905d802 100644 --- a/app/code/core/Mage/CatalogSearch/Model/Advanced.php +++ b/app/code/core/Mage/CatalogSearch/Model/Advanced.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) */ @@ -283,7 +283,7 @@ protected function _addSearchCriteria($attribute, $value) } /** - * Returns prepared search criterias in text + * Returns prepared search criteria in text * * @return array */ diff --git a/app/code/core/Mage/CatalogSearch/Model/Fulltext/Observer.php b/app/code/core/Mage/CatalogSearch/Model/Fulltext/Observer.php index 6a1f8092998..53829557cea 100644 --- a/app/code/core/Mage/CatalogSearch/Model/Fulltext/Observer.php +++ b/app/code/core/Mage/CatalogSearch/Model/Fulltext/Observer.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) */ @@ -68,7 +68,7 @@ public function cleanProductIndex(Varien_Event_Observer $observer) } /** - * Update all attribute-dependant index + * Update all attribute-dependent index * * @param Varien_Event_Observer $observer * @return $this diff --git a/app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php b/app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php index 7f3a891e8a3..f5e1cceb4b6 100644 --- a/app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php +++ b/app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext.php @@ -477,7 +477,7 @@ protected function _getSearchableAttribute($attribute) } /** - * Returns expresion for field unification + * Returns expression for field unification * * @param string $field * @param string $backendType diff --git a/app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext/Engine.php b/app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext/Engine.php index 9b867b0e5f5..a5a797252a8 100644 --- a/app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext/Engine.php +++ b/app/code/core/Mage/CatalogSearch/Model/Resource/Fulltext/Engine.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) */ @@ -175,7 +175,7 @@ public function isLeyeredNavigationAllowed() } /** - * Define if engine is avaliable + * Define if engine is available * * @return bool */ 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 b29b9ccfa37..bbcf7fb2c6c 100644 --- a/app/code/core/Mage/CatalogSearch/Model/Resource/Helper/Mysql4.php +++ b/app/code/core/Mage/CatalogSearch/Model/Resource/Helper/Mysql4.php @@ -22,7 +22,7 @@ class Mage_CatalogSearch_Model_Resource_Helper_Mysql4 extends Mage_Eav_Model_Resource_Helper_Mysql4 { /** - * Join information for usin full text search + * Join information for using full text search * * @param string $table * @param string $alias diff --git a/app/code/core/Mage/Centinel/Model/Api.php b/app/code/core/Mage/Centinel/Model/Api.php index 4a797cbd520..79c79665b69 100644 --- a/app/code/core/Mage/Centinel/Model/Api.php +++ b/app/code/core/Mage/Centinel/Model/Api.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_Centinel * @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,7 @@ protected function _getVersion() } /** - * Return transaction type. according centinel documetation it should be "C" + * Return transaction type. according centinel documentation it should be "C" * * @return string "C" */ diff --git a/app/code/core/Mage/Centinel/Model/Api/Client.php b/app/code/core/Mage/Centinel/Model/Api/Client.php index 0e572aa6155..4644b5838a7 100644 --- a/app/code/core/Mage/Centinel/Model/Api/Client.php +++ b/app/code/core/Mage/Centinel/Model/Api/Client.php @@ -56,7 +56,7 @@ public function sendHttp($url, $connectTimeout, $timeout) $result = $this->setErrorResponse(CENTINEL_ERROR_CODE_8030, CENTINEL_ERROR_CODE_8030_DESC); } - // Assert that we received an expected Centinel Message in reponse. + // Assert that we received an expected Centinel Message in response. if (strpos($result, '') === false) { $result = $this->setErrorResponse(CENTINEL_ERROR_CODE_8010, CENTINEL_ERROR_CODE_8010_DESC); } diff --git a/app/code/core/Mage/Centinel/controllers/Adminhtml/Centinel/IndexController.php b/app/code/core/Mage/Centinel/controllers/Adminhtml/Centinel/IndexController.php index f132f818e7c..8dba4874521 100644 --- a/app/code/core/Mage/Centinel/controllers/Adminhtml/Centinel/IndexController.php +++ b/app/code/core/Mage/Centinel/controllers/Adminhtml/Centinel/IndexController.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_Centinel * @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,7 @@ public function validatePaymentDataAction() } /** - * Process autentication start action + * Process authentication start action * */ public function authenticationStartAction() @@ -65,7 +65,7 @@ public function authenticationStartAction() } /** - * Process autentication complete action + * Process authentication complete action * */ public function authenticationCompleteAction() diff --git a/app/code/core/Mage/Centinel/controllers/IndexController.php b/app/code/core/Mage/Centinel/controllers/IndexController.php index e17692c0b54..f6553f0ab6f 100644 --- a/app/code/core/Mage/Centinel/controllers/IndexController.php +++ b/app/code/core/Mage/Centinel/controllers/IndexController.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_Centinel * @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,7 @@ class Mage_Centinel_IndexController extends Mage_Core_Controller_Front_Action { /** - * Process autentication start action + * Process authentication start action * */ public function authenticationStartAction() @@ -34,7 +34,7 @@ public function authenticationStartAction() } /** - * Process autentication complete action + * Process authentication complete action * */ public function authenticationCompleteAction() diff --git a/app/code/core/Mage/Checkout/Block/Onepage/Billing.php b/app/code/core/Mage/Checkout/Block/Onepage/Billing.php index c8aea60c55e..dee6612ffc8 100644 --- a/app/code/core/Mage/Checkout/Block/Onepage/Billing.php +++ b/app/code/core/Mage/Checkout/Block/Onepage/Billing.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) */ @@ -22,7 +22,7 @@ class Mage_Checkout_Block_Onepage_Billing extends Mage_Checkout_Block_Onepage_Abstract { /** - * Sales Qoute Billing Address instance + * Sales Quote Billing Address instance * * @var Mage_Sales_Model_Quote_Address|null */ diff --git a/app/code/core/Mage/Checkout/Block/Onepage/Shipping.php b/app/code/core/Mage/Checkout/Block/Onepage/Shipping.php index 5a91416fca6..aaf21d465b6 100644 --- a/app/code/core/Mage/Checkout/Block/Onepage/Shipping.php +++ b/app/code/core/Mage/Checkout/Block/Onepage/Shipping.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) */ @@ -22,7 +22,7 @@ class Mage_Checkout_Block_Onepage_Shipping extends Mage_Checkout_Block_Onepage_Abstract { /** - * Sales Qoute Shipping Address instance + * Sales Quote Shipping Address instance * * @var Mage_Sales_Model_Quote_Address|null */ diff --git a/app/code/core/Mage/Checkout/Helper/Cart.php b/app/code/core/Mage/Checkout/Helper/Cart.php index 057c966ffbf..745d427b433 100644 --- a/app/code/core/Mage/Checkout/Helper/Cart.php +++ b/app/code/core/Mage/Checkout/Helper/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) 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) */ @@ -132,7 +132,7 @@ public function getSummaryCount() } /** - * Check qoute for virtual products only + * Check quote for virtual products only * * @return bool */ diff --git a/app/code/core/Mage/Checkout/Model/Type/Multishipping.php b/app/code/core/Mage/Checkout/Model/Type/Multishipping.php index abe0c8f7ba7..e43f25c459f 100644 --- a/app/code/core/Mage/Checkout/Model/Type/Multishipping.php +++ b/app/code/core/Mage/Checkout/Model/Type/Multishipping.php @@ -162,7 +162,7 @@ public function removeAddressItem($addressId, $itemId) } /** - * Require shiping rate recollect + * Require shipping rate recollect */ $address->setCollectShippingRates((bool) $this->getCollectRatesFlag()); @@ -309,7 +309,7 @@ protected function _addShippingItem($quoteItemId, $data) $quoteAddress->addItem($quoteItem, $qty); } /** - * Require shiping rate recollect + * Require shipping rate recollect */ $quoteAddress->setCollectShippingRates((bool) $this->getCollectRatesFlag()); } diff --git a/app/code/core/Mage/Cms/Helper/Wysiwyg/Images.php b/app/code/core/Mage/Cms/Helper/Wysiwyg/Images.php index 79daa38afd8..21d80cf1a56 100644 --- a/app/code/core/Mage/Cms/Helper/Wysiwyg/Images.php +++ b/app/code/core/Mage/Cms/Helper/Wysiwyg/Images.php @@ -36,7 +36,7 @@ class Mage_Cms_Helper_Wysiwyg_Images extends Mage_Core_Helper_Abstract protected $_currentUrl; /** - * Currenty selected store ID if applicable + * Currently selected store ID if applicable * * @var int */ @@ -266,7 +266,7 @@ public function idEncode($string) } /** - * Revert opration to idEncode + * Revert operation to idEncode * * @param string $string * @return string|false diff --git a/app/code/core/Mage/Cms/data/cms_setup/data-upgrade-1.6.0.0.0-1.6.0.0.1.php b/app/code/core/Mage/Cms/data/cms_setup/data-upgrade-1.6.0.0.0-1.6.0.0.1.php index 19af776518f..3c841aa75e9 100644 --- a/app/code/core/Mage/Cms/data/cms_setup/data-upgrade-1.6.0.0.0-1.6.0.0.1.php +++ b/app/code/core/Mage/Cms/data/cms_setup/data-upgrade-1.6.0.0.0-1.6.0.0.1.php @@ -166,7 +166,7 @@ FRONTEND - You sesssion ID on the server. + You session ID on the server. GUEST-VIEW diff --git a/app/code/core/Mage/Core/Block/Abstract.php b/app/code/core/Mage/Core/Block/Abstract.php index d9bddd6a0e9..fb26088c8b1 100644 --- a/app/code/core/Mage/Core/Block/Abstract.php +++ b/app/code/core/Mage/Core/Block/Abstract.php @@ -74,7 +74,7 @@ abstract class Mage_Core_Block_Abstract extends Varien_Object protected $_parent; /** - * Short alias of this block that was refered from parent + * Short alias of this block that was referred from parent * * @var string */ 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 a1c9aece874..d2ca3106a09 100644 --- a/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php +++ b/app/code/core/Mage/Core/Controller/Varien/Router/Standard.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) */ @@ -289,7 +289,7 @@ protected function _validateControllerInstance($controllerInstance) /** * Generating and validating class file name, - * class and if evrything ok do include if needed and return of class name + * class and if everything ok do include if needed and return of class name * * @param string $realModule * @param string $controller diff --git a/app/code/core/Mage/Core/Helper/Data.php b/app/code/core/Mage/Core/Helper/Data.php index c30f44d89fd..25c53f6c085 100644 --- a/app/code/core/Mage/Core/Helper/Data.php +++ b/app/code/core/Mage/Core/Helper/Data.php @@ -39,7 +39,7 @@ class Mage_Core_Helper_Data extends Mage_Core_Helper_Abstract public const CHARS_PASSWORD_SPECIALS = '!$*-.=?@_'; /** - * Config pathes to merchant country code and merchant VAT number + * Config paths to merchant country code and merchant VAT number */ public const XML_PATH_MERCHANT_COUNTRY_CODE = 'general/store_information/merchant_country'; public const XML_PATH_MERCHANT_VAT_NUMBER = 'general/store_information/merchant_vat_number'; @@ -960,7 +960,7 @@ public function getExactDivision($dividend, $divisor) /** * Escaping CSV-data * - * Security enchancement for CSV data processing by Excel-like applications. + * Security enhancement for CSV data processing by Excel-like applications. * @see https://bugzilla.mozilla.org/show_bug.cgi?id=1054702 * * @param array $data diff --git a/app/code/core/Mage/Core/Helper/Js.php b/app/code/core/Mage/Core/Helper/Js.php index 0ac4c4d0a8f..95f8175c18b 100644 --- a/app/code/core/Mage/Core/Helper/Js.php +++ b/app/code/core/Mage/Core/Helper/Js.php @@ -34,7 +34,7 @@ class Mage_Core_Helper_Js extends Mage_Core_Helper_Abstract protected $_moduleName = 'Mage_Core'; /** - * Array of senteces of JS translations + * Array of sentences of JS translations * * @var array */ diff --git a/app/code/core/Mage/Core/Model/Abstract.php b/app/code/core/Mage/Core/Model/Abstract.php index a1f07d45332..1b7cdd85a11 100644 --- a/app/code/core/Mage/Core/Model/Abstract.php +++ b/app/code/core/Mage/Core/Model/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) 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) */ @@ -345,7 +345,7 @@ public function afterLoad() /** * Check whether model has changed data. * Can be overloaded in child classes to perform advanced check whether model needs to be saved - * e.g. usign resouceModel->hasDataChanged() or any other technique + * e.g. using resourceModel->hasDataChanged() or any other technique * * @return bool */ diff --git a/app/code/core/Mage/Core/Model/Config.php b/app/code/core/Mage/Core/Model/Config.php index 2ef809abf5e..6b7851e3712 100644 --- a/app/code/core/Mage/Core/Model/Config.php +++ b/app/code/core/Mage/Core/Model/Config.php @@ -108,7 +108,7 @@ class Mage_Core_Model_Config extends Mage_Core_Model_Config_Base * array( * $sectionName => $recursionLevel * ) - * Recursion level provide availability cache subnodes separatly + * Recursion level provide availability cache sub-nodes separately * * @var array */ @@ -455,7 +455,7 @@ public function reinit($options = []) /** * Check local modules enable/disable flag - * If local modules are disbled remove local modules path from include dirs + * If local modules are disabled remove local modules path from include dirs * * return true if local modules enabled and false if disabled * diff --git a/app/code/core/Mage/Core/Model/Design/Package.php b/app/code/core/Mage/Core/Model/Design/Package.php index 7aead00b8cd..f018574742f 100644 --- a/app/code/core/Mage/Core/Model/Design/Package.php +++ b/app/code/core/Mage/Core/Model/Design/Package.php @@ -69,7 +69,7 @@ class Mage_Core_Model_Design_Package /** * Directory of the css file - * Using only to transmit additional parametr in callback functions + * Using only to transmit additional parameter in callback functions * @var string */ protected $_callbackFileDir; diff --git a/app/code/core/Mage/Core/Model/Email/Template/Filter.php b/app/code/core/Mage/Core/Model/Email/Template/Filter.php index 04cc6d382ef..88ac9ddea40 100644 --- a/app/code/core/Mage/Core/Model/Email/Template/Filter.php +++ b/app/code/core/Mage/Core/Model/Email/Template/Filter.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) */ @@ -539,7 +539,7 @@ public function getInlineCssFile() /** * Filter the string as template. - * Rewrited for logging exceptions + * Rewritten for logging exceptions * * @param string $value * @return string 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 2b97685a451..05ada011c57 100644 --- a/app/code/core/Mage/Core/Model/Email/Template/Mailer.php +++ b/app/code/core/Mage/Core/Model/Email/Template/Mailer.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) */ @@ -138,7 +138,7 @@ public function getTemplateId() } /** - * Set tempate parameters + * Set template parameters * * @param array $templateParams * @return $this diff --git a/app/code/core/Mage/Core/Model/File/Storage.php b/app/code/core/Mage/Core/Model/File/Storage.php index b6c64feee6d..a55811b11b6 100644 --- a/app/code/core/Mage/Core/Model/File/Storage.php +++ b/app/code/core/Mage/Core/Model/File/Storage.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) */ @@ -28,7 +28,7 @@ class Mage_Core_Model_File_Storage extends Mage_Core_Model_Abstract public const STORAGE_MEDIA_DATABASE = 1; /** - * Config pathes for storing storage configuration + * Config paths for storing storage configuration */ public const XML_PATH_STORAGE_MEDIA = 'default/system/media_storage_configuration/media_storage'; public const XML_PATH_STORAGE_MEDIA_DATABASE = 'default/system/media_storage_configuration/media_database'; 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 c295769da26..8c48bcc5457 100644 --- a/app/code/core/Mage/Core/Model/Input/Filter/MaliciousCode.php +++ b/app/code/core/Mage/Core/Model/Input/Filter/MaliciousCode.php @@ -31,7 +31,7 @@ class Mage_Core_Model_Input_Filter_MaliciousCode implements Zend_Filter_Interfac '/(\/\*.*\*\/)/Us', //tabs '/(\t)/', - //javasript prefix + //javascript prefix '/(javascript\s*:)/Usi', //import styles '/(@import)/Usi', diff --git a/app/code/core/Mage/Core/Model/Layout/Update.php b/app/code/core/Mage/Core/Model/Layout/Update.php index 857932ca70b..eecf7bd2655 100644 --- a/app/code/core/Mage/Core/Model/Layout/Update.php +++ b/app/code/core/Mage/Core/Model/Layout/Update.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_Core * @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com) - * @copyright Copyright (c) 2015-2023 The OpenMage Contributors (https://www.openmage.org) + * @copyright Copyright (c) 2015-2024 The OpenMage Contributors (https://www.openmage.org) * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ @@ -405,7 +405,7 @@ public function fetchRecursiveUpdates($updateXml) } if ($allow) { $this->merge((string)$child['handle']); - // Adding merged layout handle to the list of applied hanles + // Adding merged layout handle to the list of applied handles $this->addHandle((string)$child['handle']); } } diff --git a/app/code/core/Mage/Core/Model/Locale.php b/app/code/core/Mage/Core/Model/Locale.php index 5a4a062e27b..fa406119c67 100644 --- a/app/code/core/Mage/Core/Model/Locale.php +++ b/app/code/core/Mage/Core/Model/Locale.php @@ -575,7 +575,8 @@ public function utcDate($store, $date, $includeTime = false, $format = null) /** * Get store timestamp - * Timstamp will be builded with store timezone settings + * + * Timestamp will be built with store timezone settings * * @param mixed $store * @return int @@ -760,8 +761,8 @@ public function revert() } /** - * Returns localized informations as array, supported are several - * types of informations. + * Returns localized information as array, supported are several + * types of information. * For detailed information about the types look into the documentation * * @param string $path (Optional) Type of information to return @@ -774,7 +775,7 @@ public function getTranslationList($path = null, $value = null) } /** - * Returns a localized information string, supported are several types of informations. + * Returns a localized information string, supported are several types of information. * For detailed information about the types look into the documentation * * @param string $value Name to get detailed information about diff --git a/app/code/core/Mage/Core/Model/Mysql4/Variable/Collection.php b/app/code/core/Mage/Core/Model/Mysql4/Variable/Collection.php index bc45c21640d..c94b3fe1b9f 100644 --- a/app/code/core/Mage/Core/Model/Mysql4/Variable/Collection.php +++ b/app/code/core/Mage/Core/Model/Mysql4/Variable/Collection.php @@ -9,12 +9,12 @@ * @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) */ /** - * Custom variabel collection + * Custom variable collection * * @category Mage * @package Mage_Core 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 1b54abc180c..34767dd924b 100644 --- a/app/code/core/Mage/Core/Model/Resource/Email/Template.php +++ b/app/code/core/Mage/Core/Model/Resource/Email/Template.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) */ @@ -93,7 +93,7 @@ protected function _beforeSave(Mage_Core_Model_Abstract $object) } /** - * Retrieve config scope and scope id of specified email template by email pathes + * Retrieve config scope and scope id of specified email template by email paths * * @param array $paths * @param int|string $templateId 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 e4bce6d6a66..a4029b872fc 100644 --- a/app/code/core/Mage/Core/Model/Resource/Helper/Mysql4.php +++ b/app/code/core/Mage/Core/Model/Resource/Helper/Mysql4.php @@ -22,7 +22,7 @@ class Mage_Core_Model_Resource_Helper_Mysql4 extends Mage_Core_Model_Resource_Helper_Abstract { /** - * Returns expresion for field unification + * Returns expression for field unification * * @param string $field * @return string diff --git a/app/code/core/Mage/Core/Model/Resource/Setup.php b/app/code/core/Mage/Core/Model/Resource/Setup.php index d4083b907dd..94530011f54 100644 --- a/app/code/core/Mage/Core/Model/Resource/Setup.php +++ b/app/code/core/Mage/Core/Model/Resource/Setup.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) */ @@ -977,7 +977,7 @@ public function getCallAfterApplyAllUpdates() /** * Run each time after applying of all updates, - * if setup model setted $_callAfterApplyAllUpdates flag to true + * if setup model set $_callAfterApplyAllUpdates flag to true * * @return $this */ diff --git a/app/code/core/Mage/Core/Model/Resource/Setup/Query/Modifier.php b/app/code/core/Mage/Core/Model/Resource/Setup/Query/Modifier.php index db943e5fb58..1a2e265a4c3 100644 --- a/app/code/core/Mage/Core/Model/Resource/Setup/Query/Modifier.php +++ b/app/code/core/Mage/Core/Model/Resource/Setup/Query/Modifier.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) */ @@ -85,7 +85,7 @@ protected function _getColumnDefinitionFromSql($sql, $column) } /** - * Replaces first occurence of $needle in a $haystack + * Replaces first occurrence of $needle in a $haystack * * @param string $haystack * @param string $needle @@ -104,7 +104,7 @@ protected function _firstReplace($haystack, $needle, $replacement, $caseInsensit } /** - * Fixes column definition in CREATE TABLE sql to match defintion of column it's set to + * Fixes column definition in CREATE TABLE sql to match definition of column it's set to * * @param string $sql * @param string $column @@ -136,7 +136,7 @@ protected function _fixColumnDefinitionInSql(&$sql, $column, $refColumnDefinitio return $this; } - // Find pattern for type defintion + // Find pattern for type definition $pattern = '/\s*([^\s]+)\s+(' . $columnDefinition['type'] . '[^\s]*)\s+([^,]+)/i'; if (!preg_match($pattern, $restSql, $matches)) { return $this; @@ -282,7 +282,7 @@ public function processQuery(&$sql, &$bind) $refTable = $this->_prepareIdentifier($match[2]); $refColumn = $this->_prepareIdentifier($match[3]); - // Check tables existance + // Check tables existence if (($operation != 'create') && !($this->_tableExists($table))) { continue; } diff --git a/app/code/core/Mage/Core/Model/Resource/Transaction.php b/app/code/core/Mage/Core/Model/Resource/Transaction.php index b062f987ffc..70c5823f4f4 100644 --- a/app/code/core/Mage/Core/Model/Resource/Transaction.php +++ b/app/code/core/Mage/Core/Model/Resource/Transaction.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) */ @@ -18,7 +18,7 @@ * * @category Mage * @package Mage_Core - * @todo need collect conection by name + * @todo need collect connection by name */ class Mage_Core_Model_Resource_Transaction { diff --git a/app/code/core/Mage/Core/Model/Resource/Variable/Collection.php b/app/code/core/Mage/Core/Model/Resource/Variable/Collection.php index b960b37e470..ac618752bb3 100644 --- a/app/code/core/Mage/Core/Model/Resource/Variable/Collection.php +++ b/app/code/core/Mage/Core/Model/Resource/Variable/Collection.php @@ -9,12 +9,12 @@ * @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) */ /** - * Custom variabel collection + * Custom variable collection * * @category Mage * @package Mage_Core 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 c5e9e2dfc6c..12c91fff6a3 100644 --- a/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php +++ b/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php @@ -379,7 +379,7 @@ public function getSessionSaveMethod() } /** - * Get sesssion save path + * Get session save path * * @return string */ diff --git a/app/code/core/Mage/Core/Model/Session/Abstract/Zend.php b/app/code/core/Mage/Core/Model/Session/Abstract/Zend.php index ce621b78d60..2fabbeac1b2 100644 --- a/app/code/core/Mage/Core/Model/Session/Abstract/Zend.php +++ b/app/code/core/Mage/Core/Model/Session/Abstract/Zend.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) */ @@ -135,7 +135,7 @@ public function getData($var = null, $clear = false) } /** - * Cleare session data + * Clear session data * * @return $this */ diff --git a/app/code/core/Mage/Core/Model/Store.php b/app/code/core/Mage/Core/Model/Store.php index f01f86e3c2e..d0fb0c611e9 100644 --- a/app/code/core/Mage/Core/Model/Store.php +++ b/app/code/core/Mage/Core/Model/Store.php @@ -50,7 +50,7 @@ class Mage_Core_Model_Store extends Mage_Core_Model_Abstract public const ENTITY = 'core_store'; /** - * Configuration pathes + * Configuration paths * @var string */ public const XML_PATH_STORE_STORE_NAME = 'general/store_information/name'; @@ -511,7 +511,7 @@ protected function _processConfigValue($fullPath, $path, $node) } /** - * Convert config values for url pathes + * Convert config values for url paths * * @deprecated after 1.4.2.0 * @param string $value diff --git a/app/code/core/Mage/Core/Model/Template.php b/app/code/core/Mage/Core/Model/Template.php index 430a360bd63..bb6e3e85923 100644 --- a/app/code/core/Mage/Core/Model/Template.php +++ b/app/code/core/Mage/Core/Model/Template.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) */ @@ -33,14 +33,14 @@ abstract class Mage_Core_Model_Template extends Mage_Core_Model_Abstract public const DEFAULT_DESIGN_AREA = 'frontend'; /** - * Configuration of desing package for template + * Configuration of design package for template * * @var Varien_Object|null */ protected $_designConfig; /** - * Configuration of emulated desing package. + * Configuration of emulated design package. * * @var Varien_Object|false */ diff --git a/app/code/core/Mage/Core/Model/Translate.php b/app/code/core/Mage/Core/Model/Translate.php index 592eadac72c..3ea3836aea8 100644 --- a/app/code/core/Mage/Core/Model/Translate.php +++ b/app/code/core/Mage/Core/Model/Translate.php @@ -227,7 +227,7 @@ protected function _addData($data, $scope, $forceReload = false) $value = $value === null ? '' : $this->_prepareDataString($value); if ($scope && isset($this->_dataScope[$key]) && !$forceReload) { /** - * Checking previos value + * Checking previous value */ $scopeKey = $this->_dataScope[$key] . self::SCOPE_SEPARATOR . $key; if (!isset($this->_data[$scopeKey])) { diff --git a/app/code/core/Mage/Core/Model/Url.php b/app/code/core/Mage/Core/Model/Url.php index 2878d236124..94ecf204e73 100644 --- a/app/code/core/Mage/Core/Model/Url.php +++ b/app/code/core/Mage/Core/Model/Url.php @@ -588,7 +588,7 @@ public function getControllerName() /** * Set Action name - * Reseted route path if action name has change + * Reset route path if action name has changed * * @param string $data * @return $this diff --git a/app/code/core/Mage/Customer/Model/Api2/Customer.php b/app/code/core/Mage/Customer/Model/Api2/Customer.php index a276548ee0c..85f703189c4 100644 --- a/app/code/core/Mage/Customer/Model/Api2/Customer.php +++ b/app/code/core/Mage/Customer/Model/Api2/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) 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,7 @@ class Mage_Customer_Model_Api2_Customer extends Mage_Api2_Model_Resource { /** - * Resource specific method to retrieve attributes' codes. May be overriden in child. + * Resource specific method to retrieve attributes' codes. May be overridden in child. * * @return array */ 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 1c6f3f8817f..ad14a86fdcc 100644 --- a/app/code/core/Mage/Customer/Model/Api2/Customer/Address.php +++ b/app/code/core/Mage/Customer/Model/Api2/Customer/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) 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,7 @@ class Mage_Customer_Model_Api2_Customer_Address extends Mage_Api2_Model_Resource { /** - * Resource specific method to retrieve attributes' codes. May be overriden in child. + * Resource specific method to retrieve attributes' codes. May be overridden in child. * * @return array */ 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 55b7aa4996e..93992d26564 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 @@ -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) */ @@ -94,7 +94,7 @@ public function isValidDataForChangeAssociationWithCountry(Mage_Customer_Model_A protected function _checkRegion($data, Mage_Directory_Model_Country $country) { $regions = $country->getRegions(); - // Is it the country with predifined regions? + // Is it the country with predefined regions? if ($regions->count()) { if (!array_key_exists('region', $data) || empty($data['region'])) { $this->_addError('"State/Province" is required.'); diff --git a/app/code/core/Mage/Customer/Model/Config/Share.php b/app/code/core/Mage/Customer/Model/Config/Share.php index fe063ebf6fd..a5ebecc94ff 100644 --- a/app/code/core/Mage/Customer/Model/Config/Share.php +++ b/app/code/core/Mage/Customer/Model/Config/Share.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) */ @@ -68,7 +68,7 @@ public function toOptionArray() } /** - * Check for email dublicates before saving customers sharing options + * Check for email duplicates before saving customers sharing options * * @return $this * @throws Mage_Core_Exception diff --git a/app/code/core/Mage/Customer/Model/Session.php b/app/code/core/Mage/Customer/Model/Session.php index a082fb03dde..72cf2d8f18b 100644 --- a/app/code/core/Mage/Customer/Model/Session.php +++ b/app/code/core/Mage/Customer/Model/Session.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) */ @@ -360,7 +360,7 @@ public function setAfterAuthUrl($url) } /** - * Reset core session hosts after reseting session ID + * Reset core session hosts after resetting session ID * * @return $this */ diff --git a/app/code/core/Mage/Customer/controllers/AccountController.php b/app/code/core/Mage/Customer/controllers/AccountController.php index 6825a5da160..e9433bbbcd0 100644 --- a/app/code/core/Mage/Customer/controllers/AccountController.php +++ b/app/code/core/Mage/Customer/controllers/AccountController.php @@ -435,7 +435,7 @@ protected function _getCustomerErrors($customer) } /** - * Get Customer Form Initalized Model + * Get Customer Form Initialized Model * * @param Mage_Customer_Model_Customer $customer * @return Mage_Customer_Model_Form @@ -826,7 +826,7 @@ public function resetPasswordAction() /** * Reset forgotten password - * Used to handle data recieved from reset forgotten password form + * Used to handle data received from reset forgotten password form */ public function resetPasswordPostAction() { diff --git a/app/code/core/Mage/Customer/etc/config.xml b/app/code/core/Mage/Customer/etc/config.xml index a0fe23f5f38..2d4fa6a2cb5 100644 --- a/app/code/core/Mage/Customer/etc/config.xml +++ b/app/code/core/Mage/Customer/etc/config.xml @@ -10,7 +10,7 @@ * @category Mage * @package Mage_Customer * @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com) - * @copyright Copyright (c) 2018-2022 The OpenMage Contributors (https://www.openmage.org) + * @copyright Copyright (c) 2018-2024 The OpenMage Contributors (https://www.openmage.org) * @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ --> diff --git a/app/code/core/Mage/Customer/etc/system.xml b/app/code/core/Mage/Customer/etc/system.xml index 409280413f1..f5bece92add 100644 --- a/app/code/core/Mage/Customer/etc/system.xml +++ b/app/code/core/Mage/Customer/etc/system.xml @@ -10,7 +10,7 @@ * @category Mage * @package Mage_Customer * @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com) - * @copyright Copyright (c) 2017-2022 The OpenMage Contributors (https://www.openmage.org) + * @copyright Copyright (c) 2017-2024 The OpenMage Contributors (https://www.openmage.org) * @license https://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */ --> diff --git a/app/code/core/Mage/Directory/Block/Currency.php b/app/code/core/Mage/Directory/Block/Currency.php index b48aea7bf24..74bf7bdcbef 100644 --- a/app/code/core/Mage/Directory/Block/Currency.php +++ b/app/code/core/Mage/Directory/Block/Currency.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_Directory * @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) */ @@ -65,7 +65,7 @@ public function getCurrencies() } /** - * Retrieve Currency Swith URL + * Retrieve Currency Switch URL * * @return string */ diff --git a/app/code/core/Mage/Directory/Model/Resource/Country/Collection.php b/app/code/core/Mage/Directory/Model/Resource/Country/Collection.php index 8a3671c23c1..3fc6da5a682 100644 --- a/app/code/core/Mage/Directory/Model/Resource/Country/Collection.php +++ b/app/code/core/Mage/Directory/Model/Resource/Country/Collection.php @@ -75,7 +75,7 @@ public function getItemById($countryId) * Add filter by country code to collection. * $countryCode can be either array of country codes or string representing one country code. * $iso can be either array containing 'iso2', 'iso3' values or string with containing one of that values directly. - * The collection will contain countries where at least one of contry $iso fields matches $countryCode. + * The collection will contain countries where at least one of country $iso fields matches $countryCode. * * @param string|array $countryCode * @param string|array $iso diff --git a/app/code/core/Mage/Directory/sql/directory_setup/mysql4-upgrade-0.8.6-0.8.7.php b/app/code/core/Mage/Directory/sql/directory_setup/mysql4-upgrade-0.8.6-0.8.7.php index ac2f4d17fa6..720fe35b075 100644 --- a/app/code/core/Mage/Directory/sql/directory_setup/mysql4-upgrade-0.8.6-0.8.7.php +++ b/app/code/core/Mage/Directory/sql/directory_setup/mysql4-upgrade-0.8.6-0.8.7.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-2022 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) */ @@ -17,7 +17,7 @@ $installer = $this; $installer->startSetup(); -// Delelte non-existent and unofficial iso-3166-1 codes +// Delete non-existent and unofficial iso-3166-1 codes $installer->run(" DELETE FROM {$installer->getTable('directory/country')} WHERE country_id IN('FX','CS') diff --git a/app/code/core/Mage/Downloadable/Model/Observer.php b/app/code/core/Mage/Downloadable/Model/Observer.php index 33718a9fa7a..216ec1998da 100644 --- a/app/code/core/Mage/Downloadable/Model/Observer.php +++ b/app/code/core/Mage/Downloadable/Model/Observer.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_Downloadable * @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) */ @@ -250,7 +250,7 @@ public function setLinkStatus($observer) } /** - * Check is allowed guest checkuot if quote contain downloadable product(s) + * Check is allowed guest checkout if quote contain downloadable product(s) * * @param Varien_Event_Observer $observer * @return $this diff --git a/app/code/core/Mage/Eav/Block/Adminhtml/Attribute/Edit/Main/Abstract.php b/app/code/core/Mage/Eav/Block/Adminhtml/Attribute/Edit/Main/Abstract.php index d83cdbf57af..ad613b7dbbd 100644 --- a/app/code/core/Mage/Eav/Block/Adminhtml/Attribute/Edit/Main/Abstract.php +++ b/app/code/core/Mage/Eav/Block/Adminhtml/Attribute/Edit/Main/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) */ @@ -161,7 +161,7 @@ protected function _prepareForm() } /** - * Initialize form fileds values + * Initialize form fields values * * @inheritDoc */ diff --git a/app/code/core/Mage/Eav/Model/Entity/Abstract.php b/app/code/core/Mage/Eav/Model/Entity/Abstract.php index a302b56b802..b29d54922c1 100644 --- a/app/code/core/Mage/Eav/Model/Entity/Abstract.php +++ b/app/code/core/Mage/Eav/Model/Entity/Abstract.php @@ -57,7 +57,7 @@ abstract class Mage_Eav_Model_Entity_Abstract extends Mage_Core_Model_Resource_A protected $_attributesByCode = []; /** - * 2-dimentional array by table name and attribute name + * 2-dimensional array by table name and attribute name * * @var array */ diff --git a/app/code/core/Mage/Eav/Model/Entity/Attribute/Backend/Datetime.php b/app/code/core/Mage/Eav/Model/Entity/Attribute/Backend/Datetime.php index fce6274becb..c0a4f97e08d 100644 --- a/app/code/core/Mage/Eav/Model/Entity/Attribute/Backend/Datetime.php +++ b/app/code/core/Mage/Eav/Model/Entity/Attribute/Backend/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) 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) */ @@ -20,10 +20,10 @@ class Mage_Eav_Model_Entity_Attribute_Backend_Datetime extends Mage_Eav_Model_Entity_Attribute_Backend_Abstract { /** - * Formating date value before save + * Formatting date value before save * * Should set (bool, string) correct type for empty value from html form, - * neccessary for farther proccess, else date string + * necessary for farther process, else date string * * @param Varien_Object $object * @throws Mage_Eav_Exception 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 509f82d9f98..75eae3c5896 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 @@ -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) */ @@ -61,7 +61,7 @@ public function getInputType() } /** - * Retrieve lable + * Retrieve label * * @return string */ 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 4cf9b22ed17..7d2f6b80a50 100644 --- a/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php +++ b/app/code/core/Mage/Eav/Model/Entity/Collection/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) 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) */ @@ -163,7 +163,7 @@ protected function _initSelect() } /** - * Standard resource collection initalization + * Standard resource collection initialization * * @param string $model * @param null|string $entityModel 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 87e15762254..a7273719e01 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 @@ -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) */ @@ -71,7 +71,7 @@ protected function _getLoadDataFields() } /** - * Specify select columns which are used for load arrtibute values + * Specify select columns which are used for load attribute values * * @return $this */ diff --git a/app/code/core/Mage/GiftMessage/Helper/Message.php b/app/code/core/Mage/GiftMessage/Helper/Message.php index 635bac47340..02a01d0f5f2 100644 --- a/app/code/core/Mage/GiftMessage/Helper/Message.php +++ b/app/code/core/Mage/GiftMessage/Helper/Message.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) */ @@ -150,7 +150,7 @@ public function isMessagesAvailable($type, Varien_Object $entity, $store = null) } /** - * Check availablity of gift messages from store config if flag eq 2. + * Check availability of gift messages from store config if flag eq 2. * * @param int $productGiftMessageAllow * @param Mage_Core_Model_Store|integer $store diff --git a/app/code/core/Mage/GiftMessage/Model/Message.php b/app/code/core/Mage/GiftMessage/Model/Message.php index ceb55d8fa1a..17b0494bba5 100644 --- a/app/code/core/Mage/GiftMessage/Model/Message.php +++ b/app/code/core/Mage/GiftMessage/Model/Message.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) */ @@ -71,7 +71,7 @@ public function getEntityModelByType($type) } /** - * Checks thats gift message is empty + * Checks that gift message is empty * * @return bool */ diff --git a/app/code/core/Mage/GiftMessage/Model/Observer.php b/app/code/core/Mage/GiftMessage/Model/Observer.php index 07ce34a51a8..0ac3d219b92 100644 --- a/app/code/core/Mage/GiftMessage/Model/Observer.php +++ b/app/code/core/Mage/GiftMessage/Model/Observer.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) */ @@ -89,7 +89,7 @@ protected function _getAvailable($product) } /** - * Operate with gift messages on checkout proccess + * Operate with gift messages on checkout process * * @param Varien_Event_Observer $observer * @return $this 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 4d1dddf9b81..ae98f689e39 100644 --- a/app/code/core/Mage/ImportExport/Block/Adminhtml/Export/Filter.php +++ b/app/code/core/Mage/ImportExport/Block/Adminhtml/Export/Filter.php @@ -154,7 +154,7 @@ protected function _getSelectHtml(Mage_Eav_Model_Entity_Attribute $attribute) $options = $attribute->getSource()->getAllOptions(false); } if (($size = count($options))) { - // add empty vaue option + // add empty value option $firstOption = reset($options); if ($firstOption['value'] === '') { @@ -301,7 +301,7 @@ protected function _getSelectHtmlWithValue(Mage_Eav_Model_Entity_Attribute $attr $options = $attribute->getSource()->getAllOptions(false); } if (($size = count($options))) { - // add empty vaue option + // add empty value option $firstOption = reset($options); if ($firstOption['value'] === '') { diff --git a/app/code/core/Mage/ImportExport/Model/Abstract.php b/app/code/core/Mage/ImportExport/Model/Abstract.php index ee0aa5a4e26..981da8147f3 100644 --- a/app/code/core/Mage/ImportExport/Model/Abstract.php +++ b/app/code/core/Mage/ImportExport/Model/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) 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,14 +32,14 @@ abstract class Mage_ImportExport_Model_Abstract extends Varien_Object public const LOG_DIRECTORY = 'log/import_export/'; /** - * Enable loging + * Enable logging * * @var bool */ protected $_debugMode = false; /** - * Loger instance + * Logger instance * @var Mage_Core_Model_Log_Adapter */ protected $_logInstance; 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 95ec5a7df6f..103e77ddd12 100644 --- a/app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php +++ b/app/code/core/Mage/ImportExport/Model/Export/Adapter/Csv.php @@ -56,7 +56,7 @@ public function destruct() } /** - * Method called as last step of object instance creation. Can be overrided in child classes. + * Method called as last step of object instance creation. Can be overridden in child classes. * * @return Mage_ImportExport_Model_Export_Adapter_Abstract */ @@ -100,7 +100,7 @@ public function writeRow(array $rowData) } /** - * Security enchancement for CSV data processing by Excel-like applications. + * Security enhancement for CSV data processing by Excel-like applications. * @see https://bugzilla.mozilla.org/show_bug.cgi?id=1054702 */ $data = array_merge($this->_headerCols, array_intersect_key($rowData, $this->_headerCols)); 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 c42da8bb36f..666183f117b 100644 --- a/app/code/core/Mage/ImportExport/Model/Export/Entity/Customer.php +++ b/app/code/core/Mage/ImportExport/Model/Export/Entity/Customer.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) */ @@ -32,7 +32,7 @@ class Mage_ImportExport_Model_Export_Entity_Customer extends Mage_ImportExport_M public const COL_STORE = '_store'; /** - * Overriden attributes parameters. + * Overridden attributes parameters. * * @var array */ 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 1bb73192b07..fb909405960 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 @@ -9,7 +9,7 @@ * @category Mage * @package Mage_ImportExport * @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,7 @@ abstract class Mage_ImportExport_Model_Export_Entity_Product_Type_Abstract { /** - * Overriden attributes parameters. + * Overridden attributes parameters. * * @var array */ diff --git a/app/code/core/Mage/ImportExport/Model/Export/Entity/Product/Type/Simple.php b/app/code/core/Mage/ImportExport/Model/Export/Entity/Product/Type/Simple.php index 56a91ef30c4..340808890a0 100644 --- a/app/code/core/Mage/ImportExport/Model/Export/Entity/Product/Type/Simple.php +++ b/app/code/core/Mage/ImportExport/Model/Export/Entity/Product/Type/Simple.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) */ @@ -22,7 +22,7 @@ class Mage_ImportExport_Model_Export_Entity_Product_Type_Simple extends Mage_ImportExport_Model_Export_Entity_Product_Type_Abstract { /** - * Overriden attributes parameters. + * Overridden attributes parameters. * * @var array */ diff --git a/app/code/core/Mage/ImportExport/Model/Import/Adapter/Csv.php b/app/code/core/Mage/ImportExport/Model/Import/Adapter/Csv.php index 1ee82122c41..1cb222bf142 100644 --- a/app/code/core/Mage/ImportExport/Model/Import/Adapter/Csv.php +++ b/app/code/core/Mage/ImportExport/Model/Import/Adapter/Csv.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_ImportExport * @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,7 @@ public function destruct() } /** - * Method called as last step of object instance creation. Can be overrided in child classes. + * Method called as last step of object instance creation. Can be overridden in child classes. * * @return Mage_ImportExport_Model_Import_Adapter_Abstract */ 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 12b42a6048c..f5b32bc7d80 100644 --- a/app/code/core/Mage/ImportExport/Model/Import/Entity/Customer.php +++ b/app/code/core/Mage/ImportExport/Model/Import/Entity/Customer.php @@ -147,7 +147,7 @@ class Mage_ImportExport_Model_Import_Entity_Customer extends Mage_ImportExport_M ]; /** - * Dry-runned customers information from import file. + * Dry-ran customers information from import file. * * @var array */ 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 f353ef28c31..cdcdd7c3f70 100644 --- a/app/code/core/Mage/ImportExport/Model/Import/Entity/Product.php +++ b/app/code/core/Mage/ImportExport/Model/Import/Entity/Product.php @@ -310,7 +310,7 @@ class Mage_ImportExport_Model_Import_Entity_Product extends Mage_ImportExport_Mo ]; /** - * Dry-runned products information from import file. + * Dry-ran products information from import file. * * [SKU] => array( * 'type_id' => (string) product type @@ -1984,7 +1984,7 @@ protected function _filterRowData(&$rowData) } /** - * Atttribute set ID-to-name pairs getter. + * Attribute set ID-to-name pairs getter. * * @return array */ @@ -2109,7 +2109,7 @@ public function validateRow(array $rowData, $rowNum) $sku = $rowData[self::COL_SKU]; - if (isset($this->_oldSku[$sku])) { // can we get all necessary data from existant DB product? + if (isset($this->_oldSku[$sku])) { // can we get all necessary data from existent DB product? // check for supported type of existing product if (isset($this->_productTypeModels[$this->_oldSku[$sku]['type_id']])) { $this->_newSku[$sku] = [ 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 27f7fbd7e3a..e1031469941 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 @@ -124,7 +124,7 @@ class Mage_ImportExport_Model_Import_Entity_Product_Type_Configurable extends Ma */ protected function _addAttributeParams($attrSetName, array $attrParams) { - // save super attributes for simplier and quicker search in future + // save super attributes for simpler and quicker search in future if ($attrParams['type'] === 'select' && $attrParams['is_global'] == 1 && $attrParams['for_configurable']) { $this->_superAttributes[$attrParams['code']] = $attrParams; } diff --git a/app/code/core/Mage/Index/Model/Process.php b/app/code/core/Mage/Index/Model/Process.php index 44745cc9824..a1b3090523f 100644 --- a/app/code/core/Mage/Index/Model/Process.php +++ b/app/code/core/Mage/Index/Model/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) */ @@ -424,7 +424,7 @@ protected function _getLockInstance() /** * Lock process without blocking. - * This method allow protect multiple process runing and fast lock validation. + * This method allow to protect multiple process running and fast lock validation. * * @return $this */ diff --git a/app/code/core/Mage/Install/Model/Installer.php b/app/code/core/Mage/Install/Model/Installer.php index 67a1cf5fa2f..0edb53d7a59 100644 --- a/app/code/core/Mage/Install/Model/Installer.php +++ b/app/code/core/Mage/Install/Model/Installer.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) */ @@ -205,7 +205,7 @@ public function validateAndPrepareAdministrator($data) /** * Create admin user. - * Paramater can be prepared user model or array of data. + * Parameter can be prepared user model or array of data. * Returns TRUE or throws exception. * * @param mixed $data diff --git a/app/code/core/Mage/Install/Model/Installer/Console.php b/app/code/core/Mage/Install/Model/Installer/Console.php index 29c5e85c844..5a10fd9cb86 100644 --- a/app/code/core/Mage/Install/Model/Installer/Console.php +++ b/app/code/core/Mage/Install/Model/Installer/Console.php @@ -109,7 +109,7 @@ public function setArgs($args = null) if (preg_match('/^--(.*)$/', $arg, $match)) { // argument name $currentArg = $match[1]; - // in case if argument doen't need a value + // in case if argument doesn't need a value $args[$currentArg] = true; } else { // argument value @@ -255,7 +255,7 @@ public function init(Mage_Core_Model_App $app) } /** - * Prepare data ans save it in data model + * Prepare data and save it in data model * * @return $this */ diff --git a/app/code/core/Mage/Install/controllers/WizardController.php b/app/code/core/Mage/Install/controllers/WizardController.php index 1ca6314ecfc..6ecfbe1612c 100644 --- a/app/code/core/Mage/Install/controllers/WizardController.php +++ b/app/code/core/Mage/Install/controllers/WizardController.php @@ -275,7 +275,7 @@ public function administratorAction() } /** - * Process administrator instalation POST data + * Process administrator installation POST data */ public function administratorPostAction() { diff --git a/app/code/core/Mage/Media/Model/Image.php b/app/code/core/Mage/Media/Model/Image.php index 4b824e53af9..fcbf48045e0 100644 --- a/app/code/core/Mage/Media/Model/Image.php +++ b/app/code/core/Mage/Media/Model/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) 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) */ @@ -111,7 +111,7 @@ public function getDimensions() } /** - * Retrieve destanation dimensions object + * Retrieve destination dimensions object * * @return Varien_Object */ diff --git a/app/code/core/Mage/Newsletter/Model/Resource/Problem/Collection.php b/app/code/core/Mage/Newsletter/Model/Resource/Problem/Collection.php index ae58e7e930c..7eb9c8e9441 100644 --- a/app/code/core/Mage/Newsletter/Model/Resource/Problem/Collection.php +++ b/app/code/core/Mage/Newsletter/Model/Resource/Problem/Collection.php @@ -122,7 +122,7 @@ protected function _addCustomersData() } /** - * Loads collecion and adds customers info + * Loads collection and adds customers info * * @param bool $printQuery * @param bool $logQuery diff --git a/app/code/core/Mage/Newsletter/Model/Resource/Queue/Collection.php b/app/code/core/Mage/Newsletter/Model/Resource/Queue/Collection.php index 392c5890de9..682e44157f5 100644 --- a/app/code/core/Mage/Newsletter/Model/Resource/Queue/Collection.php +++ b/app/code/core/Mage/Newsletter/Model/Resource/Queue/Collection.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_Newsletter * @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) */ @@ -177,7 +177,7 @@ public function addSubscriberFilter($subscriberId) } /** - * Add filter by only ready fot sending item + * Add filter by only ready for sending item * * @return $this */ diff --git a/app/code/core/Mage/Page/Block/Html.php b/app/code/core/Mage/Page/Block/Html.php index c02b43eecb4..e620b71e7db 100644 --- a/app/code/core/Mage/Page/Block/Html.php +++ b/app/code/core/Mage/Page/Block/Html.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) */ @@ -95,7 +95,7 @@ public function getPrintLogoUrl() } } - // buld url + // build url if (!empty($logo)) { $logo = Mage::getStoreConfig(Mage_Core_Model_Store::XML_PATH_UNSECURE_BASE_MEDIA_URL) . $logo; } else { diff --git a/app/code/core/Mage/Page/Block/Html/Head.php b/app/code/core/Mage/Page/Block/Html/Head.php index ca1df847487..7a9549c3de0 100644 --- a/app/code/core/Mage/Page/Block/Html/Head.php +++ b/app/code/core/Mage/Page/Block/Html/Head.php @@ -481,7 +481,7 @@ public function getRobots() } /** - * Get miscellanious scripts/styles to be included in head before head closing tag + * Get miscellaneous scripts/styles to be included in head before head closing tag * * @return string */ diff --git a/app/code/core/Mage/Page/Block/Template/Links/Block.php b/app/code/core/Mage/Page/Block/Template/Links/Block.php index 83ee97a1609..6785a9b90e5 100644 --- a/app/code/core/Mage/Page/Block/Template/Links/Block.php +++ b/app/code/core/Mage/Page/Block/Template/Links/Block.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_Page * @copyright Copyright (c) 2006-2020 Magento, Inc. (https://www.magento.com) - * @copyright Copyright (c) 2015-2023 The OpenMage Contributors (https://www.openmage.org) + * @copyright Copyright (c) 2015-2024 The OpenMage Contributors (https://www.openmage.org) * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ @@ -57,14 +57,14 @@ class Mage_Page_Block_Template_Links_Block extends Mage_Core_Block_Template protected $_title = null; /** - * Li elemnt params + * Li element params * * @var string */ protected $_liParams = null; /** - * A elemnt params + * A element params * * @var string */ diff --git a/app/code/core/Mage/Paygate/Model/Authorizenet.php b/app/code/core/Mage/Paygate/Model/Authorizenet.php index ea38a92b5db..bd7727dd8e5 100644 --- a/app/code/core/Mage/Paygate/Model/Authorizenet.php +++ b/app/code/core/Mage/Paygate/Model/Authorizenet.php @@ -1013,7 +1013,7 @@ public function getCardsStorage($payment = null) } /** - * If parial authorization is started method will returne true + * If partial authorization is started method will return true * * @param Mage_Payment_Model_Info $payment * @return bool @@ -1101,7 +1101,7 @@ public function fetchTransactionInfo(Mage_Payment_Model_Info $payment, $transact } /** - * Set split_tender_id to quote payment if neeeded + * Set split_tender_id to quote payment if needed * * @param Varien_Object $response * @param Mage_Sales_Model_Order_Payment $orderPayment @@ -1290,7 +1290,7 @@ protected function _buildRequest(Varien_Object $payment) } /** - * Post request to gateway and return responce + * Post request to gateway and return response * * @param Mage_Paygate_Model_Authorizenet_Request $request) * @return Mage_Paygate_Model_Authorizenet_Result diff --git a/app/code/core/Mage/Paygate/Model/Authorizenet/Cards.php b/app/code/core/Mage/Paygate/Model/Authorizenet/Cards.php index ba08cfc6c90..dab07d511ff 100644 --- a/app/code/core/Mage/Paygate/Model/Authorizenet/Cards.php +++ b/app/code/core/Mage/Paygate/Model/Authorizenet/Cards.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_Paygate * @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) */ @@ -171,7 +171,7 @@ public function flushCards() } /** - * Check for payment instace present + * Check for payment instance present * * @throws Exception */ diff --git a/app/code/core/Mage/Payment/Model/Billing/AgreementAbstract.php b/app/code/core/Mage/Payment/Model/Billing/AgreementAbstract.php index aafed9ef4b4..dfb32cfbb07 100644 --- a/app/code/core/Mage/Payment/Model/Billing/AgreementAbstract.php +++ b/app/code/core/Mage/Payment/Model/Billing/AgreementAbstract.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) */ @@ -97,7 +97,7 @@ public function isValid() } /** - * Before save, it's overriden just to make data validation on before save event + * Before save, it's overridden just to make data validation on before save event * * @throws Mage_Core_Exception * @return Mage_Core_Model_Abstract diff --git a/app/code/core/Mage/Paypal/Model/Api/Nvp.php b/app/code/core/Mage/Paypal/Model/Api/Nvp.php index bc54fa49312..7b904291bd5 100644 --- a/app/code/core/Mage/Paypal/Model/Api/Nvp.php +++ b/app/code/core/Mage/Paypal/Model/Api/Nvp.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) */ @@ -1178,7 +1178,7 @@ protected function _deformatNVP($nvpstr) $nvpstr = strpos($nvpstr, "\r\n\r\n") !== false ? substr($nvpstr, strpos($nvpstr, "\r\n\r\n") + 4) : $nvpstr; while (strlen($nvpstr)) { - //postion of Key + //position of Key $keypos = strpos($nvpstr, '='); //position of value $valuepos = strpos($nvpstr, '&') ? strpos($nvpstr, '&') : strlen($nvpstr); @@ -1186,7 +1186,7 @@ protected function _deformatNVP($nvpstr) /*getting the Key and Value values and storing in a Associative Array*/ $keyval = substr($nvpstr, $intial, $keypos); $valval = substr($nvpstr, $keypos + 1, $valuepos - $keypos - 1); - //decoding the respose + //decoding the response $nvpArray[urldecode($keyval)] = urldecode($valval); $nvpstr = substr($nvpstr, $valuepos + 1, strlen($nvpstr)); } diff --git a/app/code/core/Mage/Paypal/Model/Cart.php b/app/code/core/Mage/Paypal/Model/Cart.php index 20c2886c6ff..9547c74f13a 100644 --- a/app/code/core/Mage/Paypal/Model/Cart.php +++ b/app/code/core/Mage/Paypal/Model/Cart.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) */ @@ -23,7 +23,7 @@ class Mage_Paypal_Model_Cart { /** - * Totals that PayPal suppports when passing shopping cart + * Totals that PayPal supports when passing shopping cart * * @var string */ @@ -147,7 +147,7 @@ public function getItems($bypassValidation = false) /** * Render and get totals * If the totals are invalid for any reason, they will be merged into one amount (subtotal is utilized for it) - * An option to substract discount from the subtotal is available + * An option to subtract discount from the subtotal is available * * @param bool $mergeDiscount * @return array diff --git a/app/code/core/Mage/Paypal/Model/Config.php b/app/code/core/Mage/Paypal/Model/Config.php index b9417e2e108..8009ccf83ee 100644 --- a/app/code/core/Mage/Paypal/Model/Config.php +++ b/app/code/core/Mage/Paypal/Model/Config.php @@ -1658,7 +1658,7 @@ protected function _getSpecificConfigPath($fieldName) } /** - * Check wheter specified country code is supported by build notation codes for specific countries + * Check whether specified country code is supported by build notation codes for specific countries * * @param string $code * @return string|null diff --git a/app/code/core/Mage/Paypal/Model/Direct.php b/app/code/core/Mage/Paypal/Model/Direct.php index ad1190ffd45..a240f077eaa 100644 --- a/app/code/core/Mage/Paypal/Model/Direct.php +++ b/app/code/core/Mage/Paypal/Model/Direct.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) */ @@ -336,7 +336,7 @@ protected function _placeOrder(Mage_Sales_Model_Order_Payment $payment, $amount) try { $api->callGetTransactionDetails(); } catch (Mage_Core_Exception $e) { - // if we recieve errors, but DoDirectPayment response is Success, then set Pending status for transaction + // if we receive errors, but DoDirectPayment response is Success, then set Pending status for transaction $payment->setIsTransactionPending(true); } $this->_importResultToPayment($api, $payment); diff --git a/app/code/core/Mage/Paypal/Model/Express/Checkout.php b/app/code/core/Mage/Paypal/Model/Express/Checkout.php index 52bed2b91a9..66ed5ad0470 100644 --- a/app/code/core/Mage/Paypal/Model/Express/Checkout.php +++ b/app/code/core/Mage/Paypal/Model/Express/Checkout.php @@ -320,7 +320,7 @@ public function start($returnUrl, $cancelUrl, $button = null) $this->_api->setRequireBillingAddress(1); } - // supress or export shipping address + // suppress or export shipping address if ($this->_quote->getIsVirtual()) { if ($this->_config->requireBillingAddress == Mage_Paypal_Model_Config::REQUIRE_BILLING_ADDRESS_VIRTUAL) { $this->_api->setRequireBillingAddress(1); diff --git a/app/code/core/Mage/Paypal/Model/Hostedpro/Request.php b/app/code/core/Mage/Paypal/Model/Hostedpro/Request.php index 86bdb822d86..f6d3b34b757 100644 --- a/app/code/core/Mage/Paypal/Model/Hostedpro/Request.php +++ b/app/code/core/Mage/Paypal/Model/Hostedpro/Request.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_Paypal * @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) */ @@ -36,14 +36,14 @@ class Mage_Paypal_Model_Hostedpro_Request extends Varien_Object protected $_paymentMethod; /** - * Name formate for button variables + * Name format for button variables * * @var string */ protected $_buttonVarFormat = 'L_BUTTONVAR%d'; /** - * Request Parameters which dont have to wrap as button vars + * Request Parameters which don't have to wrap as button vars * * @var array */ diff --git a/app/code/core/Mage/Paypal/Model/Pro.php b/app/code/core/Mage/Paypal/Model/Pro.php index d3447219888..612c257e007 100644 --- a/app/code/core/Mage/Paypal/Model/Pro.php +++ b/app/code/core/Mage/Paypal/Model/Pro.php @@ -9,12 +9,12 @@ * @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) */ /** - * PayPal Website Payments Pro implementation for payment method instaces + * PayPal Website Payments Pro implementation for payment method instances * This model was created because right now PayPal Direct and PayPal Express payment methods cannot have same abstract * * @category Mage diff --git a/app/code/core/Mage/Paypal/Model/Report/Settlement.php b/app/code/core/Mage/Paypal/Model/Report/Settlement.php index 5ce2772bbfb..d9915990f39 100644 --- a/app/code/core/Mage/Paypal/Model/Report/Settlement.php +++ b/app/code/core/Mage/Paypal/Model/Report/Settlement.php @@ -299,7 +299,7 @@ public function parseCsv($localCsv, $format = 'new') } /** - * Load report by unique key (accoutn + report date) + * Load report by unique key (account + report date) * * @return $this */ diff --git a/app/code/core/Mage/Reports/Model/Product/Index/Abstract.php b/app/code/core/Mage/Reports/Model/Product/Index/Abstract.php index cbf1ab01cb2..64ccfd6e0cc 100644 --- a/app/code/core/Mage/Reports/Model/Product/Index/Abstract.php +++ b/app/code/core/Mage/Reports/Model/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) */ @@ -124,7 +124,7 @@ public function getStoreId() } /** - * On customer loggin merge visitor/customer index + * On customer login merge visitor/customer index * * @return Mage_Reports_Model_Product_Index_Abstract */ diff --git a/app/code/core/Mage/Reports/Model/Resource/Event.php b/app/code/core/Mage/Reports/Model/Resource/Event.php index b50e1ec05d5..385dec89516 100644 --- a/app/code/core/Mage/Reports/Model/Resource/Event.php +++ b/app/code/core/Mage/Reports/Model/Resource/Event.php @@ -57,7 +57,7 @@ public function updateCustomerType(Mage_Reports_Model_Event $model, $visitorId, /** * Add events log to a collection - * The collection id field is used without corellation, so it must be unique. + * 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 diff --git a/app/code/core/Mage/Reports/Model/Resource/Order/Collection.php b/app/code/core/Mage/Reports/Model/Resource/Order/Collection.php index c1accd6488f..e3300319bc9 100644 --- a/app/code/core/Mage/Reports/Model/Resource/Order/Collection.php +++ b/app/code/core/Mage/Reports/Model/Resource/Order/Collection.php @@ -334,8 +334,8 @@ public function getDateRange($range, $customStart, $customEnd, $returnObjects = break; case '7d': - // substract 6 days we need to include - // only today and not hte last one from range + // subtract 6 days we need to include + // only today and not the last one from range $dateStart->subDay(6); break; diff --git a/app/code/core/Mage/Reports/Model/Resource/Product/Sold/Collection.php b/app/code/core/Mage/Reports/Model/Resource/Product/Sold/Collection.php index 80f73ca45ca..2f8bd2c3f40 100644 --- a/app/code/core/Mage/Reports/Model/Resource/Product/Sold/Collection.php +++ b/app/code/core/Mage/Reports/Model/Resource/Product/Sold/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) */ @@ -29,7 +29,7 @@ protected function _construct() { parent::_construct(); $this->_useAnalyticFunction = true; - // skip adding stock information to collection for perfromance reasons + // skip adding stock information to collection for performance reasons $this->setFlag('no_stock_data', true); } /** diff --git a/app/code/core/Mage/Rss/Block/Catalog/Special.php b/app/code/core/Mage/Rss/Block/Catalog/Special.php index 01d390954e1..aaae8a2d1c7 100644 --- a/app/code/core/Mage/Rss/Block/Catalog/Special.php +++ b/app/code/core/Mage/Rss/Block/Catalog/Special.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_Rss * @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,7 @@ class Mage_Rss_Block_Catalog_Special extends Mage_Rss_Block_Catalog_Abstract { /** - * Zend_Date object for date comparsions + * Zend_Date object for date comparisons * * @var Zend_Date|null */ 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 ead1ca7069a..5319fd71eb4 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 @@ -111,7 +111,7 @@ protected function _prepareForm() /** * if there is a parent element defined, it will be replaced by a hidden element with the same name - * and overriden by the form elements + * and overridden by the form elements * It is needed to maintain HTML consistency of the parent element's form */ if ($this->_parentElement) { diff --git a/app/code/core/Mage/Sales/Block/Order/Comments.php b/app/code/core/Mage/Sales/Block/Order/Comments.php index de763ca26d1..14481951f20 100644 --- a/app/code/core/Mage/Sales/Block/Order/Comments.php +++ b/app/code/core/Mage/Sales/Block/Order/Comments.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) */ @@ -27,7 +27,7 @@ class Mage_Sales_Block_Order_Comments extends Mage_Core_Block_Template protected $_entity; /** - * Currect comments collection + * Current comments collection * * @var Mage_Sales_Model_Resource_Order_Comment_Collection_Abstract|null */ diff --git a/app/code/core/Mage/Sales/Model/Mysql4/Quote/Address/Rate/Collection.php b/app/code/core/Mage/Sales/Model/Mysql4/Quote/Address/Rate/Collection.php index cde0481ce00..1c6a67c18a7 100644 --- a/app/code/core/Mage/Sales/Model/Mysql4/Quote/Address/Rate/Collection.php +++ b/app/code/core/Mage/Sales/Model/Mysql4/Quote/Address/Rate/Collection.php @@ -9,12 +9,12 @@ * @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) */ /** - * Quote addresses shiping rates collection + * Quote addresses shipping rates collection * * @category Mage * @package Mage_Sales diff --git a/app/code/core/Mage/Sales/Model/Observer.php b/app/code/core/Mage/Sales/Model/Observer.php index d4330a82de0..fe57155809b 100644 --- a/app/code/core/Mage/Sales/Model/Observer.php +++ b/app/code/core/Mage/Sales/Model/Observer.php @@ -85,7 +85,7 @@ public function setExpireQuotesAdditionalFilterFields(array $fields) } /** - * When deleting product, substract it from all quotes quantities + * When deleting product, subtract it from all quotes quantities * * @throws Exception * @param 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 ec00ea9bd88..00ce8b4c3c4 100644 --- a/app/code/core/Mage/Sales/Model/Order.php +++ b/app/code/core/Mage/Sales/Model/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) 2015-2023 The OpenMage Contributors (https://www.openmage.org) + * @copyright Copyright (c) 2015-2024 The OpenMage Contributors (https://www.openmage.org) * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ @@ -1061,7 +1061,7 @@ public function getShippingAddress() /** * Order state setter. * If status is specified, will add order status history with specified comment - * the setData() cannot be overriden because of compatibility issues with resource model + * the setData() cannot be overridden because of compatibility issues with resource model * * @param string $state * @param string|bool $status diff --git a/app/code/core/Mage/Sales/Model/Order/Creditmemo.php b/app/code/core/Mage/Sales/Model/Order/Creditmemo.php index f1cfe339c9c..8a86cc72ed0 100644 --- a/app/code/core/Mage/Sales/Model/Order/Creditmemo.php +++ b/app/code/core/Mage/Sales/Model/Order/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) 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) */ @@ -756,7 +756,7 @@ public function sendEmail($notifyCustomer = true, $comment = '') // Get the destination email addresses to send copies to $copyTo = $this->_getEmails(self::XML_PATH_EMAIL_COPY_TO); $copyMethod = Mage::getStoreConfig(self::XML_PATH_EMAIL_COPY_METHOD, $storeId); - // Check if at least one recepient is found + // Check if at least one recipient is found if (!$notifyCustomer && !$copyTo) { return $this; } @@ -856,7 +856,7 @@ public function sendUpdateEmail($notifyCustomer = true, $comment = '') // Get the destination email addresses to send copies to $copyTo = $this->_getEmails(self::XML_PATH_UPDATE_EMAIL_COPY_TO); $copyMethod = Mage::getStoreConfig(self::XML_PATH_UPDATE_EMAIL_COPY_METHOD, $storeId); - // Check if at least one recepient is found + // Check if at least one recipient is found if (!$notifyCustomer && !$copyTo) { return $this; } diff --git a/app/code/core/Mage/Sales/Model/Order/Invoice.php b/app/code/core/Mage/Sales/Model/Order/Invoice.php index 812f614da9d..e5cbb677a3f 100644 --- a/app/code/core/Mage/Sales/Model/Order/Invoice.php +++ b/app/code/core/Mage/Sales/Model/Order/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) 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) */ @@ -788,7 +788,7 @@ public function sendEmail($notifyCustomer = true, $comment = '') // Get the destination email addresses to send copies to $copyTo = $this->_getEmails(self::XML_PATH_EMAIL_COPY_TO); $copyMethod = Mage::getStoreConfig(self::XML_PATH_EMAIL_COPY_METHOD, $storeId); - // Check if at least one recepient is found + // Check if at least one recipient is found if (!$notifyCustomer && !$copyTo) { return $this; } @@ -888,7 +888,7 @@ public function sendUpdateEmail($notifyCustomer = true, $comment = '') // Get the destination email addresses to send copies to $copyTo = $this->_getEmails(self::XML_PATH_UPDATE_EMAIL_COPY_TO); $copyMethod = Mage::getStoreConfig(self::XML_PATH_UPDATE_EMAIL_COPY_METHOD, $storeId); - // Check if at least one recepient is found + // Check if at least one recipient is found if (!$notifyCustomer && !$copyTo) { return $this; } 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 b74d398cbfc..a6fab35b36e 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 @@ -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) */ @@ -62,10 +62,10 @@ public function collect(Mage_Sales_Model_Order_Invoice $invoice) /** * Resolve rounding problems * - * We dont want to include the weee discount amount as the right amount + * We don't want to include the weee discount amount as the right amount * is added when calculating the taxes. * - * Also the subtotal is without weee + * Also, the subtotal is without weee */ $discount = $orderItemDiscount - $orderItem->getDiscountInvoiced(); 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 548c2f613ed..75ecfc63d7a 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 @@ -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) */ @@ -35,7 +35,7 @@ public function collect(Mage_Sales_Model_Order_Invoice $invoice) $baseShippingInclTax = $invoice->getOrder()->getBaseShippingInclTax(); if ($orderShippingAmount) { /** - * Check shipping amount in previus invoices + * Check shipping amount in previous invoices */ foreach ($invoice->getOrder()->getInvoiceCollection() as $previusInvoice) { if ($previusInvoice->getShippingAmount() && !$previusInvoice->isCanceled()) { diff --git a/app/code/core/Mage/Sales/Model/Order/Payment.php b/app/code/core/Mage/Sales/Model/Order/Payment.php index 1db8c9289f9..72634619073 100644 --- a/app/code/core/Mage/Sales/Model/Order/Payment.php +++ b/app/code/core/Mage/Sales/Model/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) 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) */ @@ -866,7 +866,7 @@ public function registerRefundNotification($amount) } /** - * Cancel a creditmemo: substract its totals from the payment + * Cancel a credit memo: subtract its totals from the payment * * @param Mage_Sales_Model_Order_Creditmemo $creditmemo * @return $this @@ -1319,7 +1319,7 @@ protected function _addTransaction($type, $salesDocument = null, $failsafe = fal } /** - * Public acces to _addTransaction method + * Public access to _addTransaction method * * @param string $type * @param Mage_Sales_Model_Abstract $salesDocument @@ -1644,7 +1644,7 @@ protected function _createBillingAgreement() } /** - * Additionnal transaction info setter + * Additional transaction info setter * * @param string $key * @param string $value @@ -1659,7 +1659,7 @@ public function setTransactionAdditionalInfo($key, $value) } /** - * Additionnal transaction info getter + * Additional transaction info getter * * @param string $key * @return mixed 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 d25faa820b7..648fbf16cf0 100644 --- a/app/code/core/Mage/Sales/Model/Order/Payment/Transaction.php +++ b/app/code/core/Mage/Sales/Model/Order/Payment/Transaction.php @@ -86,7 +86,7 @@ class Mage_Sales_Model_Order_Payment_Transaction extends Mage_Core_Model_Abstrac /** * Child transactions, assoc array of txn_id => instance * Filled only in case when all child transactions have txn_id - * Used for quicker search of child transactions using isset() as oposite to foreaching $_children + * Used for quicker search of child transactions using isset() as opposite to foreaching $_children * @var array|false */ protected $_identifiedChildren = null; 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 220a7069b93..aa9604b6769 100644 --- a/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php +++ b/app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php @@ -879,7 +879,7 @@ public function newPage(array $settings = []) * font string; font style, optional: bold, italic, regular * font_file string; path to font file (optional for use your custom font) * font_size int; font size (default 7) - * align string; text align (also see feed parametr), optional left, right + * align string; text align (also see feed parameter), optional left, right * height int;line spacing (default 10) * * @param 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 094ced0461a..7b44c18a9ad 100644 --- a/app/code/core/Mage/Sales/Model/Order/Shipment.php +++ b/app/code/core/Mage/Sales/Model/Order/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) */ @@ -431,7 +431,7 @@ public function sendEmail($notifyCustomer = true, $comment = '') // Get the destination email addresses to send copies to $copyTo = $this->_getEmails(self::XML_PATH_EMAIL_COPY_TO); $copyMethod = Mage::getStoreConfig(self::XML_PATH_EMAIL_COPY_METHOD, $storeId); - // Check if at least one recepient is found + // Check if at least one recipient is found if (!$notifyCustomer && !$copyTo) { return $this; } @@ -526,7 +526,7 @@ public function sendUpdateEmail($notifyCustomer = true, $comment = '') // Get the destination email addresses to send copies to $copyTo = $this->_getEmails(self::XML_PATH_UPDATE_EMAIL_COPY_TO); $copyMethod = Mage::getStoreConfig(self::XML_PATH_UPDATE_EMAIL_COPY_METHOD, $storeId); - // Check if at least one recepient is found + // Check if at least one recipient is found if (!$notifyCustomer && !$copyTo) { return $this; } 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 d283ab371eb..036a59d7bc2 100644 --- a/app/code/core/Mage/Sales/Model/Order/Shipment/Track.php +++ b/app/code/core/Mage/Sales/Model/Order/Shipment/Track.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) */ @@ -64,7 +64,7 @@ public function _construct() * Init mapping array of short fields to * its full names * - * @resturn Varien_Object + * @return void */ protected function _initOldFieldsMap() { diff --git a/app/code/core/Mage/Sales/Model/Quote.php b/app/code/core/Mage/Sales/Model/Quote.php index b3d348abf31..1ae3f4ea6e4 100644 --- a/app/code/core/Mage/Sales/Model/Quote.php +++ b/app/code/core/Mage/Sales/Model/Quote.php @@ -2041,7 +2041,7 @@ protected function _afterLoad() * Return quote checkout method code * * @deprecated after 1.4 beta1 it is checkout module responsibility - * @param bool $originalMethod if true return defined method from begining + * @param bool $originalMethod if true return defined method from beginning * @return string */ public function getCheckoutMethod($originalMethod = false) diff --git a/app/code/core/Mage/Sales/Model/Quote/Address.php b/app/code/core/Mage/Sales/Model/Quote/Address.php index 29996d6236b..608e0436e3b 100644 --- a/app/code/core/Mage/Sales/Model/Quote/Address.php +++ b/app/code/core/Mage/Sales/Model/Quote/Address.php @@ -406,7 +406,7 @@ protected function _afterSave() } /** - * Declare adress quote model object + * Declare address quote model object * * @param Mage_Sales_Model_Quote $quote * @return $this 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 d8db19657e3..f0b7c251e46 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 @@ -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) */ @@ -41,7 +41,7 @@ public function collect(Mage_Sales_Model_Quote_Address $address) foreach ($items as $item) { if ($this->_initItem($address, $item) && $item->getQty() > 0) { /** - * Separatly calculate subtotal only for virtual products + * Separately calculate subtotal only for virtual products */ if ($item->getProduct()->isVirtual()) { $virtualAmount += $item->getRowTotal(); diff --git a/app/code/core/Mage/Sales/Model/Quote/Item.php b/app/code/core/Mage/Sales/Model/Quote/Item.php index 212a78f0ce2..8a08168a689 100644 --- a/app/code/core/Mage/Sales/Model/Quote/Item.php +++ b/app/code/core/Mage/Sales/Model/Quote/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) */ @@ -655,7 +655,7 @@ public function addOption($option) /** * Can specify specific actions for ability to change given quote options values - * Exemple: cataloginventory decimal qty validation may change qty to int, + * 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 diff --git a/app/code/core/Mage/Sales/Model/Quote/Item/Abstract.php b/app/code/core/Mage/Sales/Model/Quote/Item/Abstract.php index 9886867755f..9fca0704bcf 100644 --- a/app/code/core/Mage/Sales/Model/Quote/Item/Abstract.php +++ b/app/code/core/Mage/Sales/Model/Quote/Item/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) */ @@ -625,7 +625,7 @@ public function getBaseOriginalPrice() } /** - * Specify custom item price (used in case whe we have apply not product price to item) + * Specify custom item price (used in case when we have applied not product price to item) * * @param float $value * @return $this diff --git a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Rate/Collection.php b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Rate/Collection.php index 3c59512e2ce..af080d6823b 100644 --- a/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Rate/Collection.php +++ b/app/code/core/Mage/Sales/Model/Resource/Quote/Address/Rate/Collection.php @@ -9,12 +9,12 @@ * @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) */ /** - * Quote addresses shiping rates collection + * Quote addresses shipping rates collection * * @category Mage * @package Mage_Sales diff --git a/app/code/core/Mage/Sales/Model/Service/Order.php b/app/code/core/Mage/Sales/Model/Service/Order.php index ab10ac3893d..2469d69295d 100644 --- a/app/code/core/Mage/Sales/Model/Service/Order.php +++ b/app/code/core/Mage/Sales/Model/Service/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) */ @@ -49,7 +49,7 @@ public function __construct(Mage_Sales_Model_Order $order) } /** - * Quote convertor declaration + * Quote converter declaration * * @param Mage_Sales_Model_Convert_Order $convertor * @return Mage_Sales_Model_Service_Order diff --git a/app/code/core/Mage/Sales/Model/Service/Quote.php b/app/code/core/Mage/Sales/Model/Service/Quote.php index cc753406346..8d4a8307a10 100644 --- a/app/code/core/Mage/Sales/Model/Service/Quote.php +++ b/app/code/core/Mage/Sales/Model/Service/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) 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) */ @@ -57,7 +57,7 @@ class Mage_Sales_Model_Service_Quote protected $_order = null; /** - * If it is true, quote will be inactivate after submitting order or nominal items + * If it is true, quote will be inactivated after submitting order or nominal items * * @var bool */ @@ -75,7 +75,7 @@ public function __construct(Mage_Sales_Model_Quote $quote) } /** - * Quote convertor declaration + * Quote converter declaration * * @param Mage_Sales_Model_Convert_Quote $convertor * @return Mage_Sales_Model_Service_Quote @@ -224,7 +224,7 @@ public function submitNominalItems() */ public function submitAll() { - // don't allow submitNominalItems() to inactivate quote + // don't allow submitNominalItems() to deactivate quote $shouldInactivateQuoteOld = $this->_shouldInactivateQuote; $this->_shouldInactivateQuote = false; try { @@ -263,7 +263,7 @@ public function getOrder() } /** - * Inactivate quote + * Deactivate quote * * @return $this */ diff --git a/app/code/core/Mage/SalesRule/Model/Validator.php b/app/code/core/Mage/SalesRule/Model/Validator.php index 9ef38c446f0..a3e8fd44ec3 100644 --- a/app/code/core/Mage/SalesRule/Model/Validator.php +++ b/app/code/core/Mage/SalesRule/Model/Validator.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) */ @@ -577,7 +577,7 @@ public function processWeeeAmount(Mage_Sales_Model_Quote_Address $address, $item $totalBaseWeeeDiscount = 0; foreach ($weeeTaxAppliedAmounts as $weeeTaxAppliedAmount) { - /* we get the discount by row since we dont need to display the individual amounts */ + /* we get the discount by row since we don't need to display the individual amounts */ $weeeTaxAppliedRowAmount = $weeeTaxAppliedAmount['row_amount']; $baseWeeeTaxAppliedRowAmount = $weeeTaxAppliedAmount['base_row_amount']; $request->setProductClassId($item->getProduct()->getTaxClassId()); diff --git a/app/code/core/Mage/Shipping/Model/Shipping.php b/app/code/core/Mage/Shipping/Model/Shipping.php index e41a52d0f3a..78096a598fc 100644 --- a/app/code/core/Mage/Shipping/Model/Shipping.php +++ b/app/code/core/Mage/Shipping/Model/Shipping.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_Shipping * @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) */ @@ -217,7 +217,7 @@ public function collectCarrierRates($carrierCode, $request) /** * Compose Packages For Carrier. - * Devides order into items and items into parts if it's neccesary + * Divides order into items and items into parts if it's necessary * * @param Mage_Shipping_Model_Carrier_Abstract $carrier * @param Mage_Shipping_Model_Rate_Request $request diff --git a/app/code/core/Mage/Tag/controllers/IndexController.php b/app/code/core/Mage/Tag/controllers/IndexController.php index 86acf707181..a826ddb2c2b 100644 --- a/app/code/core/Mage/Tag/controllers/IndexController.php +++ b/app/code/core/Mage/Tag/controllers/IndexController.php @@ -81,7 +81,7 @@ public function saveAction() } /** - * Checks inputed tags on the correctness of symbols and split string to array of tags + * Checks inputted tags on the correctness of symbols and split string to array of tags * * @param string $tagNamesInString * @return array diff --git a/app/code/core/Mage/Tax/Block/Sales/Order/Tax.php b/app/code/core/Mage/Tax/Block/Sales/Order/Tax.php index 57e95c88a17..c0d7023d690 100644 --- a/app/code/core/Mage/Tax/Block/Sales/Order/Tax.php +++ b/app/code/core/Mage/Tax/Block/Sales/Order/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) 2019-2022 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,7 @@ protected function _construct() } /** - * Check if we nedd display full tax total info + * Check if we need display full tax total info * * @return bool */ diff --git a/app/code/core/Mage/Tax/Helper/Data.php b/app/code/core/Mage/Tax/Helper/Data.php index ae8bc5ca7cd..3cee59c9a46 100644 --- a/app/code/core/Mage/Tax/Helper/Data.php +++ b/app/code/core/Mage/Tax/Helper/Data.php @@ -466,7 +466,7 @@ protected function _getAllRatesByProductClass($store = null) * Get product price with all tax settings processing * * @param Mage_Catalog_Model_Product $product - * @param float $price inputed product price + * @param float $price inputted product price * @param bool $includingTax return price include tax flag * @param null|Mage_Customer_Model_Address $shippingAddress * @param null|Mage_Customer_Model_Address $billingAddress diff --git a/app/code/core/Mage/Tax/Model/Config.php b/app/code/core/Mage/Tax/Model/Config.php index f4aff53b37d..400657fab61 100644 --- a/app/code/core/Mage/Tax/Model/Config.php +++ b/app/code/core/Mage/Tax/Model/Config.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) */ @@ -157,7 +157,7 @@ protected function _getStoreConfig($path, $store) } /** - * Check if product prices inputed include tax + * Check if product prices inputted include tax * * @param null|string|bool|int|Mage_Core_Model_Store $store * @return bool @@ -276,7 +276,7 @@ public function getNeedUseShippingExcludeTax() } /** - * Get defined tax calculation agorithm + * Get defined tax calculation algorithm * * @param mixed $store * @return string 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 2a5e5782b7d..219042cbaa1 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 @@ -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) */ @@ -518,7 +518,7 @@ protected function _unitBaseProcessItemTax( } /** - * Calculate unit tax anount based on unit price + * Calculate unit tax amount based on unit price * * @param Mage_Sales_Model_Quote_Item_Abstract $item * @param float $rate @@ -636,7 +636,7 @@ protected function _calcUnitTaxAmount( ]; } // calculate discount compensation - // We need the discount compensation when dont calculate the hidden taxes + // We need the discount compensation when don't calculate the hidden taxes // (when product does not include taxes) if (!$item->getNoDiscount() && $item->getWeeeTaxApplied()) { $item->setDiscountTaxCompensation($item->getDiscountTaxCompensation() + diff --git a/app/code/core/Mage/Uploader/Model/Config/Uploader.php b/app/code/core/Mage/Uploader/Model/Config/Uploader.php index 9948b0035ef..7827a1dc562 100644 --- a/app/code/core/Mage/Uploader/Model/Config/Uploader.php +++ b/app/code/core/Mage/Uploader/Model/Config/Uploader.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_Uploader * @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,7 @@ * @method $this setProgressCallbacksInterval(int $progressCallbacksInterval) * @method $this setSpeedSmoothingFactor(int $speedSmoothingFactor) * Used for calculating average upload speed. Number from 1 to 0. - * Set to 1 and average upload speed wil be equal to current upload speed. + * Set to 1 and average upload speed will be equal to current upload speed. * For longer file uploads it is better set this number to 0.02, * because time remaining estimation will be more accurate. * @method $this setSuccessStatuses(array $successStatuses) 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 d6d62394032..392abd346fd 100644 --- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php +++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Dhl.php @@ -449,7 +449,7 @@ protected function _doRequest() $shipKey = $r->getShippingIntlKey(); $r->setShipDate($this->_getShipDate(false)); /* - * For internation shippingment customsvalue must be posted + * For international shipment customs value must be posted */ $shippingDuty = $shipment->addChild('Dutiable'); $shippingDuty->addChild('DutiableFlag', ($r->getDutiable() ? 'Y' : 'N')); @@ -488,7 +488,7 @@ protected function _doRequest() $r->setShipDate($this->_getShipDate(false)); /* - * For internation shippingment customsvalue must be posted + * For international shipment customs value must be posted */ $shippingDuty = $shipment->addChild('Dutiable'); $shippingDuty->addChild('DutiableFlag', ($r->getDutiable() ? 'Y' : 'N')); @@ -999,7 +999,7 @@ protected function _getXMLTracking($trackings) $debugData = ['request' => $request]; /* * tracking api cannot process from 3pm to 5pm PST time on Sunday - * DHL Airborne conduts a maintainance during that period. + * DHL Airborne conducts a maintenance during that period. */ try { $url = $this->getConfigData('gateway_url'); 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 ece5c077006..fc86db4a6b1 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 @@ -836,7 +836,7 @@ protected function _getQuotesFromServer($request) } /** - * Build qoutes request XML object + * Build quotes request XML object * * @return SimpleXMLElement */ 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 79e4f8cdd4f..944003aab11 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 @@ -74,7 +74,7 @@ public function setPage(Zend_Pdf_Page $page) } /** - * Calculate x coordinate with identation + * Calculate x coordinate with indentation * * @param int $pt * @return int @@ -85,7 +85,7 @@ protected function _x($pt) } /** - * Calculate y coordinate with identation + * Calculate y coordinate with indentation * * @param int $pt * @return int 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 2473064553a..e3370b61f87 100644 --- a/app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php +++ b/app/code/core/Mage/Usa/Model/Shipping/Carrier/Fedex.php @@ -1007,8 +1007,8 @@ protected function _getXMLTracking($tracking) 'Value' => $tracking, ], /* - * 0 = summary data, one signle scan structure with the most recent scan - * 1 = multiple sacn activity for each package + * 0 = summary data, one single scan structure with the most recent scan + * 1 = multiple scan activity for each package */ 'IncludeDetailedScans' => 1, ]; diff --git a/app/code/core/Mage/Weee/Helper/Data.php b/app/code/core/Mage/Weee/Helper/Data.php index 06fafd90382..07d01939eb3 100644 --- a/app/code/core/Mage/Weee/Helper/Data.php +++ b/app/code/core/Mage/Weee/Helper/Data.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) */ @@ -168,7 +168,7 @@ public function getAmount($product, $shipping = null, $billing = null, $website } /** - * Returns diaplay type for price accordingly to current zone + * Returns display type for price accordingly to current zone * * @param Mage_Catalog_Model_Product $product * @param array|null $compareTo diff --git a/app/code/core/Mage/Weee/Model/Observer.php b/app/code/core/Mage/Weee/Model/Observer.php index 9a568f59d96..816e93be5fd 100644 --- a/app/code/core/Mage/Weee/Model/Observer.php +++ b/app/code/core/Mage/Weee/Model/Observer.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) */ @@ -207,7 +207,7 @@ public function addWeeeTaxAttributeType(Varien_Event_Observer $observer) } /** - * Automaticaly assign backend model to weee attributes + * Automatically assign backend model to weee attributes * * @param Varien_Event_Observer $observer * @return Mage_Weee_Model_Observer 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 c61727e3067..c9dc5d402b2 100644 --- a/app/code/core/Mage/Weee/Model/Total/Quote/Weee.php +++ b/app/code/core/Mage/Weee/Model/Total/Quote/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) */ @@ -311,7 +311,7 @@ protected function _processTaxSettings($item, $value, $baseValue, $rowValue, $ba } /** - * Proces row amount based on FPT total amount configuration setting + * Process row amount based on FPT total amount configuration setting * * @param Mage_Sales_Model_Quote_Address $address * @param float $rowValue diff --git a/app/code/core/Mage/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Main.php b/app/code/core/Mage/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Main.php index 477043a9272..b4d841d8982 100644 --- a/app/code/core/Mage/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Main.php +++ b/app/code/core/Mage/Widget/Block/Adminhtml/Widget/Instance/Edit/Tab/Main.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) */ @@ -188,7 +188,7 @@ public function getPackegeThemeOptionsArray() } /** - * Initialize form fileds values + * Initialize form fields values * * @inheritDoc */ diff --git a/app/code/core/Mage/Widget/Model/Resource/Widget/Instance/Collection.php b/app/code/core/Mage/Widget/Model/Resource/Widget/Instance/Collection.php index 2933cdc9d23..5b68e819062 100644 --- a/app/code/core/Mage/Widget/Model/Resource/Widget/Instance/Collection.php +++ b/app/code/core/Mage/Widget/Model/Resource/Widget/Instance/Collection.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) */ @@ -22,7 +22,7 @@ class Mage_Widget_Model_Resource_Widget_Instance_Collection extends Mage_Core_Model_Resource_Db_Collection_Abstract { /** - * Fields map for corellation names & real selected fields + * Fields map for correlation names & real selected fields * * @var array */ diff --git a/app/code/core/Mage/Widget/Model/Widget/Instance.php b/app/code/core/Mage/Widget/Model/Widget/Instance.php index 4d257433892..6d84d15e256 100644 --- a/app/code/core/Mage/Widget/Model/Widget/Instance.php +++ b/app/code/core/Mage/Widget/Model/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) */ @@ -321,7 +321,7 @@ protected function _parsePackageTheme() /** * Getter - * Explode to array if string setted + * Explode to array if string is set * * @return array */ @@ -335,7 +335,7 @@ public function getStoreIds() /** * Getter - * Unserialize if serialized string setted + * Unserialize if serialized string is set * * @return array */ @@ -399,7 +399,7 @@ public function getWidgetConfig() } /** - * Retrieve widget availabel templates + * Retrieve widget available templates * * @return array */ diff --git a/app/code/core/Mage/Wishlist/Block/Share/Email/Items.php b/app/code/core/Mage/Wishlist/Block/Share/Email/Items.php index f74f46533ac..d6653e3fea3 100644 --- a/app/code/core/Mage/Wishlist/Block/Share/Email/Items.php +++ b/app/code/core/Mage/Wishlist/Block/Share/Email/Items.php @@ -9,7 +9,7 @@ * @category Mage * @package Mage_Wishlist * @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) */ @@ -57,7 +57,7 @@ public function getAddToCartUrl($product, $additional = []) } /** - * Check whether whishlist item has description + * Check whether wishlist item has description * * @param Mage_Wishlist_Model_Item $item * @return bool 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 4f001f7154e..2a12bb9344b 100644 --- a/app/code/core/Mage/Wishlist/Model/Resource/Item/Collection.php +++ b/app/code/core/Mage/Wishlist/Model/Resource/Item/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) */ @@ -60,7 +60,7 @@ class Mage_Wishlist_Model_Resource_Item_Collection extends Mage_Core_Model_Resou protected $_storeIds = []; /** - * Add days in whishlist filter of product collection + * Add days in wishlist filter of product collection * * @var bool */ @@ -346,7 +346,7 @@ public function setInStockFilter($flag = true) } /** - * Set add days in whishlist + * Set add days in wishlist * * This method appears in 1.5.0.0 in deprecated state, because: * - we need it to make wishlist item collection interface as much as possible compatible with old 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 fcf4822cec6..5fec291ecc0 100644 --- a/app/code/core/Mage/Wishlist/Model/Resource/Product/Collection.php +++ b/app/code/core/Mage/Wishlist/Model/Resource/Product/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) */ @@ -25,7 +25,7 @@ class Mage_Wishlist_Model_Resource_Product_Collection extends Mage_Catalog_Model_Resource_Product_Collection { /** - * Add days in whishlist filter of product collection + * Add days in wishlist filter of product collection * * @var bool */ @@ -38,7 +38,7 @@ class Mage_Wishlist_Model_Resource_Product_Collection extends Mage_Catalog_Model protected $_wishlistItemTableAlias = 't_wi'; /** - * Get add days in whishlist filter of product collection flag + * Get add days in wishlist filter of product collection flag * * @return bool */ @@ -48,7 +48,7 @@ public function getDaysInWishlist() } /** - * Set add days in whishlist filter of product collection flag + * Set add days in wishlist filter of product collection flag * * @param bool $flag * @return $this diff --git a/lib/3Dsecure/CentinelClient.php b/lib/3Dsecure/CentinelClient.php index d3f2a7a3569..ec9a74be295 100644 --- a/lib/3Dsecure/CentinelClient.php +++ b/lib/3Dsecure/CentinelClient.php @@ -114,7 +114,7 @@ function sendHttp($url, $connectTimeout, $timeout) } - // Assert that we received an expected Centinel Message in reponse. + // Assert that we received an expected Centinel Message in response. if (strpos($result, "") === false) { $result = $this->setErrorResponse(CENTINEL_ERROR_CODE_8010, CENTINEL_ERROR_CODE_8010_DESC); diff --git a/lib/Mage/Archive/Tar.php b/lib/Mage/Archive/Tar.php index dfc3e7a3b0c..8f6b7510af8 100644 --- a/lib/Mage/Archive/Tar.php +++ b/lib/Mage/Archive/Tar.php @@ -399,7 +399,7 @@ protected function _composeHeader($long = false) /** * Read TAR string from file, and unpacked it. - * Create files and directories information about discribed + * Create files and directories information about described * in the string. * * @param string $destination path to file is unpacked diff --git a/lib/Mage/HTTP/Client/Curl.php b/lib/Mage/HTTP/Client/Curl.php index 39fa14676b0..6ec2afba3ea 100644 --- a/lib/Mage/HTTP/Client/Curl.php +++ b/lib/Mage/HTTP/Client/Curl.php @@ -381,7 +381,7 @@ protected function makeRequest($method, $uri, $params = []) } /** - * Throw error excpetion + * Throw error exception * @param $string * @throws Exception * @return never @@ -392,7 +392,7 @@ public function doError($string) } /** - * Parse headers - CURL callback functin + * Parse headers - CURL callback function * * @param resource $ch curl handle, not needed * @param string $data diff --git a/lib/Mage/HTTP/Client/Socket.php b/lib/Mage/HTTP/Client/Socket.php index b4d73100877..46eeea4ca8a 100644 --- a/lib/Mage/HTTP/Client/Socket.php +++ b/lib/Mage/HTTP/Client/Socket.php @@ -468,7 +468,7 @@ protected function makeRequest($method, $uri, $params = []) } /** - * Throw error excpetion + * Throw error exception * @param $string * @throws Exception * @return never diff --git a/lib/Mage/System/Ftp.php b/lib/Mage/System/Ftp.php index 753bf296b28..f017febd40f 100644 --- a/lib/Mage/System/Ftp.php +++ b/lib/Mage/System/Ftp.php @@ -227,7 +227,7 @@ public function raw($cmd) /** * Upload local file to remote * - * Can be used for relative and absoulte remote paths + * Can be used for relative and absolute remote paths * Relative: use chdir before calling this * * @param string $remote diff --git a/lib/Magento/Db/Adapter/Pdo/Mysql.php b/lib/Magento/Db/Adapter/Pdo/Mysql.php index 0fb50b08383..e366aff0aa8 100644 --- a/lib/Magento/Db/Adapter/Pdo/Mysql.php +++ b/lib/Magento/Db/Adapter/Pdo/Mysql.php @@ -9,7 +9,7 @@ * @category Magento * @package Magento_Db * @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) */ @@ -66,7 +66,7 @@ public function insertBatchFromSelect( } /** - * Retrieve bunch of queries for specified select splitted by specified step + * Retrieve bunch of queries for specified select split by specified step * * @param Varien_Db_Select $select * @param string $entityIdField diff --git a/lib/Varien/Cache/Backend/Database.php b/lib/Varien/Cache/Backend/Database.php index d5e5eb482d4..16047498abf 100644 --- a/lib/Varien/Cache/Backend/Database.php +++ b/lib/Varien/Cache/Backend/Database.php @@ -9,7 +9,7 @@ * @category Varien * @package Varien_Cache * @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) */ @@ -123,7 +123,7 @@ protected function _getTagsTable() * * @param string $id Cache id * @param boolean $doNotTestCacheValidity If set to true, the cache validity won't be tested - * @return string|false cached datas + * @return string|false cached data */ public function load($id, $doNotTestCacheValidity = false) { diff --git a/lib/Varien/Cache/Backend/Memcached.php b/lib/Varien/Cache/Backend/Memcached.php index cedf767d909..db1f02db4ed 100644 --- a/lib/Varien/Cache/Backend/Memcached.php +++ b/lib/Varien/Cache/Backend/Memcached.php @@ -108,7 +108,7 @@ public function save($data, $id, $tags = [], $specificLifetime = false) } /** - * Load data from memcached, glue from several chunks if it was splitted upon save. + * Load data from memcached, glue from several chunks if it was split upon save. * * @param string $id @see Zend_Cache_Backend_Memcached::load() * @param bool $doNotTestCacheValidity @see Zend_Cache_Backend_Memcached::load() @@ -144,7 +144,7 @@ public function load($id, $doNotTestCacheValidity = false) } } - // Data has not been splitted to chunks on save + // Data has not been split to chunks on save return $data; } } diff --git a/lib/Varien/Cache/Core.php b/lib/Varien/Cache/Core.php index ba23d3100af..b716952f3b4 100644 --- a/lib/Varien/Cache/Core.php +++ b/lib/Varien/Cache/Core.php @@ -134,12 +134,12 @@ public function save($data, $id = null, $tags = [], $specificLifetime = false, $ } /** - * Load data from cached, glue from several chunks if it was splitted upon save. + * Load data from cached, glue from several chunks if it was split upon save. * * @param string $id Cache id * @param boolean $doNotTestCacheValidity If set to true, the cache validity won't be tested * @param boolean $doNotUnserialize Do not serialize (even if automatic_serialization is true) => for internal use - * @return mixed|false Cached datas + * @return mixed|false Cached data */ public function load($id, $doNotTestCacheValidity = false, $doNotUnserialize = false) { @@ -171,7 +171,7 @@ public function load($id, $doNotTestCacheValidity = false, $doNotUnserialize = f } } - // Data has not been splitted to chunks on save + // Data has not been split to chunks on save return $data; } diff --git a/lib/Varien/Crypt/Mcrypt.php b/lib/Varien/Crypt/Mcrypt.php index dac7fdf6acd..6c84085d223 100644 --- a/lib/Varien/Crypt/Mcrypt.php +++ b/lib/Varien/Crypt/Mcrypt.php @@ -9,7 +9,7 @@ * @category Varien * @package Varien_Crypt * @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,7 @@ class Varien_Crypt_Mcrypt extends Varien_Crypt_Abstract { /** - * Constuctor + * Constructor * * @param array $data */ diff --git a/lib/Varien/Data/Collection/Db.php b/lib/Varien/Data/Collection/Db.php index 993e7673900..d1e083eb43c 100644 --- a/lib/Varien/Data/Collection/Db.php +++ b/lib/Varien/Data/Collection/Db.php @@ -67,7 +67,7 @@ class Varien_Data_Collection_Db extends Varien_Data_Collection protected $_data = null; /** - * Fields map for corellation names & real selected fields + * Fields map for correlation names & real selected fields * * @var array|null */ @@ -694,7 +694,7 @@ public function getData() } /** - * Proces loaded collection data + * Process loaded collection data * * @return $this */ diff --git a/lib/Varien/Data/Collection/Filesystem.php b/lib/Varien/Data/Collection/Filesystem.php index c79eda8a822..6ce620072f8 100644 --- a/lib/Varien/Data/Collection/Filesystem.php +++ b/lib/Varien/Data/Collection/Filesystem.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-2022 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) */ @@ -252,7 +252,7 @@ protected function _collectRecursive($dir) } /** - * Lauch data collecting + * Launch data collecting * * @param bool $printQuery * @param bool $logQuery diff --git a/lib/Varien/Data/Tree/Db.php b/lib/Varien/Data/Tree/Db.php index fa4763a9547..28e7a5b02ff 100644 --- a/lib/Varien/Data/Tree/Db.php +++ b/lib/Varien/Data/Tree/Db.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) */ @@ -79,7 +79,7 @@ public function __construct($connection, $table, $fields) parent::__construct(); if (!$connection) { - throw new Exception('Wrong "$connection" parametr'); + throw new Exception('Wrong "$connection" parameter'); } $this->_conn = $connection; diff --git a/lib/Varien/Data/Tree/Dbp.php b/lib/Varien/Data/Tree/Dbp.php index b86f7c5fc3e..1fa289fb9d9 100644 --- a/lib/Varien/Data/Tree/Dbp.php +++ b/lib/Varien/Data/Tree/Dbp.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) */ @@ -81,7 +81,7 @@ public function __construct($connection, $table, $fields) parent::__construct(); if (!$connection) { - throw new Exception('Wrong "$connection" parametr'); + throw new Exception('Wrong "$connection" parameter'); } $this->_conn = $connection; @@ -92,7 +92,7 @@ public function __construct($connection, $table, $fields) || !isset($fields[self::LEVEL_FIELD]) || !isset($fields[self::ORDER_FIELD]) ) { - throw new Exception('"$fields" tree configuratin array'); + throw new Exception('"$fields" tree configuration array'); } $this->_idField = $fields[self::ID_FIELD]; diff --git a/lib/Varien/Db/Adapter/Interface.php b/lib/Varien/Db/Adapter/Interface.php index 2e62614f4d5..0825a1c46ba 100644 --- a/lib/Varien/Db/Adapter/Interface.php +++ b/lib/Varien/Db/Adapter/Interface.php @@ -9,7 +9,7 @@ * @category Varien * @package Varien_Db * @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) */ @@ -598,7 +598,7 @@ public function quoteInto($text, $value, $type = null, $count = null); /** * Quotes an identifier. * - * Accepts a string representing a qualified indentifier. For Example: + * Accepts a string representing a qualified identifier. For Example: * * $adapter->quoteIdentifier('myschema.mytable') * @@ -1035,7 +1035,7 @@ public function orderRand(Varien_Db_Select $select, $field = null); public function forUpdate($sql); /** - * Try to find installed primary key name, if not - formate new one. + * Try to find installed primary key name, if not - format new one. * * @param string $tableName Table name * @param string $schemaName OPTIONAL diff --git a/lib/Varien/Db/Adapter/Pdo/Mysql.php b/lib/Varien/Db/Adapter/Pdo/Mysql.php index 035ddb0b63c..1fc06cdaafe 100644 --- a/lib/Varien/Db/Adapter/Pdo/Mysql.php +++ b/lib/Varien/Db/Adapter/Pdo/Mysql.php @@ -859,8 +859,8 @@ public function purgeOrphanRecords( * @param string $fkName foreign key name * @param string $tableName main table name * @param string $columnName main table field name - * @param string $refTableName refered table name - * @param string $refColumnName refered table field name + * @param string $refTableName referred table name + * @param string $refColumnName referred table field name * @param string $onUpdate on update statement * @param string $onDelete on delete statement * @param bool $purge @@ -1483,7 +1483,7 @@ protected function _debugStat($type, $sql, $bind = [], $result = null) } /** - * Write exception and thow + * Write exception and throw * * @param Exception $e * @throws Exception @@ -1533,7 +1533,7 @@ protected function _debugWriteToFile($str) * @param Zend_Db_Select|Zend_Db_Expr|array|null|int|string|float $value OPTIONAL A single value to quote into the condition. * @param null|string|int $type OPTIONAL The type of the given value e.g. Zend_Db::INT_TYPE, "INT" * @param integer $count OPTIONAL count of placeholders to replace - * @return string An SQL-safe quoted value placed into the orignal text. + * @return string An SQL-safe quoted value placed into the original text. */ public function quoteInto($text, $value, $type = null, $count = null) { @@ -3991,7 +3991,7 @@ protected function _prepareSqlDateCondition($condition, $key) } /** - * Try to find installed primary key name, if not - formate new one. + * Try to find installed primary key name, if not - format new one. * * @param string $tableName Table name * @param string $schemaName OPTIONAL diff --git a/lib/Varien/Db/Ddl/Table.php b/lib/Varien/Db/Ddl/Table.php index f4607ff8867..2d2aa21a074 100644 --- a/lib/Varien/Db/Ddl/Table.php +++ b/lib/Varien/Db/Ddl/Table.php @@ -648,7 +648,7 @@ protected function _sortColumnPosition($a, $b) } /** - * Normalize positon of index columns array + * Normalize position of index columns array * * @param array $columns * @return array @@ -665,7 +665,7 @@ protected function _normalizeIndexColumnPosition($columns) } /** - * Normalize positon of table columns array + * Normalize position of table columns array * * @param array $columns * @return array diff --git a/lib/Varien/Db/Select.php b/lib/Varien/Db/Select.php index 7d73b05d748..8e7486d27e0 100644 --- a/lib/Varien/Db/Select.php +++ b/lib/Varien/Db/Select.php @@ -345,7 +345,7 @@ public function deleteFromSelect($table) } /** - * Modify (hack) part of the structured information for the currect query + * Modify (hack) part of the structured information for the current query * * @param string $part * @param mixed $value diff --git a/lib/Varien/Db/Statement/Parameter.php b/lib/Varien/Db/Statement/Parameter.php index af5eaecf657..71157705d01 100644 --- a/lib/Varien/Db/Statement/Parameter.php +++ b/lib/Varien/Db/Statement/Parameter.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) */ @@ -19,7 +19,7 @@ * Used to transmit specific information about parameter value binding to be bound the right * way to the query. * Most used properties and methods are defined in interface. Specific things for concrete DB adapter can be - * transmitted using 'addtional' property (Varien_Object) as a container. + * transmitted using 'additional' property (Varien_Object) as a container. * * @category Varien * @package Varien_Db diff --git a/lib/Varien/Db/Tree.php b/lib/Varien/Db/Tree.php index 5bc6b742de6..95ee65bf6f2 100644 --- a/lib/Varien/Db/Tree.php +++ b/lib/Varien/Db/Tree.php @@ -204,7 +204,7 @@ public function getKeys() } /** - * Cleare table and add root element + * Clear table and add root element * */ public function clear($data = []) diff --git a/lib/Varien/Debug.php b/lib/Varien/Debug.php index 16bab472f33..a8b42126196 100644 --- a/lib/Varien/Debug.php +++ b/lib/Varien/Debug.php @@ -82,7 +82,7 @@ public static function trace(array $trace, $return = false, $html = true, $withA continue; } - // prepare method argments + // prepare method arguments $args = []; if (isset($data['args']) && $withArgs) { foreach ($data['args'] as $arg) { diff --git a/lib/Varien/Directory/Factory.php b/lib/Varien/Directory/Factory.php index 5154ee50d0b..a4d3dca03a5 100644 --- a/lib/Varien/Directory/Factory.php +++ b/lib/Varien/Directory/Factory.php @@ -28,7 +28,7 @@ class Varien_Directory_Factory /** * return or Varien_Directory_Collection or Varien_File_Object object * - * @param array $path - path to direcctory + * @param array $path - path to directory * @param bool $is_recursion - use or not recursion * @param int $recurse_level - recurse level * @return IFactor - Varien_Directory_Collection or Varien_File_Object object diff --git a/lib/Varien/Event/Collection.php b/lib/Varien/Event/Collection.php index 7d562342ce2..d6c0e2f6686 100644 --- a/lib/Varien/Event/Collection.php +++ b/lib/Varien/Event/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) */ @@ -103,7 +103,7 @@ public function addEvent(Varien_Event $event) /** * Register an observer * - * If observer has event_name property it will be regitered for this specific 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 diff --git a/lib/Varien/Event/Observer.php b/lib/Varien/Event/Observer.php index 86798c5b68d..3d69fcc167b 100644 --- a/lib/Varien/Event/Observer.php +++ b/lib/Varien/Event/Observer.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) */ @@ -22,7 +22,7 @@ class Varien_Event_Observer extends Varien_Object { /** - * Checkes the observer's event_regex against event's name + * Checks the observer's event_regex against event's name * * @param Varien_Event $event * @return boolean diff --git a/lib/Varien/Event/Observer/Cron.php b/lib/Varien/Event/Observer/Cron.php index 74e56c151f5..48fa1708e79 100644 --- a/lib/Varien/Event/Observer/Cron.php +++ b/lib/Varien/Event/Observer/Cron.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) */ @@ -26,7 +26,7 @@ class Varien_Event_Observer_Cron extends Varien_Event_Observer { /** - * Checkes the observer's cron string against event's name + * Checks the observer's cron string against event's name * * Supports $this->setCronExpr('* 0-5,10-59/5 2-10,15-25 january-june/2 mon-fri') * diff --git a/lib/Varien/Event/Observer/Regex.php b/lib/Varien/Event/Observer/Regex.php index 750952d7a76..d5aa1159ef5 100644 --- a/lib/Varien/Event/Observer/Regex.php +++ b/lib/Varien/Event/Observer/Regex.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) */ @@ -24,7 +24,7 @@ class Varien_Event_Observer_Regex extends Varien_Event_Observer { /** - * Checkes the observer's event_regex against event's name + * Checks the observer's event_regex against event's name * * @param Varien_Event $event * @return boolean diff --git a/lib/Varien/File/Uploader.php b/lib/Varien/File/Uploader.php index 0acc053944b..9b79218132d 100644 --- a/lib/Varien/File/Uploader.php +++ b/lib/Varien/File/Uploader.php @@ -9,7 +9,7 @@ * @category Varien * @package Varien_File * @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,8 +77,8 @@ class Varien_File_Uploader protected $_uploadedFileDir; /** - * If this variable is set to TRUE, our library will be able to automaticaly create - * non-existant directories. + * If this variable is set to TRUE, our library will be able to automatically create + * non-existent directories. * * @var bool * @access protected diff --git a/lib/Varien/Filter/Template.php b/lib/Varien/Filter/Template.php index e3adab4e0b5..12f70ac5147 100644 --- a/lib/Varien/Filter/Template.php +++ b/lib/Varien/Filter/Template.php @@ -55,7 +55,7 @@ class Varien_Filter_Template implements Zend_Filter_Interface protected $_includeProcessor = null; /** - * Sets template variables that's can be called througth {var ...} statement + * Sets template variables that's can be called through {var ...} statement * * @param array $variables */ diff --git a/lib/Varien/Filter/Template/Tokenizer/Abstract.php b/lib/Varien/Filter/Template/Tokenizer/Abstract.php index 216cc6147bb..a879a3fbe3a 100644 --- a/lib/Varien/Filter/Template/Tokenizer/Abstract.php +++ b/lib/Varien/Filter/Template/Tokenizer/Abstract.php @@ -9,7 +9,7 @@ * @category Varien * @package Varien_Filter * @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,7 @@ public function next() } /** - * Move current index to previus char. + * Move current index to previous char. * * If index out of bounds returns false * diff --git a/lib/Varien/Filter/Template/Tokenizer/Parameter.php b/lib/Varien/Filter/Template/Tokenizer/Parameter.php index 13de7315b53..9b9decb3ca3 100644 --- a/lib/Varien/Filter/Template/Tokenizer/Parameter.php +++ b/lib/Varien/Filter/Template/Tokenizer/Parameter.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-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) */ @@ -45,7 +45,7 @@ public function tokenize() } /** - * Get string value in parameters througth tokenize + * Get string value in parameters through tokenize * * @return string */ diff --git a/lib/Varien/Filter/Template/Tokenizer/Variable.php b/lib/Varien/Filter/Template/Tokenizer/Variable.php index db13732d576..6b370c6a067 100644 --- a/lib/Varien/Filter/Template/Tokenizer/Variable.php +++ b/lib/Varien/Filter/Template/Tokenizer/Variable.php @@ -9,7 +9,7 @@ * @category Varien * @package Varien_Filter * @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) */ @@ -121,7 +121,7 @@ public function isNumeric() } /** - * Return true if current char is qoute or apostroph + * Return true if current char is quote or apostrophe * * @return boolean */ diff --git a/lib/Varien/Image.php b/lib/Varien/Image.php index 25c1b071fe4..23d6c0434d9 100644 --- a/lib/Varien/Image.php +++ b/lib/Varien/Image.php @@ -9,7 +9,7 @@ * @category Varien * @package Varien_Image * @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) */ @@ -277,7 +277,7 @@ public function setWatermarkWidth($width) } /** - * Set watermark heigth + * Set watermark height * * @param int $heigth * @return Varien_Image diff --git a/lib/Varien/Io/Abstract.php b/lib/Varien/Io/Abstract.php index 4fe19f5deed..cc64c42f2f3 100644 --- a/lib/Varien/Io/Abstract.php +++ b/lib/Varien/Io/Abstract.php @@ -22,15 +22,15 @@ abstract class Varien_Io_Abstract implements Varien_Io_Interface { /** - * If this variable is set to true, our library will be able to automaticaly - * create non-existant directories + * If this variable is set to true, our library will be able to automatically + * create non-existent directories * * @var bool */ protected $_allowCreateFolders = false; /** - * Allow automaticaly create non-existant directories + * Allow automatically create non-existent directories * * @param bool $flag * @return Varien_Io_Abstract diff --git a/lib/Varien/Io/File.php b/lib/Varien/Io/File.php index 4d35c86831b..d7240ae4cf2 100644 --- a/lib/Varien/Io/File.php +++ b/lib/Varien/Io/File.php @@ -50,8 +50,8 @@ class Varien_Io_File extends Varien_Io_Abstract public const GREP_DIRS = 'dirs_only'; /** - * If this variable is set to TRUE, our library will be able to automaticaly create - * non-existant directories. + * If this variable is set to TRUE, our library will be able to automatically create + * non-existent directories. * * @var bool * @access protected diff --git a/lib/Varien/Object.php b/lib/Varien/Object.php index ff4ed8402be..19fa1d61160 100644 --- a/lib/Varien/Object.php +++ b/lib/Varien/Object.php @@ -75,7 +75,7 @@ class Varien_Object implements ArrayAccess /** * Constructor * - * By default is looking for first argument as array and assignes it as object attributes + * By default, is looking for first argument as array and assigns it as object attributes * This behaviour may change in child classes */ public function __construct() @@ -676,10 +676,10 @@ public function isEmpty() } /** - * Converts field names for setters and geters + * Converts field names for setters and getters * * $this->setMyField($value) === $this->setData('my_field', $value) - * Uses cache to eliminate unneccessary preg_replace + * Uses cache to eliminate unnecessary preg_replace * * @param string $name * @return string diff --git a/lib/Varien/Simplexml/Config/Cache/Abstract.php b/lib/Varien/Simplexml/Config/Cache/Abstract.php index 88404abbcb0..5ebda9a0a95 100644 --- a/lib/Varien/Simplexml/Config/Cache/Abstract.php +++ b/lib/Varien/Simplexml/Config/Cache/Abstract.php @@ -9,7 +9,7 @@ * @category Varien * @package Varien_Simplexml * @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) */ @@ -64,7 +64,7 @@ public function validateComponents($data) if (empty($data) || !is_array($data)) { return false; } - // check that no source files were changed or check file exsists + // check that no source files were changed or check file exists foreach ($data as $sourceFile => $stat) { if (empty($stat['mtime']) || !is_file($sourceFile) || filemtime($sourceFile) !== $stat['mtime']) { return false; From 11671cd6401cc4cc40a2fd122537c6a150d8e476 Mon Sep 17 00:00:00 2001 From: ADDISON <8360474+ADDISON74@users.noreply.github.com> Date: Tue, 17 Sep 2024 16:52:54 +0300 Subject: [PATCH 2/2] Update app/code/core/Mage/Bundle/Block/Sales/Order/Items/Renderer.php Co-authored-by: Colin Mollenhour --- app/code/core/Mage/Bundle/Block/Sales/Order/Items/Renderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/core/Mage/Bundle/Block/Sales/Order/Items/Renderer.php b/app/code/core/Mage/Bundle/Block/Sales/Order/Items/Renderer.php index c90f37268a5..47a42ebfe62 100644 --- a/app/code/core/Mage/Bundle/Block/Sales/Order/Items/Renderer.php +++ b/app/code/core/Mage/Bundle/Block/Sales/Order/Items/Renderer.php @@ -140,7 +140,7 @@ public function getValueHtml($item) } /** - * Getting all available children for Invoice, Shipmen or Credit memo item + * Getting all available children for Invoice, Shipment or Credit Memo item * * @param Varien_Object $item * @return array