@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * |
| 45 | 45 | * @param $metabox_ids |
| 46 | 46 | * |
| 47 | - * @return array |
|
| 47 | + * @return string[] |
|
| 48 | 48 | */ |
| 49 | 49 | function add_pll_metaboxes ($metabox_ids) { |
| 50 | 50 | $metabox_ids[] = 'ml_box'; |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * |
| 45 | 45 | * @param $metabox_ids |
| 46 | 46 | * |
| 47 | - * @return array |
|
| 47 | + * @return string[] |
|
| 48 | 48 | */ |
| 49 | 49 | function add_pll_metaboxes ($metabox_ids) { |
| 50 | 50 | $metabox_ids[] = 'ml_box'; |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * |
| 45 | 45 | * @param $metabox_ids |
| 46 | 46 | * |
| 47 | - * @return array |
|
| 47 | + * @return string[] |
|
| 48 | 48 | */ |
| 49 | 49 | function add_pll_metaboxes ($metabox_ids) { |
| 50 | 50 | $metabox_ids[] = 'ml_box'; |
@@ -523,7 +523,7 @@ |
||
| 523 | 523 | |
| 524 | 524 | /** |
| 525 | 525 | * Get the fields that we want to edit for a gallery from the album management page |
| 526 | - * @param $gallery FooGallery |
|
| 526 | + * @param FooGallery $gallery FooGallery |
|
| 527 | 527 | * |
| 528 | 528 | * @return mixed|void |
| 529 | 529 | */ |
@@ -193,7 +193,7 @@ |
||
| 193 | 193 | * Helper to get an argument value from an array arguments |
| 194 | 194 | * |
| 195 | 195 | * @param $args Array the array of arguments to search |
| 196 | - * @param $key string the key of the argument you are looking for |
|
| 196 | + * @param string $key string the key of the argument you are looking for |
|
| 197 | 197 | * @param $default string a default value if the argument is not found |
| 198 | 198 | * |
| 199 | 199 | * @return string |
@@ -9,7 +9,8 @@ |
||
| 9 | 9 | /** |
| 10 | 10 | * Sets the FooGallery object we are dealing with |
| 11 | 11 | * |
| 12 | - * @param $foogallery FooGallery |
|
| 12 | + * @param FooGallery $foogallery FooGallery |
|
| 13 | + * @return void |
|
| 13 | 14 | */ |
| 14 | 15 | public function setGallery( $foogallery ); |
| 15 | 16 | |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | /** |
| 82 | 82 | * private function to load a gallery by the slug. |
| 83 | 83 | * Will be used when loading gallery shortcodes |
| 84 | - * @param $slug |
|
| 84 | + * @param string $slug |
|
| 85 | 85 | */ |
| 86 | 86 | private function load_by_slug( $slug ) { |
| 87 | 87 | if ( ! empty( $slug ) ) { |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | /** |
| 251 | 251 | * @deprecated 1.3.0 This is now moved into the datasource implementation |
| 252 | 252 | * |
| 253 | - * @return int|mixed|string |
|
| 253 | + * @return integer |
|
| 254 | 254 | */ |
| 255 | 255 | public function find_featured_attachment_id() { |
| 256 | 256 | _deprecated_function( __FUNCTION__, '1.3.0' ); |