@@ -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' ); |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 21 | 21 | * @param $extensions |
| 22 | 22 | * |
| 23 | - * @return array |
|
| 23 | + * @return string[] |
|
| 24 | 24 | */ |
| 25 | 25 | function register_myself( $extensions ) { |
| 26 | 26 | $extensions[] = __FILE__; |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 20 | 20 | * @param $extensions |
| 21 | 21 | * |
| 22 | - * @return array |
|
| 22 | + * @return string[] |
|
| 23 | 23 | */ |
| 24 | 24 | function register_myself( $extensions ) { |
| 25 | 25 | $extensions[] = __FILE__; |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 18 | 18 | * @param $extensions |
| 19 | 19 | * |
| 20 | - * @return array |
|
| 20 | + * @return string[] |
|
| 21 | 21 | */ |
| 22 | 22 | function register_myself( $extensions ) { |
| 23 | 23 | $extensions[] = __FILE__; |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 19 | 19 | * @param $extensions |
| 20 | 20 | * |
| 21 | - * @return array |
|
| 21 | + * @return string[] |
|
| 22 | 22 | */ |
| 23 | 23 | function register_myself( $extensions ) { |
| 24 | 24 | $extensions[] = __FILE__; |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 19 | 19 | * @param $extensions |
| 20 | 20 | * |
| 21 | - * @return array |
|
| 21 | + * @return string[] |
|
| 22 | 22 | */ |
| 23 | 23 | function register_myself( $extensions ) { |
| 24 | 24 | $extensions[] = __FILE__; |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | * Register myself so that all associated JS and CSS files can be found and automatically included |
| 18 | 18 | * @param $extensions |
| 19 | 19 | * |
| 20 | - * @return array |
|
| 20 | + * @return string[] |
|
| 21 | 21 | */ |
| 22 | 22 | function register_myself( $extensions ) { |
| 23 | 23 | $extensions[] = __FILE__; |