@@ -1387,7 +1387,6 @@ discard block |
||
1387 | 1387 | * |
1388 | 1388 | * @see ::style() |
1389 | 1389 | * @internal |
1390 | - * @param bool $style |
|
1391 | 1390 | */ |
1392 | 1391 | static function _style_on() { |
1393 | 1392 | return self::style( true ); |
@@ -1526,6 +1525,7 @@ discard block |
||
1526 | 1525 | * |
1527 | 1526 | * @param int $feedback_id |
1528 | 1527 | * @param object Grunion_Contact_Form $form |
1528 | + * @param Grunion_Contact_Form $form |
|
1529 | 1529 | * |
1530 | 1530 | * @return string $message |
1531 | 1531 | */ |
@@ -1630,7 +1630,7 @@ discard block |
||
1630 | 1630 | * |
1631 | 1631 | * @param array $attributes Key => Value pairs as parsed by shortcode_parse_atts() |
1632 | 1632 | * @param string|null $content The shortcode's inner content: [contact-field]$content[/contact-field] |
1633 | - * @return HTML for the contact form field |
|
1633 | + * @return string for the contact form field |
|
1634 | 1634 | */ |
1635 | 1635 | static function parse_contact_field( $attributes, $content ) { |
1636 | 1636 | // Don't try to parse contact form fields if not inside a contact form |
@@ -353,6 +353,9 @@ discard block |
||
353 | 353 | ), menu_page_url( 'sharing', false ) ); |
354 | 354 | } |
355 | 355 | |
356 | + /** |
|
357 | + * @param string $filter |
|
358 | + */ |
|
356 | 359 | function get_services( $filter ) { |
357 | 360 | if ( ! in_array( $filter, array( 'all', 'connected' ) ) ) { |
358 | 361 | $filter = 'all'; |
@@ -787,6 +790,9 @@ discard block |
||
787 | 790 | $this->options_save_other( 'google_plus' ); |
788 | 791 | } |
789 | 792 | |
793 | + /** |
|
794 | + * @param string $service_name |
|
795 | + */ |
|
790 | 796 | function options_save_other( $service_name ) { |
791 | 797 | // Nonce check |
792 | 798 | check_admin_referer( 'save_' . $service_name . '_token_' . $_REQUEST['connection'] ); |
@@ -179,7 +179,7 @@ |
||
179 | 179 | * @param array $hosts |
180 | 180 | * @param string $api_base |
181 | 181 | * |
182 | - * @return array |
|
182 | + * @return string[] |
|
183 | 183 | */ |
184 | 184 | static function allowed_redirect_hosts( $hosts, $api_base = JETPACK__API_BASE ) { |
185 | 185 | if ( empty( $hosts ) ) { |
@@ -336,7 +336,7 @@ |
||
336 | 336 | |
337 | 337 | /** |
338 | 338 | * Check the reasons to bail before we attempt to insert ads. |
339 | - * @return true if we should bail (don't insert ads) |
|
339 | + * @return boolean if we should bail (don't insert ads) |
|
340 | 340 | * |
341 | 341 | * @since 4.5.0 |
342 | 342 | */ |