Completed
Push — master ( 252d83...3596f7 )
by Jamie
03:30
created
classes/helpers/FrmXMLHelper.php 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -347,7 +347,6 @@  discard block
 block discarded – undo
347 347
 	 * Update the current in_section value
348 348
 	 *
349 349
 	 * @since 2.0.25
350
-	 * @param object $field
351 350
 	 * @param int $in_section
352 351
 	 */
353 352
 	private static function maybe_update_in_section_variable( &$in_section, &$f ) {
@@ -827,6 +826,7 @@  discard block
 block discarded – undo
827 826
     * Migrate post settings to form action
828 827
     *
829 828
     * @param string $post_type
829
+    * @param boolean $switch
830 830
     */
831 831
     private static function migrate_post_settings_to_action( $form_options, $form_id, $post_type, &$imported, $switch ) {
832 832
         if ( ! isset($form_options['create_post']) || ! $form_options['create_post'] ) {
@@ -888,8 +888,8 @@  discard block
 block discarded – undo
888 888
 	 *
889 889
 	 * @since 2.0
890 890
 	 * @param array $post_content - check for old field IDs
891
-	 * @param array $basic_fields - fields with string or int saved
892
-	 * @param array $array_fields - fields with arrays saved
891
+	 * @param string[] $basic_fields - fields with string or int saved
892
+	 * @param string[] $array_fields - fields with arrays saved
893 893
 	 *
894 894
 	 * @return string $post_content - new field IDs
895 895
 	 */
@@ -923,6 +923,10 @@  discard block
 block discarded – undo
923 923
         return $post_content;
924 924
     }
925 925
 
926
+    /**
927
+     * @param string $post_type
928
+     * @param boolean $switch
929
+     */
926 930
     private static function migrate_email_settings_to_action( $form_options, $form_id, $post_type, &$imported, $switch ) {
927 931
         // No old notifications or autoresponders to carry over
928 932
 		if ( ! isset( $form_options['auto_responder'] ) && ! isset( $form_options['notification'] ) && ! isset( $form_options['email_to'] ) ) {
Please login to merge, or discard this patch.