@@ -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 | } |
@@ -79,8 +79,6 @@ |
||
| 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 | */ |
@@ -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' ); |
@@ -19,6 +19,9 @@ |
||
| 19 | 19 | } |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param FooGallery $foogallery |
|
| 24 | + */ |
|
| 22 | 25 | function perform_gallery_settings_upgrade( $foogallery ) { |
| 23 | 26 | |
| 24 | 27 | $mappings = array( |