Completed
Push — master ( cf7f66...9ae722 )
by Jamie
04:12
created
classes/helpers/FrmAppHelper.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
 	 * Sanitize the value, and allow some HTML
363 363
 	 * @since 2.0
364 364
 	 * @param string $value
365
-	 * @param array $allowed
365
+	 * @param string[] $allowed
366 366
 	 * @return string
367 367
 	 */
368 368
 	public static function kses( $value, $allowed = array() ) {
@@ -779,6 +779,9 @@  discard block
 block discarded – undo
779 779
 		return FrmFieldsHelper::prepare_other_input( $args, $other_opt, $checked );
780 780
     }
781 781
 
782
+	/**
783
+	 * @param string $function
784
+	 */
782 785
 	public static function recursive_function_map( $value, $function ) {
783 786
 		if ( is_array( $value ) ) {
784 787
 			$original_function = $function;
@@ -1198,6 +1201,9 @@  discard block
 block discarded – undo
1198 1201
         return $sub . (($len < $original_len) ? $continue : '');
1199 1202
     }
1200 1203
 
1204
+	/**
1205
+	 * @param string[] $function_names
1206
+	 */
1201 1207
 	public static function mb_function( $function_names, $args ) {
1202 1208
 		$mb_function_name = $function_names[0];
1203 1209
 		$function_name = $function_names[1];
@@ -1231,6 +1237,9 @@  discard block
 block discarded – undo
1231 1237
         return $formatted;
1232 1238
     }
1233 1239
 
1240
+	/**
1241
+	 * @param string $time_format
1242
+	 */
1234 1243
 	private static function add_time_to_date( $time_format, $date ) {
1235 1244
 		if ( empty( $time_format ) ) {
1236 1245
 			$time_format = get_option('time_format');
Please login to merge, or discard this patch.