@@ -25,6 +25,9 @@ |
||
25 | 25 | add_action( 'infinite_scroll_render', array( $this, 'crowdsignal_shortcode_infinite' ), 11 ); |
26 | 26 | } |
27 | 27 | |
28 | + /** |
|
29 | + * @param string $survey_link |
|
30 | + */ |
|
28 | 31 | private function get_async_code( array $settings, $survey_link ) { |
29 | 32 | $include = <<<CONTAINER |
30 | 33 | ( function( d, c, j ) { |
@@ -324,6 +324,9 @@ discard block |
||
324 | 324 | </div><?php |
325 | 325 | } |
326 | 326 | |
327 | + /** |
|
328 | + * @param string $service_name |
|
329 | + */ |
|
327 | 330 | public static function options_page_other( $service_name ) { |
328 | 331 | // Nonce check |
329 | 332 | check_admin_referer( "options_page_{$service_name}_" . $_REQUEST['connection'] ); |
@@ -704,7 +707,7 @@ discard block |
||
704 | 707 | * |
705 | 708 | * @param array $connections_data |
706 | 709 | * |
707 | - * @return array { |
|
710 | + * @return string { |
|
708 | 711 | * Array of content for generating connection form. |
709 | 712 | * |
710 | 713 | * @type string HTML content of form |