Skip to content

Commit

Permalink
use FQCN, revert doc parameter namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuscris committed Nov 21, 2017
1 parent 992b3a1 commit 4e937a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/Catalog/Block/Product/ListProduct.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ public function setCollection($collection)
}

/**
* @param array|string|integer|Element $code
* @param array|string|integer|\Magento\Framework\App\Config\Element $code
* @return $this
*/
public function addAttribute($code)
Expand Down Expand Up @@ -415,7 +415,7 @@ protected function getPriceRender()
private function initializeProductCollection()
{
$layer = $this->getLayer();
/* @var $layer \Magento\Catalog\Model\Layer */
/* @var $layer Layer */
if ($this->getShowRootCategory()) {
$this->setCategoryId($this->_storeManager->getStore()->getRootCategoryId());
}
Expand Down

0 comments on commit 4e937a3

Please sign in to comment.