@@ -734,6 +734,9 @@ |
||
734 | 734 | return floor( $max_exec_time / 3 ); |
735 | 735 | } |
736 | 736 | |
737 | + /** |
|
738 | + * @param string $setting |
|
739 | + */ |
|
737 | 740 | static function get_default_setting( $setting ) { |
738 | 741 | $default_name = "default_$setting"; // e.g. default_dequeue_max_bytes |
739 | 742 | return self::$$default_name; |
@@ -64,7 +64,7 @@ |
||
64 | 64 | * |
65 | 65 | * @access public |
66 | 66 | * |
67 | - * @param Automattic\Jetpack\Sync\Codec_Interface $codec Codec instance. |
|
67 | + * @param Codec_Interface $codec Codec instance. |
|
68 | 68 | */ |
69 | 69 | public function set_codec( Codec_Interface $codec ) { |
70 | 70 | $this->codec = $codec; |
@@ -124,7 +124,7 @@ |
||
124 | 124 | * |
125 | 125 | * @access public |
126 | 126 | * |
127 | - * @return array Full sync actions of this module. |
|
127 | + * @return string[] Full sync actions of this module. |
|
128 | 128 | */ |
129 | 129 | public function get_full_sync_actions() { |
130 | 130 | return array( 'jetpack_full_sync_term_relationships' ); |