Test Failed
Pull Request — master (#3256)
by Devin
07:52 queued 10s
created
includes/forms/functions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
  *
156 156
  * Used to redirect a user back to the donation form if there are errors present.
157 157
  *
158
- * @param array|string $args
158
+ * @param string $args
159 159
  *
160 160
  * @access public
161 161
  * @since  1.0
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
  * @since  1.0
302 302
  * @since  1.8.16 Add security check
303 303
  *
304
- * @return bool
304
+ * @return false|null
305 305
  */
306 306
 function give_listen_for_failed_payments() {
307 307
 
Please login to merge, or discard this patch.
includes/misc-functions.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
  *
229 229
  * @since 1.8.17
230 230
  *
231
- * @return array|string
231
+ * @return boolean
232 232
  */
233 233
 function give_get_history_session() {
234 234
 	return (bool) Give()->session->get( 'history_access' );
@@ -711,7 +711,7 @@  discard block
 block discarded – undo
711 711
  *
712 712
  * @todo  Remove this, when WordPress Core ticket is resolved (https://core.trac.wordpress.org/ticket/16828).
713 713
  *
714
- * @return bool
714
+ * @return false|null
715 715
  */
716 716
 function give_donation_metabox_menu() {
717 717
 
@@ -1006,7 +1006,7 @@  discard block
 block discarded – undo
1006 1006
  *
1007 1007
  * @since 1.8
1008 1008
  *
1009
- * @param $form_id
1009
+ * @param integer $form_id
1010 1010
  *
1011 1011
  * @return bool
1012 1012
  */
@@ -1125,7 +1125,7 @@  discard block
 block discarded – undo
1125 1125
  * @param int    $id
1126 1126
  * @param string $meta_key
1127 1127
  * @param mixed  $meta_value
1128
- * @param mixed  $prev_value
1128
+ * @param string  $prev_value
1129 1129
  *
1130 1130
  * @return mixed
1131 1131
  */
@@ -1386,7 +1386,7 @@  discard block
 block discarded – undo
1386 1386
  * @since 1.8.13
1387 1387
  *
1388 1388
  * @param array      $list      List of objects or arrays
1389
- * @param int|string $field     Field from the object to place instead of the entire object
1389
+ * @param string $field     Field from the object to place instead of the entire object
1390 1390
  * @param int|string $index_key Optional. Field from the object to use as keys for the new array.
1391 1391
  *                              Default null.
1392 1392
  *
@@ -1813,7 +1813,7 @@  discard block
 block discarded – undo
1813 1813
  *
1814 1814
  * @since 2.1.0
1815 1815
  *
1816
- * @param $form_id
1816
+ * @param integer $form_id
1817 1817
  *
1818 1818
  * @return bool
1819 1819
  */
Please login to merge, or discard this patch.
includes/process-donation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
  *
25 25
  * @throws ReflectionException Exception Handling.
26 26
  *
27
- * @return mixed
27
+ * @return false|null
28 28
  */
29 29
 function give_process_donation_form() {
30 30
 
Please login to merge, or discard this patch.