| @@ -43,6 +43,9 @@ | ||
| 43 | 43 | self::setSecret(FoxyCart::getStoreKey()); | 
| 44 | 44 | } | 
| 45 | 45 | |
| 46 | + /** | |
| 47 | + * @return string | |
| 48 | + */ | |
| 46 | 49 |  	public static function getSecret(){ | 
| 47 | 50 | return FoxyCart::getStoreKey(); | 
| 48 | 51 | } | 
| @@ -34,6 +34,9 @@ discard block | ||
| 34 | 34 | } | 
| 35 | 35 | } | 
| 36 | 36 | |
| 37 | + /** | |
| 38 | + * @param string $encrypted | |
| 39 | + */ | |
| 37 | 40 |      public function handleDataFeed($encrypted, $decrypted){ | 
| 38 | 41 | //handle encrypted & decrypted data | 
| 39 | 42 | $orders = new SimpleXMLElement($decrypted); | 
| @@ -79,6 +82,10 @@ discard block | ||
| 79 | 82 | } | 
| 80 | 83 | } | 
| 81 | 84 | |
| 85 | + /** | |
| 86 | + * @param SimpleXMLElement $orders | |
| 87 | + * @param DataObject $transaction | |
| 88 | + */ | |
| 82 | 89 |      public function parseOrderInfo($orders, $transaction) { | 
| 83 | 90 | |
| 84 | 91 |          foreach ($orders->transactions->transaction as $order) { | 
| @@ -95,6 +102,10 @@ discard block | ||
| 95 | 102 | } | 
| 96 | 103 | } | 
| 97 | 104 | |
| 105 | + /** | |
| 106 | + * @param SimpleXMLElement $orders | |
| 107 | + * @param DataObject $transaction | |
| 108 | + */ | |
| 98 | 109 |      public function parseOrderCustomer($orders, $transaction) { | 
| 99 | 110 | |
| 100 | 111 |          foreach ($orders->transactions->transaction as $order) { | 
| @@ -133,6 +144,10 @@ discard block | ||
| 133 | 144 | } | 
| 134 | 145 | } | 
| 135 | 146 | |
| 147 | + /** | |
| 148 | + * @param SimpleXMLElement $orders | |
| 149 | + * @param DataObject $transaction | |
| 150 | + */ | |
| 136 | 151 |      public function parseOrderDetails($orders, $transaction) { | 
| 137 | 152 | |
| 138 | 153 | // remove previous OrderDetails so we don't end up with duplicates | 
| @@ -20,7 +20,7 @@ | ||
| 20 | 20 | private $product; | 
| 21 | 21 | |
| 22 | 22 | /** | 
| 23 | - * @param $siteConfig | |
| 23 | + * @param SiteConfig|null $siteConfig | |
| 24 | 24 | * @return $this | 
| 25 | 25 | */ | 
| 26 | 26 | public function setSiteConfig($siteConfig) | 
| @@ -123,7 +123,7 @@ | ||
| 123 | 123 | * Products function. | 
| 124 | 124 | * | 
| 125 | 125 | * @access public | 
| 126 | - * @return array | |
| 126 | + * @return PaginatedList | |
| 127 | 127 | */ | 
| 128 | 128 | public function ProductList($limit = 10) | 
| 129 | 129 |      { |