@@ -291,7 +291,7 @@ |
||
| 291 | 291 | * |
| 292 | 292 | * @param \FS_Plugin_Tag $new_version |
| 293 | 293 | * |
| 294 | - * @return object |
|
| 294 | + * @return stdClass |
|
| 295 | 295 | */ |
| 296 | 296 | function get_update_details( FS_Plugin_Tag $new_version ) {
|
| 297 | 297 | $update = new stdClass(); |
@@ -395,7 +395,7 @@ |
||
| 395 | 395 | * |
| 396 | 396 | * @param string $key |
| 397 | 397 | * |
| 398 | - * @return bool|mixed |
|
| 398 | + * @return boolean |
|
| 399 | 399 | */ |
| 400 | 400 | private function is_multisite_option( $key ) { |
| 401 | 401 | if ( ! isset( self::$_NETWORK_OPTIONS_MAP ) ) { |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | * @param bool $exit If true, exit after redirect (Since 1.2.1.5). |
| 51 | 51 | * @param int $status Status code to use. |
| 52 | 52 | * |
| 53 | - * @return bool False if $location is not set |
|
| 53 | + * @return null|boolean False if $location is not set |
|
| 54 | 54 | */ |
| 55 | 55 | function fs_redirect( $location, $exit = true, $status = 302 ) { |
| 56 | 56 | global $is_IIS; |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * @author Vova Feldman (@svovaf) |
| 45 | 45 | * @since 1.1.6 |
| 46 | 46 | * |
| 47 | - * @param $id |
|
| 47 | + * @param string $id |
|
| 48 | 48 | * |
| 49 | 49 | * @return FS_Cache_Manager |
| 50 | 50 | */ |
@@ -110,6 +110,10 @@ |
||
| 110 | 110 | return self::$_instances[ $key ]; |
| 111 | 111 | } |
| 112 | 112 | |
| 113 | + /** |
|
| 114 | + * @param string $id |
|
| 115 | + * @param string $secondary_id |
|
| 116 | + */ |
|
| 113 | 117 | protected function __construct( $id, $secondary_id, $network_level_or_blog_id = false ) { |
| 114 | 118 | $this->_logger = FS_Logger::get_logger( WP_FS__SLUG . '_' . $secondary_id . '_' . $id, WP_FS__DEBUG_SDK, WP_FS__ECHO_DEBUG_SDK ); |
| 115 | 119 | |
@@ -509,9 +509,9 @@ discard block |
||
| 509 | 509 | /** |
| 510 | 510 | * Private helper function to get the value of a setting for a gallery |
| 511 | 511 | * @param $gallery |
| 512 | - * @param $setting_id |
|
| 513 | - * @param $argument_name |
|
| 514 | - * @param $default_value |
|
| 512 | + * @param string $setting_id |
|
| 513 | + * @param string $argument_name |
|
| 514 | + * @param string $default_value |
|
| 515 | 515 | * |
| 516 | 516 | * @return mixed |
| 517 | 517 | */ |
@@ -562,7 +562,7 @@ discard block |
||
| 562 | 562 | * @param array $image_attributes |
| 563 | 563 | * @param array $captions |
| 564 | 564 | * |
| 565 | - * @return mixed |
|
| 565 | + * @return stdClass |
|
| 566 | 566 | */ |
| 567 | 567 | public function add_json_tags( $json_object, $foogallery_attachment, $args, $anchor_attributes, $image_attributes, $captions ) { |
| 568 | 568 | if ( isset( $foogallery_attachment->tags ) ) { |
@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | * @param string $title |
| 197 | 197 | * @param string $type |
| 198 | 198 | * @param int|null $network_level_or_blog_id |
| 199 | - * @param number|null $wp_user_id |
|
| 199 | + * @param integer $wp_user_id |
|
| 200 | 200 | * @param string|null $plugin_title |
| 201 | 201 | * @param bool $is_network_and_blog_admins Whether or not the message should be shown both on network and |
| 202 | 202 | * blog admin pages. |
@@ -294,7 +294,7 @@ discard block |
||
| 294 | 294 | * @since 2.0.0 |
| 295 | 295 | * |
| 296 | 296 | * @param string $id |
| 297 | - * @param null|bool|int $network_level_or_blog_id When an integer, use the given blog storage. When `true` use the multisite notices (if there's a network). When `false`, use the current context blog notices. When `null`, the decision which notices manager to use (MS vs. Current S) will be handled internally and determined based on the $id and the context admin (blog admin vs. network level admin). |
|
| 297 | + * @param integer|null $network_level_or_blog_id When an integer, use the given blog storage. When `true` use the multisite notices (if there's a network). When `false`, use the current context blog notices. When `null`, the decision which notices manager to use (MS vs. Current S) will be handled internally and determined based on the $id and the context admin (blog admin vs. network level admin). |
|
| 298 | 298 | * |
| 299 | 299 | * @return bool |
| 300 | 300 | */ |
@@ -336,7 +336,7 @@ |
||
| 336 | 336 | * @author Vova Feldman (@svovaf) |
| 337 | 337 | * @since 1.0.9 |
| 338 | 338 | * |
| 339 | - * @param $id |
|
| 339 | + * @param string $id |
|
| 340 | 340 | * |
| 341 | 341 | * @return bool |
| 342 | 342 | */ |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /** |
| 74 | - * @param $query |
|
| 74 | + * @param string $query |
|
| 75 | 75 | * @param int $page |
| 76 | 76 | * @param int $offset |
| 77 | 77 | * @return array |