Completed
Pull Request — master (#1749)
by Devin
06:21
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
@@ -935,7 +935,7 @@  discard block
 block discarded – undo
935 935
  * @since      1.3.5
936 936
  *
937 937
  * @param $array
938
- * @param $position |int|string Expects an array key or 'id' of the settings field to appear after
938
+ * @param string $position |int|string Expects an array key or 'id' of the settings field to appear after
939 939
  * @param $insert   |array a valid array of options to insert
940 940
  *
941 941
  * @return array
@@ -974,7 +974,7 @@  discard block
 block discarded – undo
974 974
  * @since 1.0
975 975
  *
976 976
  * @param array $field_arr
977
- * @param array $saved_values
977
+ * @param string|boolean $saved_values
978 978
  *
979 979
  * @return void
980 980
  */
@@ -1009,7 +1009,7 @@  discard block
 block discarded – undo
1009 1009
  * @since  1.0
1010 1010
  *
1011 1011
  * @param  array $field_arr
1012
- * @param  array $saved_value
1012
+ * @param  string|boolean $saved_value
1013 1013
  *
1014 1014
  * @return void
1015 1015
  */
@@ -1163,7 +1163,7 @@  discard block
 block discarded – undo
1163 1163
  *  @params $string text
1164 1164
  *  @params $filter array
1165 1165
  *
1166
- *  @return text $string
1166
+ *  @return string $string
1167 1167
  */
1168 1168
 function give_slug_to_title( $string, $filters = array() ){
1169 1169
 
Please login to merge, or discard this patch.
includes/forms/template.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  *
22 22
  * @param  array $args An array of form arguments.
23 23
  *
24
- * @return string Donation form.
24
+ * @return false|null Donation form.
25 25
  */
26 26
 function give_get_donation_form( $args = array() ) {
27 27
 
@@ -1470,7 +1470,7 @@  discard block
 block discarded – undo
1470 1470
  *
1471 1471
  * @param  int $form_id The form ID.
1472 1472
  *
1473
- * @return bool
1473
+ * @return false|null
1474 1474
  */
1475 1475
 function give_terms_agreement( $form_id ) {
1476 1476
 	$form_option = give_get_meta( $form_id, '_give_terms_option', true );
@@ -1647,7 +1647,7 @@  discard block
 block discarded – undo
1647 1647
  * @param  int   $form_id The form ID.
1648 1648
  * @param  array $args    An array of form arguments.
1649 1649
  *
1650
- * @return mixed
1650
+ * @return boolean
1651 1651
  */
1652 1652
 function give_show_goal_progress( $form_id, $args ) {
1653 1653
 
@@ -1667,7 +1667,7 @@  discard block
 block discarded – undo
1667 1667
  *
1668 1668
  * @since  1.8
1669 1669
  *
1670
- * @param  $form_id
1670
+ * @param  integer $form_id
1671 1671
  * @param  $args
1672 1672
  *
1673 1673
  * @return mixed|string
@@ -1708,7 +1708,7 @@  discard block
 block discarded – undo
1708 1708
  * @param  int   $form_id The form ID.
1709 1709
  * @param  array $args    An array of form arguments.
1710 1710
  *
1711
- * @return void|bool
1711
+ * @return false|null
1712 1712
  */
1713 1713
 function give_form_content( $form_id, $args ) {
1714 1714
 
Please login to merge, or discard this patch.
includes/api/class-give-api.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
 	 *
216 216
 	 * @access public
217 217
 	 * @since  1.1
218
-	 * @return array
218
+	 * @return string
219 219
 	 */
220 220
 	public function get_versions() {
221 221
 		return $this->versions;
@@ -689,7 +689,7 @@  discard block
 block discarded – undo
689 689
 	 *
690 690
 	 * @param array $args Arguments to override defaults
691 691
 	 *
692
-	 * @return array $dates
692
+	 * @return integer|null $dates
693 693
 	 */
694 694
 	public function get_dates( $args = array() ) {
695 695
 		$dates = array();
Please login to merge, or discard this patch.