Completed
Push — master ( f2819d...fedcaf )
by
unknown
03:42
created
src/Networks/Groupon.php 2 patches
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,12 +45,18 @@  discard block
 block discarded – undo
45 45
         $this->login( $this->_username, $this->_password );
46 46
     }
47 47
 
48
+    /**
49
+     * @param string $idSite
50
+     */
48 51
     public function addAllowedSite($idSite){
49 52
         if (trim($idSite)!=''){
50 53
             $this->_network->addAllowedSite($idSite);
51 54
         }
52 55
     }
53 56
 
57
+    /**
58
+     * @param string $country
59
+     */
54 60
     public function addCountry($country){
55 61
         if (!empty($country)){
56 62
             $this->_network->addCountry($country);
@@ -102,7 +108,7 @@  discard block
 block discarded – undo
102 108
 
103 109
     /**
104 110
      * @param int $merchantID
105
-     * @return array of Deal
111
+     * @return DealsResultset of Deal
106 112
      */
107 113
     public function getDeals($merchantID=NULL,int $page=0,int $items_per_page=10 ): DealsResultset
108 114
     {
@@ -114,7 +120,7 @@  discard block
 block discarded – undo
114 120
     /**
115 121
      * @param \DateTime $dateFrom
116 122
      * @param \DateTime $dateTo
117
-     * @param int $merchantID
123
+     * @param int $arrMerchantID
118 124
      * @return array of Transaction
119 125
      */
120 126
     public function getSales(\DateTime $dateFrom, \DateTime $dateTo, array $arrMerchantID = array()) : array
Please login to merge, or discard this patch.
Unused Use Statements   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,15 +2,14 @@
 block discarded – undo
2 2
 
3 3
 namespace Padosoft\AffiliateNetwork\Networks;
4 4
 
5
-use Padosoft\AffiliateNetwork\Transaction;
6
-use Padosoft\AffiliateNetwork\DealsResultset;
7
-use Padosoft\AffiliateNetwork\Merchant;
8
-use Padosoft\AffiliateNetwork\Stat;
9
-use Padosoft\AffiliateNetwork\Deal;
10 5
 use Padosoft\AffiliateNetwork\AbstractNetwork;
6
+use Padosoft\AffiliateNetwork\Deal;
7
+use Padosoft\AffiliateNetwork\DealsResultset;
8
+use Padosoft\AffiliateNetwork\GrouponEx;
11 9
 use Padosoft\AffiliateNetwork\NetworkInterface;
12 10
 use Padosoft\AffiliateNetwork\ProductsResultset;
13
-use Padosoft\AffiliateNetwork\GrouponEx;
11
+use Padosoft\AffiliateNetwork\Stat;
12
+use Padosoft\AffiliateNetwork\Transaction;
14 13
 
15 14
 /**
16 15
  * Class Groupon
Please login to merge, or discard this patch.