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

Rename $websiteId to $scopeId #5078

Merged
merged 1 commit into from
Mar 23, 2017
Merged

Rename $websiteId to $scopeId #5078

merged 1 commit into from
Mar 23, 2017

Conversation

flancer64
Copy link
Contributor

@flancer64 flancer64 commented Jun 17, 2016

This is a definition of the "\Magento\CatalogInventory\Model\Spi\StockRegistryProviderInterface::getStockStatus" method:

/**
 * @param int $productId
 * @param int $scopeId
 * @return \Magento\CatalogInventory\Api\Data\StockStatusInterface
 */
public function getStockStatus($productId, $scopeId);

Wrong variable name was used for this data in the file Stock.php

This is a definition of the "\Magento\CatalogInventory\Model\Spi\StockRegistryProviderInterface::getStockStatus" method:

    /**
     * @param int $productId
     * @param int $scopeId
     * @return \Magento\CatalogInventory\Api\Data\StockStatusInterface
     */
    public function getStockStatus($productId, $scopeId);

Wrong variable name was used for this data in the file Stock.php
@ishakhsuvarov
Copy link
Contributor

@flancer64 Thank you for your contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants