Completed
Push — master ( d712bc...aa83e2 )
by Nic
22:59 queued 10:08
created
code/model/foxycart.cart_validation.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
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
 	}
Please login to merge, or discard this patch.
code/controllers/FoxyStripe_Controller.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@  discard block
 block discarded – undo
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,9 @@  discard block
 block discarded – undo
79 82
         }
80 83
     }
81 84
 
85
+    /**
86
+     * @param SimpleXMLElement $orders
87
+     */
82 88
     public function parseOrderInfo($orders, $transaction) {
83 89
 
84 90
         foreach ($orders->transactions->transaction as $order) {
@@ -95,6 +101,9 @@  discard block
 block discarded – undo
95 101
         }
96 102
     }
97 103
 
104
+    /**
105
+     * @param SimpleXMLElement $orders
106
+     */
98 107
     public function parseOrderCustomer($orders, $transaction) {
99 108
 
100 109
         foreach ($orders->transactions->transaction as $order) {
@@ -147,6 +156,9 @@  discard block
 block discarded – undo
147 156
         }
148 157
     }
149 158
 
159
+    /**
160
+     * @param SimpleXMLElement $orders
161
+     */
150 162
     public function parseOrderDetails($orders, $transaction) {
151 163
 
152 164
         // remove previous OrderDetails so we don't end up with duplicates
Please login to merge, or discard this patch.