@@ -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 | */ |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | * @author Vova Feldman (@svovaf) |
| 66 | 66 | * @since 1.0.3 |
| 67 | 67 | * |
| 68 | - * @param $id |
|
| 68 | + * @param string $id |
|
| 69 | 69 | * @param $load |
| 70 | 70 | * |
| 71 | 71 | * @return FS_Option_Manager |
@@ -117,6 +117,9 @@ discard block |
||
| 117 | 117 | ( ( false === strpos( $pPath, '.' ) ) ? '.' . self::FORMAT : '' ) . $query; |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | + /** |
|
| 121 | + * @param string $pCanonizedPath |
|
| 122 | + */ |
|
| 120 | 123 | abstract function MakeRequest( $pCanonizedPath, $pMethod = 'GET', $pParams = array() ); |
| 121 | 124 | |
| 122 | 125 | /** |
@@ -149,6 +152,9 @@ discard block |
||
| 149 | 152 | return $result; |
| 150 | 153 | } |
| 151 | 154 | |
| 155 | + /** |
|
| 156 | + * @param string $pPath |
|
| 157 | + */ |
|
| 152 | 158 | public function Api( $pPath, $pMethod = 'GET', $pParams = array() ) { |
| 153 | 159 | return $this->_Api( $this->CanonizePath( $pPath ), $pMethod, $pParams ); |
| 154 | 160 | } |
@@ -869,7 +869,7 @@ |
||
| 869 | 869 | /** |
| 870 | 870 | * Returns an attachment field friendly name, based on a field name that is passed in |
| 871 | 871 | * |
| 872 | - * @param $field |
|
| 872 | + * @param string $field |
|
| 873 | 873 | * |
| 874 | 874 | * @return string |
| 875 | 875 | */ |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | /** |
| 86 | 86 | * private function to load a gallery by the slug. |
| 87 | 87 | * Will be used when loading gallery shortcodes |
| 88 | - * @param $slug |
|
| 88 | + * @param string $slug |
|
| 89 | 89 | */ |
| 90 | 90 | private function load_by_slug( $slug ) { |
| 91 | 91 | if ( ! empty( $slug ) ) { |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | |
| 106 | 106 | /** |
| 107 | 107 | * Static function to build a dynamic gallery that does not exist in the database |
| 108 | - * @param $template |
|
| 108 | + * @param string $template |
|
| 109 | 109 | * @param $attachment_ids |
| 110 | 110 | * |
| 111 | 111 | * @return FooGallery |
@@ -294,7 +294,7 @@ discard block |
||
| 294 | 294 | /** |
| 295 | 295 | * @deprecated 1.3.0 This is now moved into the datasource implementation |
| 296 | 296 | * |
| 297 | - * @return int|mixed|string |
|
| 297 | + * @return integer |
|
| 298 | 298 | */ |
| 299 | 299 | public function find_featured_attachment_id() { |
| 300 | 300 | _deprecated_function( __FUNCTION__, '1.3.0' ); |
@@ -278,6 +278,11 @@ |
||
| 278 | 278 | return $options; |
| 279 | 279 | } |
| 280 | 280 | |
| 281 | + /** |
|
| 282 | + * @param string $setting_id |
|
| 283 | + * @param string $argument_name |
|
| 284 | + * @param string $default_value |
|
| 285 | + */ |
|
| 281 | 286 | private function get_foogallery_argument( $gallery, $setting_id, $argument_name, $default_value ) { |
| 282 | 287 | global $current_foogallery_arguments; |
| 283 | 288 | |
@@ -79,8 +79,6 @@ discard block |
||
| 79 | 79 | * |
| 80 | 80 | * @param FooGalleryAttachment $foogallery_attachment |
| 81 | 81 | * @param array $args |
| 82 | - * @param bool $output_image |
|
| 83 | - * @param bool $output_closing_tag |
|
| 84 | 82 | * |
| 85 | 83 | * @return string |
| 86 | 84 | */ |
@@ -227,6 +225,9 @@ discard block |
||
| 227 | 225 | return apply_filters( 'foogallery_attachment_html_caption', $html, $foogallery_attachment, $args ); |
| 228 | 226 | } |
| 229 | 227 | |
| 228 | +/** |
|
| 229 | + * @param FooGalleryAttachment $foogallery_attachment |
|
| 230 | + */ |
|
| 230 | 231 | function foogallery_attachment_html_item_opening($foogallery_attachment, $args = array() ) { |
| 231 | 232 | |
| 232 | 233 | $classes[] = 'fg-item'; |
@@ -1406,7 +1406,7 @@ discard block |
||
| 1406 | 1406 | * @author Vova Feldman (@svovaf) |
| 1407 | 1407 | * @since 1.0.1 |
| 1408 | 1408 | * |
| 1409 | - * @param $plugin_file |
|
| 1409 | + * @param string $plugin_file |
|
| 1410 | 1410 | * |
| 1411 | 1411 | * @return false|Freemius |
| 1412 | 1412 | */ |
@@ -3356,10 +3356,16 @@ discard block |
||
| 3356 | 3356 | return ! empty( $options[ $key ] ) ? $options[ $key ] : $default; |
| 3357 | 3357 | } |
| 3358 | 3358 | |
| 3359 | + /** |
|
| 3360 | + * @param string $key |
|
| 3361 | + */ |
|
| 3359 | 3362 | private function get_bool_option( &$options, $key, $default = false ) { |
| 3360 | 3363 | return isset( $options[ $key ] ) && is_bool( $options[ $key ] ) ? $options[ $key ] : $default; |
| 3361 | 3364 | } |
| 3362 | 3365 | |
| 3366 | + /** |
|
| 3367 | + * @param string $key |
|
| 3368 | + */ |
|
| 3363 | 3369 | private function get_numeric_option( &$options, $key, $default = false ) { |
| 3364 | 3370 | return isset( $options[ $key ] ) && is_numeric( $options[ $key ] ) ? $options[ $key ] : $default; |
| 3365 | 3371 | } |
@@ -5707,7 +5713,7 @@ discard block |
||
| 5707 | 5713 | * @author Vova Feldman (@svovaf) |
| 5708 | 5714 | * @since 1.0.4 |
| 5709 | 5715 | * |
| 5710 | - * @return mixed Plugin secret key. |
|
| 5716 | + * @return string Plugin secret key. |
|
| 5711 | 5717 | */ |
| 5712 | 5718 | function get_secret_key() { |
| 5713 | 5719 | return $this->_plugin->secret_key; |
@@ -7451,7 +7457,7 @@ discard block |
||
| 7451 | 7457 | * @author Vova Feldman (@svovaf) |
| 7452 | 7458 | * @since 1.2.0 |
| 7453 | 7459 | * |
| 7454 | - * @param array|string $actions Collection of AJAX actions. |
|
| 7460 | + * @param string $actions Collection of AJAX actions. |
|
| 7455 | 7461 | * @param number|null $module_id |
| 7456 | 7462 | * |
| 7457 | 7463 | * @return bool |
@@ -8075,7 +8081,7 @@ discard block |
||
| 8075 | 8081 | * |
| 8076 | 8082 | * @param array $override_with |
| 8077 | 8083 | * |
| 8078 | - * @return array |
|
| 8084 | + * @return string|boolean |
|
| 8079 | 8085 | */ |
| 8080 | 8086 | function get_opt_in_params( $override_with = array() ) { |
| 8081 | 8087 | $this->_logger->entrance(); |
@@ -9593,8 +9599,6 @@ discard block |
||
| 9593 | 9599 | * @since 1.0.1 |
| 9594 | 9600 | * |
| 9595 | 9601 | * @param string $tag The name of the action to be executed. |
| 9596 | - * @param mixed $arg,... Optional. Additional arguments which are passed on to the |
|
| 9597 | - * functions hooked to the action. Default empty. |
|
| 9598 | 9602 | * |
| 9599 | 9603 | * @uses do_action() |
| 9600 | 9604 | */ |
@@ -10410,7 +10414,7 @@ discard block |
||
| 10410 | 10414 | * @author Vova Feldman (@svovaf) |
| 10411 | 10415 | * @since 1.0.5 |
| 10412 | 10416 | * |
| 10413 | - * @param bool|number $plugin_id |
|
| 10417 | + * @param boolean $plugin_id |
|
| 10414 | 10418 | * @param bool $flush Since 1.1.7.3 |
| 10415 | 10419 | * @param int $expiration Since 1.2.2.7 |
| 10416 | 10420 | * |
@@ -12668,8 +12672,8 @@ discard block |
||
| 12668 | 12672 | * @author Vova Feldman (@svovaf) |
| 12669 | 12673 | * @since 1.0.0 |
| 12670 | 12674 | * |
| 12671 | - * @param $label |
|
| 12672 | - * @param $url |
|
| 12675 | + * @param string $label |
|
| 12676 | + * @param string $url |
|
| 12673 | 12677 | * @param bool $external |
| 12674 | 12678 | * @param int $priority |
| 12675 | 12679 | * @param bool $key |
@@ -18,6 +18,9 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | class FS_Customizer_Support_Section extends WP_Customize_Section { |
| 20 | 20 | |
| 21 | + /** |
|
| 22 | + * @param string $id |
|
| 23 | + */ |
|
| 21 | 24 | function __construct( $manager, $id, $args = array() ) { |
| 22 | 25 | $manager->register_section_type( 'FS_Customizer_Support_Section' ); |
| 23 | 26 | |