Completed
Push — master ( aa83e2...f8f77e )
by Jason
22:25 queued 07:26
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   +3 added lines patch added patch discarded remove patch
@@ -38,6 +38,9 @@
 block discarded – undo
38 38
 		}
39 39
 	}
40 40
 
41
+    /**
42
+     * @param string $encrypted
43
+     */
41 44
     public function handleDataFeed($encrypted, $decrypted){
42 45
 
43 46
         $orders = new SimpleXMLElement($decrypted);
Please login to merge, or discard this patch.
code/objects/Order.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@  discard block
 block discarded – undo
90 90
         return $obj;
91 91
     }
92 92
 
93
+    /**
94
+     * @return string
95
+     */
93 96
     public function getDecryptedResponse() {
94 97
         $decrypted = urldecode($this->Response);
95 98
         return rc4crypt::decrypt(FoxyCart::getStoreKey(), $decrypted);
@@ -120,6 +123,9 @@  discard block
 block discarded – undo
120 123
         }
121 124
     }
122 125
 
126
+    /**
127
+     * @param SimpleXMLElement $response
128
+     */
123 129
     public function parseOrderInfo($response) {
124 130
 
125 131
         foreach ($response->transactions->transaction as $transaction) {
@@ -138,6 +144,9 @@  discard block
 block discarded – undo
138 144
         }
139 145
     }
140 146
 
147
+    /**
148
+     * @param SimpleXMLElement $response
149
+     */
141 150
     public function parseOrderCustomer($response) {
142 151
 
143 152
         foreach ($response->transactions->transaction as $transaction) {
@@ -179,6 +188,9 @@  discard block
 block discarded – undo
179 188
         }
180 189
     }
181 190
 
191
+    /**
192
+     * @param SimpleXMLElement $response
193
+     */
182 194
     public function parseOrderDetails($response) {
183 195
 
184 196
         // remove previous OrderDetails and OrderOptions so we don't end up with duplicates
Please login to merge, or discard this patch.