Completed
Push — issues/1038 ( f8946f...67d5d4 )
by Ravinder
16:51
created
includes/forms/api/class-give-fields-api.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -779,7 +779,7 @@  discard block
 block discarded – undo
779 779
 	 *
780 780
 	 * @param $field
781 781
 	 *
782
-	 * @return bool
782
+	 * @return string
783 783
 	 */
784 784
 	private function get_field_type( $field ) {
785 785
 		$field_type = 'field';
@@ -806,7 +806,7 @@  discard block
 block discarded – undo
806 806
 	 *
807 807
 	 * @param array $element
808 808
 	 *
809
-	 * @return bool
809
+	 * @return integer
810 810
 	 */
811 811
 	static function is_button( $element ) {
812 812
 		return preg_match( '/^button|submit$/', $element['#type'] );
Please login to merge, or discard this patch.