Completed
Push — master ( c88ec9...3f715e )
by Jamie
03:33
created
classes/helpers/FrmAppHelper.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -746,6 +746,9 @@  discard block
 block discarded – undo
746 746
 		return FrmFieldsHelper::prepare_other_input( $args, $other_opt, $checked );
747 747
     }
748 748
 
749
+	/**
750
+	 * @param string $function
751
+	 */
749 752
 	public static function recursive_function_map( $value, $function ) {
750 753
 		if ( is_array( $value ) ) {
751 754
 			$original_function = $function;
@@ -1173,6 +1176,9 @@  discard block
 block discarded – undo
1173 1176
         return $sub . (($len < $original_len) ? $continue : '');
1174 1177
     }
1175 1178
 
1179
+	/**
1180
+	 * @param string[] $function_names
1181
+	 */
1176 1182
 	public static function mb_function( $function_names, $args ) {
1177 1183
 		$mb_function_name = $function_names[0];
1178 1184
 		$function_name = $function_names[1];
@@ -1206,6 +1212,9 @@  discard block
 block discarded – undo
1206 1212
         return $formatted;
1207 1213
     }
1208 1214
 
1215
+	/**
1216
+	 * @param string $time_format
1217
+	 */
1209 1218
 	private static function add_time_to_date( $time_format, $date ) {
1210 1219
 		if ( empty( $time_format ) ) {
1211 1220
 			$time_format = get_option('time_format');
Please login to merge, or discard this patch.
classes/models/EDD_SL_Plugin_Updater.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      * @uses api_request()
70 70
      *
71 71
      * @param array   $_transient_data Update array build by WordPress.
72
-     * @return array Modified update array with custom plugin data.
72
+     * @return stdClass Modified update array with custom plugin data.
73 73
      */
74 74
     public function check_update( $_transient_data ) {
75 75
 
Please login to merge, or discard this patch.
classes/models/FrmEntryMeta.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -61,6 +61,9 @@  discard block
 block discarded – undo
61 61
         return $wpdb->update( $wpdb->prefix .'frm_item_metas', array( 'meta_value' => $meta_value ), $where_values );
62 62
     }
63 63
 
64
+	/**
65
+	 * @param integer $entry_id
66
+	 */
64 67
 	public static function update_entry_metas( $entry_id, $values ) {
65 68
         global $wpdb;
66 69
 
@@ -286,6 +289,7 @@  discard block
 block discarded – undo
286 289
      * @param string|array $where
287 290
      * @param string $order_by
288 291
      * @param string $limit
292
+     * @param boolean $unique
289 293
      */
290 294
 	private static function get_ids_query( $where, $order_by, $limit, $unique, $args, array &$query ) {
291 295
         global $wpdb;
Please login to merge, or discard this patch.
classes/models/FrmStyle.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 	public $id = 0; // the id of the post
5 5
 
6 6
 	/**
7
-	 * @param int|string $id The id of the stylsheet or 'default'
7
+	 * @param integer $id The id of the stylsheet or 'default'
8 8
 	 */
9 9
 	public function __construct( $id = 0 ) {
10 10
         $this->id = $id;
Please login to merge, or discard this patch.
classes/helpers/FrmFormsHelper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -375,6 +375,9 @@
 block discarded – undo
375 375
         $reset_fields = true;
376 376
     }
377 377
 
378
+    /**
379
+     * @return string
380
+     */
378 381
     public static function replace_shortcodes( $html, $form, $title = false, $description = false, $values = array() ) {
379 382
 		foreach ( array( 'form_name' => $title, 'form_description' => $description, 'entry_key' => true ) as $code => $show ) {
380 383
             if ( $code == 'form_name' ) {
Please login to merge, or discard this patch.
classes/helpers/FrmListHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@
 block discarded – undo
179 179
 	 * @access public
180 180
 	 *
181 181
 	 * @param string $name Property to check if set.
182
-	 * @return bool Whether the property is set.
182
+	 * @return boolean|null Whether the property is set.
183 183
 	 */
184 184
 	public function __isset( $name ) {
185 185
 		if ( in_array( $name, $this->compat_fields ) ) {
Please login to merge, or discard this patch.