File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
app/code/Magento/Reports/Model/ResourceModel/Product/Sold Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 12
12
namespace Magento \Reports \Model \ResourceModel \Product \Sold ;
13
13
14
14
use Magento \Framework \DB \Select ;
15
+ use Zend_Db_Select_Exception ;
15
16
16
17
/**
17
18
* Data collection.
@@ -25,9 +26,10 @@ class Collection extends \Magento\Reports\Model\ResourceModel\Order\Collection
25
26
/**
26
27
* Set Date range to collection.
27
28
*
28
- * @param int $from
29
- * @param int $to
29
+ * @param string $from
30
+ * @param string $to
30
31
* @return $this
32
+ * @throws Zend_Db_Select_Exception
31
33
*/
32
34
public function setDateRange ($ from , $ to )
33
35
{
@@ -49,6 +51,7 @@ public function setDateRange($from, $to)
49
51
* @param string $from
50
52
* @param string $to
51
53
* @return $this
54
+ * @throws Zend_Db_Select_Exception
52
55
*/
53
56
public function addOrderedQty ($ from = '' , $ to = '' )
54
57
{
You can’t perform that action at this time.
0 commit comments