@@ -381,8 +381,8 @@ |
||
381 | 381 | * |
382 | 382 | * @param $width int Width of the image |
383 | 383 | * @param $height int Height of the image |
384 | -* @param $req_width int Required width to pass validation |
|
385 | -* @param $req_height int Required height to pass validation |
|
384 | +* @param integer $req_width int Required width to pass validation |
|
385 | +* @param integer $req_height int Required height to pass validation |
|
386 | 386 | * @return bool - True if the image passed the required size validation |
387 | 387 | */ |
388 | 388 | function _jetpack_og_get_image_validate_size($width, $height, $req_width, $req_height) { |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | * Asset Version. |
156 | 156 | * |
157 | 157 | * @access public |
158 | - * @param mixed $version Version. |
|
158 | + * @param string $version Version. |
|
159 | 159 | * @return $version Version. |
160 | 160 | */ |
161 | 161 | function asset_version( $version ) { |
@@ -673,7 +673,7 @@ discard block |
||
673 | 673 | * Settings Checkbox. |
674 | 674 | * |
675 | 675 | * @access public |
676 | - * @param mixed $name Name. |
|
676 | + * @param string $name Name. |
|
677 | 677 | * @param mixed $label_text Label Text. |
678 | 678 | * @param string $extra_text (default: '') Extra text. |
679 | 679 | * @param bool $default_to_checked (default: true) Default Checked. |
@@ -698,7 +698,7 @@ discard block |
||
698 | 698 | * Select Settings. |
699 | 699 | * |
700 | 700 | * @access public |
701 | - * @param mixed $name Name. |
|
701 | + * @param string $name Name. |
|
702 | 702 | * @param mixed $values Values. |
703 | 703 | * @param string $extra_text (default: '') Extra Text. |
704 | 704 | * @return void |
@@ -1404,7 +1404,7 @@ |
||
1404 | 1404 | /** |
1405 | 1405 | * Migration routine for moving safecss from wp_options to wp_posts to support revisions |
1406 | 1406 | * |
1407 | - * @return void |
|
1407 | + * @return false|null |
|
1408 | 1408 | */ |
1409 | 1409 | static function upgrade() { |
1410 | 1410 | $css = get_option( 'safecss' ); |