Completed
Branch 4.0Builder (9ef7e0)
by Stephanie
03:43
created
classes/models/FrmFieldValueSelector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
 	/**
76 76
 	 * FrmFieldValueSelector constructor
77 77
 	 *
78
-	 * @param int|string $field_id
78
+	 * @param integer $field_id
79 79
 	 */
80 80
 	public function __construct( $field_id, $args ) {
81 81
 		$this->set_html_name( $args );
Please login to merge, or discard this patch.
classes/models/FrmEntryFormatter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
363 363
 	 *
364 364
 	 * @since 2.04
365 365
 	 *
366
-	 * @param array $field_values
366
+	 * @param FrmFieldValue[] $field_values
367 367
 	 * @param array $output
368 368
 	 */
369 369
 	protected function push_field_values_to_array( $field_values, &$output ) {
@@ -570,7 +570,7 @@  discard block
 block discarded – undo
570 570
 	 *
571 571
 	 * @param mixed $value
572 572
 	 *
573
-	 * @return mixed|string
573
+	 * @return FrmFieldValue
574 574
 	 */
575 575
 	protected function prepare_display_value_for_array( $value ) {
576 576
 		return $this->strip_html( $value );
@@ -585,7 +585,7 @@  discard block
 block discarded – undo
585 585
 	 * @param mixed $display_value
586 586
 	 * @param string $field_type
587 587
 	 *
588
-	 * @return mixed|string
588
+	 * @return string
589 589
 	 */
590 590
 	protected function prepare_display_value_for_html_table( $display_value, $field_type = '' ) {
591 591
 		$display_value = $this->flatten_array( $display_value );
Please login to merge, or discard this patch.
classes/controllers/FrmFieldsController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -246,6 +246,7 @@
 block discarded – undo
246 246
 
247 247
 	/**
248 248
 	 * @since 3.0
249
+	 * @param stdClass $field_info
249 250
 	 */
250 251
 	private static function get_classes_for_builder_field( $field, $display, $field_info ) {
251 252
 		$li_classes = $field_info->form_builder_classes( $display['type'] );
Please login to merge, or discard this patch.
classes/controllers/FrmStylesController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -149,6 +149,9 @@
 block discarded – undo
149 149
 		return $name;
150 150
 	}
151 151
 
152
+	/**
153
+	 * @param string $version
154
+	 */
152 155
 	private static function get_css_version( $css_key, $version ) {
153 156
 		if ( 'formidable' == $css_key ) {
154 157
 			$this_version = get_option( 'frm_last_style_update' );
Please login to merge, or discard this patch.
classes/factories/FrmFieldFactory.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 	 * @since 3.0
56 56
 	 *
57 57
 	 * @param string $field_type
58
-	 * @param int|array|object $field
58
+	 * @param integer $field
59 59
 	 *
60 60
 	 * @return stdClass
61 61
 	 */
@@ -111,6 +111,7 @@  discard block
 block discarded – undo
111 111
 
112 112
 	/**
113 113
 	 * @since 3.0
114
+	 * @param string $property
114 115
 	 */
115 116
 	public static function field_has_property( $type, $property ) {
116 117
 		$field = self::get_field_type( $type );
Please login to merge, or discard this patch.
classes/models/FrmEntryValidate.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -43,6 +43,9 @@
 block discarded – undo
43 43
 		}
44 44
 	}
45 45
 
46
+	/**
47
+	 * @param boolean $exclude
48
+	 */
46 49
 	private static function get_fields_to_validate( $values, $exclude ) {
47 50
 		$where = apply_filters( 'frm_posted_field_ids', array( 'fi.form_id' => $values['form_id'] ) );
48 51
 
Please login to merge, or discard this patch.
deprecated/FrmDeprecated.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -10,6 +10,8 @@  discard block
 block discarded – undo
10 10
 
11 11
 	/**
12 12
 	 * @deprecated 2.3
13
+	 * @param string $function
14
+	 * @param string $version
13 15
 	 */
14 16
 	public static function deprecated( $function, $version ) {
15 17
 		_deprecated_function( $function, $version );
@@ -68,6 +70,7 @@  discard block
 block discarded – undo
68 70
 
69 71
 	/**
70 72
 	 * @deprecated 3.04.03
73
+	 * @param string $url
71 74
 	 */
72 75
 	private static function send_api_request( $url, $transient = array() ) {
73 76
 		$data = get_transient( $transient['name'] );
@@ -318,6 +321,7 @@  discard block
 block discarded – undo
318 321
 
319 322
 	/**
320 323
 	 * @deprecated 3.0
324
+	 * @param string $field
321 325
 	 */
322 326
 	private static function edit_in_place_value( $field ) {
323 327
 		_deprecated_function( __FUNCTION__, '3.0' );
@@ -714,6 +718,7 @@  discard block
 block discarded – undo
714 718
 
715 719
 	/**
716 720
 	 * @deprecated 3.02.03
721
+	 * @return string
717 722
 	 */
718 723
 	public static function get_form_for_page() {
719 724
 		_deprecated_function( __FUNCTION__, '3.02.03' );
Please login to merge, or discard this patch.
deprecated/FrmEDD_SL_Plugin_Updater.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 	 * @uses api_request()
74 74
 	 *
75 75
 	 * @param array   $_transient_data Update array build by WordPress.
76
-	 * @return array Modified update array with custom plugin data.
76
+	 * @return stdClass Modified update array with custom plugin data.
77 77
 	 */
78 78
 	public function check_update( $_transient_data ) {
79 79
 
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
 	 *
220 220
 	 * @param string  $_action The requested action.
221 221
 	 * @param array   $_data   Parameters for the API action.
222
-	 * @return false|object
222
+	 * @return string
223 223
 	 */
224 224
 	private function api_request( $_action, $_data ) {
225 225
 
Please login to merge, or discard this patch.
deprecated/FrmEntryFormat.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -151,6 +151,7 @@
 block discarded – undo
151 151
 
152 152
 	/**
153 153
 	 * @deprecated 2.04
154
+	 * @param string $val
154 155
 	 */
155 156
 	private static function get_field_value( $atts, &$val ) {
156 157
 		_deprecated_function( __FUNCTION__, '2.04', 'instance of FrmEntryValues or FrmProEntryValues' );
Please login to merge, or discard this patch.