Completed
Pull Request — master (#319)
by Akeda
02:24
created
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/abstracts/abstract-wc-stripe-payment-gateway.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -32,6 +32,8 @@
 block discarded – undo
32 32
 	 *
33 33
 	 * @since 4.0.0
34 34
 	 * @version 4.0.0
35
+	 * @param string $slug
36
+	 * @param string $class
35 37
 	 */
36 38
 	public function add_admin_notice( $slug, $class, $message ) {
37 39
 		$this->notices[ $slug ] = array(
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
@@ -233,7 +233,6 @@
 block discarded – undo
233 233
 	/**
234 234
 	 * Get a customers saved sources using their Stripe ID. Cached.
235 235
 	 *
236
-	 * @param  string $customer_id
237 236
 	 * @return array
238 237
 	 */
239 238
 	public function get_sources() {
Please login to merge, or discard this patch.
includes/compat/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.
woocommerce-gateway-stripe.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -144,6 +144,8 @@
 block discarded – undo
144 144
 		 *
145 145
 		 * @since 1.0.0
146 146
 		 * @version 1.0.0
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(
Please login to merge, or discard this patch.