Commit 5f2d4a02 by halweg

bug fix

parent 187e3e9b
......@@ -59,7 +59,7 @@ class Images extends \Magento\Framework\View\Element\Template
/**
* @return int
*/
public function getReviewId(): int
public function getReviewId()
{
return $this->reviewId;
}
......@@ -69,13 +69,13 @@ class Images extends \Magento\Framework\View\Element\Template
*
* @return $this
*/
public function setReviewId($reviewId): Images
public function setReviewId($reviewId)
{
$this->reviewId = $reviewId;
return $this;
}
public function setProductId($productId): Images
public function setProductId($productId)
{
$this->productId = $productId;
return $this;
......@@ -96,7 +96,7 @@ class Images extends \Magento\Framework\View\Element\Template
}
public function getFullImagePath($item): string
public function getFullImagePath($item)
{
return $this->imageHelper->getFullPath($item->getPath());
}
......@@ -106,7 +106,7 @@ class Images extends \Magento\Framework\View\Element\Template
* @return string
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
public function getResizedImagePath($item): string
public function getResizedImagePath($item)
{
return $this->imageHelper->resize($item->getPath(), self::REVIEW_COVER_WIDTH);
}
......@@ -116,7 +116,7 @@ class Images extends \Magento\Framework\View\Element\Template
* @return string
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
public function getResizedImagePathByLimit($item, $width): string
public function getResizedImagePathByLimit($item, $width)
{
return $this->imageHelper->resize($item->getPath(), $width);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment