@@ -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 ) ) { |