Completed
Push — add/jetpack-options-tests-file ( 8ce060 )
by
unknown
101:51 queued 93:10
created
class.jetpack-options.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 	 *
17 17
 	 * @param string $type The type of option to return. Defaults to 'compact'.
18 18
 	 *
19
-	 * @return array
19
+	 * @return string[]
20 20
 	 */
21 21
 	public static function get_option_names( $type = 'compact' ) {
22 22
 		switch ( $type ) {
@@ -163,6 +163,9 @@  discard block
 block discarded – undo
163 163
 		return $value;
164 164
 	}
165 165
 
166
+	/**
167
+	 * @param string $name
168
+	 */
166 169
 	private static function update_grouped_option( $group, $name, $value ) {
167 170
 		$options = get_option( self::$grouped_options[ $group ] );
168 171
 		if ( ! is_array( $options ) ) {
@@ -257,6 +260,9 @@  discard block
 block discarded – undo
257 260
 		return $result;
258 261
 	}
259 262
 
263
+	/**
264
+	 * @param string $name
265
+	 */
260 266
 	private static function get_grouped_option( $group, $name, $default ) {
261 267
 		$options = get_option( self::$grouped_options[ $group ] );
262 268
 		if ( is_array( $options ) && isset( $options[ $name ] ) ) {
Please login to merge, or discard this patch.