@@ -234,6 +234,9 @@ discard block |
||
234 | 234 | $this->delete_cache(); |
235 | 235 | } |
236 | 236 | |
237 | + /** |
|
238 | + * @param string|false $is_active |
|
239 | + */ |
|
237 | 240 | public function set_active( $is_active ) { |
238 | 241 | update_option( $this->option_name . 'active', $is_active ); |
239 | 242 | $this->delete_cache(); |
@@ -352,6 +355,7 @@ discard block |
||
352 | 355 | * Get the API info for this plugin |
353 | 356 | * |
354 | 357 | * @since 3.04.03 |
358 | + * @param string $license |
|
355 | 359 | */ |
356 | 360 | protected function get_api_info( $license ) { |
357 | 361 | $api = new FrmFormApi( $license ); |
@@ -483,6 +487,7 @@ discard block |
||
483 | 487 | |
484 | 488 | /** |
485 | 489 | * @since 4.08 |
490 | + * @param string $license |
|
486 | 491 | */ |
487 | 492 | public static function activate_license_for_plugin( $license, $plugin_slug ) { |
488 | 493 | $this_plugin = self::get_addon( $plugin_slug ); |
@@ -619,6 +624,9 @@ discard block |
||
619 | 624 | return $this_plugin; |
620 | 625 | } |
621 | 626 | |
627 | + /** |
|
628 | + * @param string $action |
|
629 | + */ |
|
622 | 630 | public function send_mothership_request( $action ) { |
623 | 631 | $api_params = array( |
624 | 632 | 'edd_action' => $action, |