Completed
Push — master ( 10f2d5...14f50c )
by Boro
07:09
created
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   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -144,6 +144,8 @@  discard block
 block discarded – undo
144 144
 
145 145
 		/**
146 146
 		 * Allow this class and other classes to add slug keyed notices (to avoid duplication)
147
+		 * @param string $slug
148
+		 * @param string $class
147 149
 		 */
148 150
 		public function add_admin_notice( $slug, $class, $message ) {
149 151
 			$this->notices[ $slug ] = array(
@@ -397,7 +399,7 @@  discard block
 block discarded – undo
397 399
 		/**
398 400
 		 * List of currencies supported by Stripe that has no decimals.
399 401
 		 *
400
-		 * @return array $currencies
402
+		 * @return string[] $currencies
401 403
 		 */
402 404
 		public static function no_decimal_currencies() {
403 405
 			return array(
Please login to merge, or discard this patch.
includes/class-wc-gateway-stripe-addons.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,6 @@  discard block
 block discarded – undo
103 103
 	 * process_subscription_payment function.
104 104
 	 * @param mixed $order
105 105
 	 * @param int $amount (default: 0)
106
-	 * @param string $stripe_token (default: '')
107 106
 	 * @param  bool initial_payment
108 107
 	 */
109 108
 	public function process_subscription_payment( $order = '', $amount = 0 ) {
@@ -160,6 +159,8 @@  discard block
 block discarded – undo
160 159
 	/**
161 160
 	 * Process the pre-order
162 161
 	 * @param int $order_id
162
+	 * @param boolean $retry
163
+	 * @param boolean $force_customer
163 164
 	 * @return array
164 165
 	 */
165 166
 	public function process_pre_order( $order_id, $retry, $force_customer ) {
@@ -256,7 +257,7 @@  discard block
 block discarded – undo
256 257
 
257 258
 	/**
258 259
 	 * Don't transfer Stripe fee/ID meta to renewal orders.
259
-	 * @param int $resubscribe_order The order created for the customer to resubscribe to the old expired/cancelled subscription
260
+	 * @param integer $renewal_order
260 261
 	 */
261 262
 	public function delete_renewal_meta( $renewal_order ) {
262 263
 		delete_post_meta( ( $this->wc_pre_30 ? $renewal_order->id : $renewal_order->get_id() ), 'Stripe Fee' );
Please login to merge, or discard this patch.