Skip to content

Commit b112b54

Browse files
andrewbessAndrii Beziazychnyi
authored andcommitted
magento/magento2: fixes PHPDocs for module Magento_reports
1 parent a95a465 commit b112b54

File tree

1 file changed

+5
-2
lines changed
  • app/code/Magento/Reports/Model/ResourceModel/Product/Sold

1 file changed

+5
-2
lines changed

app/code/Magento/Reports/Model/ResourceModel/Product/Sold/Collection.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Magento\Reports\Model\ResourceModel\Product\Sold;
1313

1414
use Magento\Framework\DB\Select;
15+
use Zend_Db_Select_Exception;
1516

1617
/**
1718
* Data collection.
@@ -25,9 +26,10 @@ class Collection extends \Magento\Reports\Model\ResourceModel\Order\Collection
2526
/**
2627
* Set Date range to collection.
2728
*
28-
* @param int $from
29-
* @param int $to
29+
* @param string $from
30+
* @param string $to
3031
* @return $this
32+
* @throws Zend_Db_Select_Exception
3133
*/
3234
public function setDateRange($from, $to)
3335
{
@@ -49,6 +51,7 @@ public function setDateRange($from, $to)
4951
* @param string $from
5052
* @param string $to
5153
* @return $this
54+
* @throws Zend_Db_Select_Exception
5255
*/
5356
public function addOrderedQty($from = '', $to = '')
5457
{

0 commit comments

Comments
 (0)