Completed
Push — master ( a0c464...2c2ec3 )
by Roy
92:26
created
includes/class-wc-gateway-stripe-addons.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,6 @@  discard block
 block discarded – undo
96 96
 	 * process_subscription_payment function.
97 97
 	 * @param mixed $order
98 98
 	 * @param int $amount (default: 0)
99
-	 * @param string $stripe_token (default: '')
100 99
 	 * @param  bool initial_payment
101 100
 	 */
102 101
 	public function process_subscription_payment( $order = '', $amount = 0 ) {
@@ -139,6 +138,8 @@  discard block
 block discarded – undo
139 138
 	/**
140 139
 	 * Process the pre-order
141 140
 	 * @param int $order_id
141
+	 * @param boolean $retry
142
+	 * @param boolean $force_customer
142 143
 	 * @return array
143 144
 	 */
144 145
 	public function process_pre_order( $order_id, $retry, $force_customer ) {
@@ -239,7 +240,7 @@  discard block
 block discarded – undo
239 240
 
240 241
 	/**
241 242
 	 * Don't transfer Stripe fee/ID meta to renewal orders.
242
-	 * @param int $resubscribe_order The order created for the customer to resubscribe to the old expired/cancelled subscription
243
+	 * @param integer $renewal_order
243 244
 	 */
244 245
 	public function delete_renewal_meta( $renewal_order ) {
245 246
 		delete_post_meta( $renewal_order->id, 'Stripe Fee' );
Please login to merge, or discard this patch.
includes/class-wc-gateway-stripe.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
 	 * @param float  $total Amount due.
178 178
 	 * @param string $currency Accepted currency.
179 179
 	 *
180
-	 * @return float|int
180
+	 * @return double
181 181
 	 */
182 182
 	public function get_stripe_amount( $total, $currency = '' ) {
183 183
 		if ( ! $currency ) {
Please login to merge, or discard this patch.
includes/class-wc-stripe-api.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 
24 24
 	/**
25 25
 	 * Set secret API Key.
26
-	 * @param string $key
27 26
 	 */
28 27
 	public static function set_secret_key( $secret_key ) {
29 28
 		self::$secret_key = $secret_key;
Please login to merge, or discard this patch.
includes/class-wc-stripe-customer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -210,7 +210,6 @@
 block discarded – undo
210 210
 	/**
211 211
 	 * Get a customers saved cards using their Stripe ID. Cached.
212 212
 	 *
213
-	 * @param  string $customer_id
214 213
 	 * @return array
215 214
 	 */
216 215
 	public function get_cards() {
Please login to merge, or discard this patch.
woocommerce-gateway-stripe.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -139,6 +139,8 @@
 block discarded – undo
139 139
 
140 140
 	/**
141 141
 	 * Allow this class and other classes to add slug keyed notices (to avoid duplication)
142
+	 * @param string $slug
143
+	 * @param string $class
142 144
 	 */
143 145
 	public function add_admin_notice( $slug, $class, $message ) {
144 146
 		$this->notices[ $slug ] = array(
Please login to merge, or discard this patch.