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 1212namespace Magento \Reports \Model \ResourceModel \Product \Sold ;
1313
1414use 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 {
You can’t perform that action at this time.
0 commit comments