@@ -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 ) { |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | * |
155 | 155 | * @since 5.3.0 |
156 | 156 | * |
157 | - * @param array $array The item to be added. |
|
157 | + * @param string $array The item to be added. |
|
158 | 158 | * |
159 | 159 | * @return bool True if the append succeeded, False if not. |
160 | 160 | */ |
@@ -283,7 +283,7 @@ discard block |
||
283 | 283 | * @param DOMElement $parent (optional) an element to which new children should be added. |
284 | 284 | * @param DOMDocument $root (optional) the parent document. |
285 | 285 | * |
286 | - * @return string|DOMDocument The rendered XML string or an object if root element is specified. |
|
286 | + * @return null|DOMNode The rendered XML string or an object if root element is specified. |
|
287 | 287 | */ |
288 | 288 | protected function array_to_xml_string( $array, $parent = null, $root = null ) { |
289 | 289 | $return_string = false; |