Completed
Push — issues/1617 ( faec36 )
by Ravinder
20:40
created
includes/admin/class-give-settings.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 	 *
73 73
 	 * @param $url
74 74
 	 *
75
-	 * @return mixed
75
+	 * @return string
76 76
 	 */
77 77
 	public function give_update_cmb_meta_box_url( $url ) {
78 78
 		// Path to Give's CMB
@@ -834,7 +834,7 @@  discard block
 block discarded – undo
834 834
  * @since 1.0
835 835
  *
836 836
  * @param string          $key   The Key to update
837
- * @param string|bool|int $value The value to set the key to
837
+ * @param integer $value The value to set the key to
838 838
  *
839 839
  * @return boolean True if updated, false if not.
840 840
  */
@@ -937,7 +937,7 @@  discard block
 block discarded – undo
937 937
  * @since      1.3.5
938 938
  *
939 939
  * @param $array
940
- * @param $position |int|string Expects an array key or 'id' of the settings field to appear after
940
+ * @param string $position |int|string Expects an array key or 'id' of the settings field to appear after
941 941
  * @param $insert   |array a valid array of options to insert
942 942
  *
943 943
  * @return array
@@ -976,7 +976,7 @@  discard block
 block discarded – undo
976 976
  * @since 1.0
977 977
  *
978 978
  * @param array $field_arr
979
- * @param array $saved_values
979
+ * @param string|boolean $saved_values
980 980
  *
981 981
  * @return void
982 982
  */
@@ -1011,7 +1011,7 @@  discard block
 block discarded – undo
1011 1011
  * @since  1.0
1012 1012
  *
1013 1013
  * @param  array $field_arr
1014
- * @param  array $saved_value
1014
+ * @param  string|boolean $saved_value
1015 1015
  *
1016 1016
  * @return void
1017 1017
  */
Please login to merge, or discard this patch.
includes/class-give-cache.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 	 * @access public
158 158
 	 * @global wpdb $wpdb
159 159
 	 *
160
-	 * @return bool
160
+	 * @return false|null
161 161
 	 */
162 162
 	public static function delete_all() {
163 163
 		global $wpdb;
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
 	 * @since  1.8.7
200 200
 	 * @access public
201 201
 	 *
202
-	 * @param $cache_key
202
+	 * @param string $cache_key
203 203
 	 *
204 204
 	 * @return bool|int
205 205
 	 */
Please login to merge, or discard this patch.