@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | /** |
246 | 246 | * A work-around / hack to make it possible to go to the media library with the add new box open. |
247 | 247 | * |
248 | - * @return bool |
|
248 | + * @return false|null |
|
249 | 249 | */ |
250 | 250 | public function print_in_footer_open_media_add_new() { |
251 | 251 | global $pagenow; |
@@ -339,7 +339,7 @@ discard block |
||
339 | 339 | /** |
340 | 340 | * @param array $extensions |
341 | 341 | * |
342 | - * @return array |
|
342 | + * @return string[] |
|
343 | 343 | */ |
344 | 344 | public function add_videopress_extenstion( $extensions ) { |
345 | 345 | $extensions[] = 'videopress'; |
@@ -283,6 +283,9 @@ |
||
283 | 283 | $listener->get_full_sync_queue()->reset(); |
284 | 284 | } |
285 | 285 | |
286 | + /** |
|
287 | + * @param integer $default |
|
288 | + */ |
|
286 | 289 | private function get_status_option( $name, $default = null ) { |
287 | 290 | $value = Jetpack_Options::get_raw_option( self::STATUS_OPTION_PREFIX . "_$name", $default ); |
288 | 291 |