@@ -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'] ); |
@@ -175,7 +175,7 @@ |
||
| 175 | 175 | /** |
| 176 | 176 | * Back end function to abstract the xmlrpc function calls to wpcom. |
| 177 | 177 | * |
| 178 | - * @param $endpoint |
|
| 178 | + * @param string $endpoint |
|
| 179 | 179 | * @param $error_message |
| 180 | 180 | */ |
| 181 | 181 | function __process_ajax_proxy_request( $endpoint, $error_message ) { |