Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct spelling #21534

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions app/code/Magento/Catalog/Api/ProductRenderListInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,22 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\Catalog\Api;

/**
* Interface which provides product renders information for products
* Interface which provides product renders information for products.
*
* @api
* @since 101.1.0
*/
interface ProductRenderListInterface
{
/**
* Collect and retrieve the list of product render info
* This info contains raw prices and formated prices, product name, stock status, store_id, etc
* Collect and retrieve the list of product render info.
*
* This info contains raw prices and formatted prices, product name, stock status, store_id, etc.
*
* @see \Magento\Catalog\Api\Data\ProductRenderInfoDtoInterface
*
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,14 @@
*
* @author Magento Core Team <core@magentocommerce.com>
*/

namespace Magento\Catalog\Block\Product\View\Options;

use Magento\Catalog\Pricing\Price\CustomOptionPriceInterface;

/**
* Product aoptions section abstract block.
*
* @api
* @since 100.0.2
*/
Expand Down Expand Up @@ -46,7 +49,7 @@ abstract class AbstractOptions extends \Magento\Framework\View\Element\Template
/**
* @param \Magento\Framework\View\Element\Template\Context $context
* @param \Magento\Framework\Pricing\Helper\Data $pricingHelper
* @param \Magento\Catalog\Helper\Data $catalogData,
* @param \Magento\Catalog\Helper\Data $catalogData
* @param array $data
*/
public function __construct(
Expand Down Expand Up @@ -123,6 +126,8 @@ public function getFormattedPrice()
}

/**
* Retrieve formatted price.
*
* @return string
*
* @deprecated
Expand All @@ -134,7 +139,7 @@ public function getFormatedPrice()
}

/**
* Return formated price
* Return formatted price
*
* @param array $value
* @param bool $flag
Expand Down
15 changes: 14 additions & 1 deletion app/code/Magento/Checkout/Block/Cart/Totals.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\Checkout\Block\Cart;

use Magento\Framework\View\Element\BlockInterface;
use Magento\Checkout\Block\Checkout\LayoutProcessorInterface;

/**
* Totals cart block.
*
* @api
*/
class Totals extends \Magento\Checkout\Block\Cart\AbstractCart
Expand Down Expand Up @@ -62,6 +65,8 @@ public function __construct(
}

/**
* Retrieve encoded js layout.
*
* @return string
*/
public function getJsLayout()
Expand All @@ -74,6 +79,8 @@ public function getJsLayout()
}

/**
* Retrieve totals from cache.
*
* @return array
*/
public function getTotals()
Expand All @@ -85,6 +92,8 @@ public function getTotals()
}

/**
* Set totals to cache.
*
* @param array $value
* @return $this
* @codeCoverageIgnore
Expand All @@ -96,6 +105,8 @@ public function setTotals($value)
}

/**
* Create totals block and set totals.
*
* @param string $code
* @return BlockInterface
*/
Expand All @@ -121,6 +132,8 @@ protected function _getTotalRenderer($code)
}

/**
* Get totals html.
*
* @param mixed $total
* @param int|null $area
* @param int $colspan
Expand Down Expand Up @@ -177,7 +190,7 @@ public function needDisplayBaseGrandtotal()
}

/**
* Get formated in base currency base grand total value
* Get formatted in base currency base grand total value
*
* @return string
*/
Expand Down
9 changes: 6 additions & 3 deletions app/code/Magento/Customer/Model/Attribute/Data/Postcode.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

namespace Magento\Customer\Model\Attribute\Data;

use Magento\Directory\Helper\Data as DirectoryHelper;
Expand All @@ -13,7 +14,8 @@
use Magento\Framework\Stdlib\DateTime\TimezoneInterface as MagentoTimezone;

/**
* Customer Address Postal/Zip Code Attribute Data Model
* Customer Address Postal/Zip Code Attribute Data Model.
*
* This Data Model Has to Be Set Up in additional EAV attribute table
*/
class Postcode extends \Magento\Eav\Model\Attribute\Data\AbstractData
Expand All @@ -40,7 +42,8 @@ public function __construct(
}

/**
* Validate postal/zip code
* Validate postal/zip code.
*
* Return true and skip validation if country zip code is optional
*
* @param array|string $value
Expand Down Expand Up @@ -104,7 +107,7 @@ public function restoreValue($value)
}

/**
* Return formated attribute value from entity model
* Return formatted attribute value from entity model
*
* @param string $format
* @return string|array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1970,7 +1970,7 @@
node.appendChild(dom.doc.createTextNode(invisibleChar));
node = node.firstChild;

// Insert caret container after the formated node
// Insert caret container after the formatted node
dom.insertAfter(caretContainer, formatNode);

// Move selection to text node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15796,7 +15796,7 @@ tinymce.create('tinymce.ui.Toolbar:tinymce.ui.Container', {
node.appendChild(dom.doc.createTextNode(invisibleChar));
node = node.firstChild;

// Insert caret container after the formated node
// Insert caret container after the formatted node
dom.insertAfter(caretContainer, formatNode);

// Move selection to text node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16646,7 +16646,7 @@ tinymce.create('tinymce.ui.Toolbar:tinymce.ui.Container', {
node.appendChild(dom.doc.createTextNode(invisibleChar));
node = node.firstChild;

// Insert caret container after the formated node
// Insert caret container after the formatted node
dom.insertAfter(caretContainer, formatNode);

// Move selection to text node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16620,7 +16620,7 @@ tinymce.create('tinymce.ui.Toolbar:tinymce.ui.Container', {
node.appendChild(dom.doc.createTextNode(invisibleChar));
node = node.firstChild;

// Insert caret container after the formated node
// Insert caret container after the formatted node
dom.insertAfter(caretContainer, formatNode);

// Move selection to text node
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Wishlist/Block/AbstractBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public function hasDescription($item)
}

/**
* Retrieve formated Date
* Retrieve formatted Date
*
* @param string $date
* @deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

declare(strict_types=1);

namespace Magento\Catalog\Model\Product\Type;
Expand Down Expand Up @@ -108,7 +109,7 @@ public function testGetFinalPrice()
}

/**
* Get formated price
* Get formatted price
*/
public function testGetFormatedPrice()
{
Expand Down