@@ -930,7 +930,7 @@ discard block |
||
| 930 | 930 | /** |
| 931 | 931 | * Returns an attachment field friendly name, based on a field name that is passed in |
| 932 | 932 | * |
| 933 | - * @param $field |
|
| 933 | + * @param string $field |
|
| 934 | 934 | * |
| 935 | 935 | * @return string |
| 936 | 936 | */ |
@@ -1095,8 +1095,8 @@ discard block |
||
| 1095 | 1095 | /** |
| 1096 | 1096 | * Create a FooGallery and return the ID |
| 1097 | 1097 | * |
| 1098 | - * @param $template |
|
| 1099 | - * @param $attachment_ids |
|
| 1098 | + * @param string $template |
|
| 1099 | + * @param string $attachment_ids |
|
| 1100 | 1100 | * |
| 1101 | 1101 | * @return int |
| 1102 | 1102 | */ |
@@ -89,6 +89,9 @@ |
||
| 89 | 89 | |
| 90 | 90 | private static $instance; |
| 91 | 91 | |
| 92 | + /** |
|
| 93 | + * @return boolean |
|
| 94 | + */ |
|
| 92 | 95 | public static function get_instance() { |
| 93 | 96 | if ( ! isset( self::$instance ) && ! ( self::$instance instanceof FooGallery_Plugin ) ) { |
| 94 | 97 | self::$instance = new FooGallery_Plugin(); |